We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d53fc01 + eb61ec4 commit 1fca74fCopy full SHA for 1fca74f
spec/truffle/objspace/define_finalizer_spec.rb
@@ -1,3 +1,5 @@
1
+# truffleruby_primitives: true
2
+#
3
# Copyright (c) 2017, 2019 Oracle and/or its affiliates. All rights reserved. This
4
# code is released under a tri EPL/GPL/LGPL license. You can use it,
5
# redistribute it and/or modify it under the terms of the:
@@ -30,7 +32,7 @@
30
32
ObjectSpace.define_finalizer object, finalizer
31
33
ObjectSpace.reachable_objects_from(object).should include(finalizer)
34
end
- GC.start
35
+ Primitive.gc_force
36
Truffle::Debug.drain_finalization_queue # Not needed for correctness
37
channel.receive_timeout(TIME_TOLERANCE).should == :finalized
38
0 commit comments