[ruby/mmtk] Bump mmtk-core
Fixes a bug where there is an infinite loop when MMTK_HEAP_MIN is small. https://github.com/ruby/mmtk/commit/12c7ede20b
This commit is contained in:
parent
6d806031ed
commit
be66448311
4
gc/mmtk/Cargo.lock
generated
4
gc/mmtk/Cargo.lock
generated
@ -432,7 +432,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "mmtk"
|
name = "mmtk"
|
||||||
version = "0.30.0"
|
version = "0.30.0"
|
||||||
source = "git+https://github.com/mmtk/mmtk-core.git?rev=c61e6c84f97ddb91e47d76914af2f7e462f1c7f8#c61e6c84f97ddb91e47d76914af2f7e462f1c7f8"
|
source = "git+https://github.com/mmtk/mmtk-core.git?rev=051bc7470feef915c445305301e6113f86d3957b#051bc7470feef915c445305301e6113f86d3957b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"atomic",
|
"atomic",
|
||||||
"atomic-traits",
|
"atomic-traits",
|
||||||
@ -468,7 +468,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "mmtk-macros"
|
name = "mmtk-macros"
|
||||||
version = "0.30.0"
|
version = "0.30.0"
|
||||||
source = "git+https://github.com/mmtk/mmtk-core.git?rev=c61e6c84f97ddb91e47d76914af2f7e462f1c7f8#c61e6c84f97ddb91e47d76914af2f7e462f1c7f8"
|
source = "git+https://github.com/mmtk/mmtk-core.git?rev=051bc7470feef915c445305301e6113f86d3957b#051bc7470feef915c445305301e6113f86d3957b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"proc-macro-error",
|
"proc-macro-error",
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
|
@ -26,7 +26,7 @@ features = ["is_mmtk_object", "object_pinning", "sticky_immix_non_moving_nursery
|
|||||||
|
|
||||||
# Uncomment the following lines to use mmtk-core from the official repository.
|
# Uncomment the following lines to use mmtk-core from the official repository.
|
||||||
git = "https://github.com/mmtk/mmtk-core.git"
|
git = "https://github.com/mmtk/mmtk-core.git"
|
||||||
rev = "c61e6c84f97ddb91e47d76914af2f7e462f1c7f8"
|
rev = "051bc7470feef915c445305301e6113f86d3957b"
|
||||||
|
|
||||||
# Uncomment the following line to use mmtk-core from a local repository.
|
# Uncomment the following line to use mmtk-core from a local repository.
|
||||||
# path = "../../../mmtk-core"
|
# path = "../../../mmtk-core"
|
||||||
|
@ -34,10 +34,9 @@ module MMTk
|
|||||||
assert_equal(1 * 1024 * 1024, GC.config[:mmtk_heap_min])
|
assert_equal(1 * 1024 * 1024, GC.config[:mmtk_heap_min])
|
||||||
RUBY
|
RUBY
|
||||||
|
|
||||||
# TODO: uncomment this test when the infinite loop is fixed
|
assert_separately([{ "MMTK_HEAP_MODE" => "dynamic", "MMTK_HEAP_MIN" => "1" }], <<~RUBY)
|
||||||
# assert_separately([{ "MMTK_HEAP_MODE" => "dynamic", "MMTK_HEAP_MIN" => "1" }], <<~RUBY)
|
assert_equal(1, GC.config[:mmtk_heap_min])
|
||||||
# assert_equal(1, GC.config[:mmtk_heap_min])
|
RUBY
|
||||||
# RUBY
|
|
||||||
|
|
||||||
assert_separately([{ "MMTK_HEAP_MODE" => "dynamic", "MMTK_HEAP_MIN" => "10MiB", "MMTK_HEAP_MAX" => "1GiB" }], <<~RUBY)
|
assert_separately([{ "MMTK_HEAP_MODE" => "dynamic", "MMTK_HEAP_MIN" => "10MiB", "MMTK_HEAP_MAX" => "1GiB" }], <<~RUBY)
|
||||||
assert_equal(10 * 1024 * 1024, GC.config[:mmtk_heap_min])
|
assert_equal(10 * 1024 * 1024, GC.config[:mmtk_heap_min])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user