RFR: 8285951: Replace Algorithms.eatMemory(...) with WB.fullGC() in vmTestbase_vm_gc_ref tests
Kim Barrett
kbarrett at openjdk.java.net
Sat Apr 30 10:20:37 UTC 2022
On Fri, 29 Apr 2022 21:23:33 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
> remainging weak/soft/phantom reference tests are updated to use WB.fullGC()
>
> The TEST.properties are removed for single-threaded tests.
Looks good.
test/hotspot/jtreg/vmTestbase/gc/gctests/PhantomReference/phantom001/phantom001.java line 53:
> 51: * MemoryStrategyAware interfaces. The corresponding javadoc documentation
> 52: * for additional test configuration.
> 53: *
Pre-existing: There doesn't seem to be any code for check (6) - reference.clear() doesn't throw. You fixed this in some of the tests, but not this one.
-------------
Marked as reviewed by kbarrett (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/8474
More information about the hotspot-gc-dev
mailing list