RFR: 8285951: Replace Algorithms.eatMemory(...) with WB.fullGC() in vmTestbase_vm_gc_ref tests [v3]

Leonid Mesnik lmesnik at openjdk.java.net
Mon May 9 02:07:38 UTC 2022


On Sat, 30 Apr 2022 10:11:00 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

>> Leonid Mesnik has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   removed incorrect comment
>
> 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.

I removed this comment. We don't test clear().

-------------

PR: https://git.openjdk.java.net/jdk/pull/8474



More information about the hotspot-gc-dev mailing list