RFR: 8364434: Inconsistent BufferedContext state after GC [v4]

Laurent Bourgès lbourges at openjdk.org
Tue Aug 12 11:52:13 UTC 2025


On Tue, 12 Aug 2025 11:22:22 GMT, Jayathirth D V <jdv at openjdk.org> wrote:

>> Nikita Gubarkov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8364434: Inconsistent BufferedContext state after GC
>>   
>>   Restrict test to macOS
>
> test/jdk/java/awt/ColorClass/WeakColorTest.java line 24:
> 
>> 22:  */
>> 23: 
>> 24: import java.awt.*;
> 
> Better to expand wild card imports.

If test depends on gc collector + special mode, then set explicitely the needed gc (G1 ?) with small heap + needed tuning to ensure consistent behaviour accross platform if possible and not rely on platform's default behaviour...

My 2 cents.
Laurent

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26576#discussion_r2269590418


More information about the client-libs-dev mailing list