RFR: 8305186: Reference.waitForReferenceProcessing should be more accessible to tests [v2]

Brent Christian bchristi at openjdk.org
Wed Apr 9 19:54:55 UTC 2025


On Tue, 8 Apr 2025 22:44:57 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

>> Brent Christian has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   only add wFRP to WhiteBox for now
>
> test/lib/jdk/test/lib/util/ForceGC.java line 117:
> 
>> 115:      * jtreg tag.
>> 116:      *
>> 117:      * This method should usually be called after a call to WhiteBox.fullGC().
> 
> I suggest waiting until we have a use-case for WFRP _without_ `WB.fullGC` before adding this.
> That's because I'm doubtful that such a use-case exists.

OK - can add it just to `WhiteBox` for now.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24527#discussion_r2036048204


More information about the core-libs-dev mailing list