RFR: 8283276: java/io/ObjectStreamClass/ObjectStreamClassCaching.java fails with various GCs [v2]

Peter Levart plevart at openjdk.org
Wed Aug 3 22:17:42 UTC 2022


On Wed, 3 Aug 2022 11:12:38 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> Peter Levart has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Add SerialGC variant
>
> test/jdk/java/io/ObjectStreamClass/ObjectStreamClassCaching.java line 2:
> 
>> 1: /*
>> 2:  * Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
> 
> This update is incorrect, should be:
> 
> Suggestion:
> 
>  * Copyright (c) 2021, 2022, Oracle and/or its affiliates. All rights reserved.

Corrected in next commit.

> test/jdk/java/io/ObjectStreamClass/ObjectStreamClassCaching.java line 103:
> 
>> 101:         assertFalse(
>> 102:             ref1.refersTo(null),
>> 103:             "Cache lost entry together with WeakReference being cleared although memory was not under pressure"
> 
> Style:
> 
> Suggestion:
> 
>         assertFalse(ref1.refersTo(null),
>                     "Cache lost entry together with WeakReference being cleared although memory was not under pressure"

Modified in next commit

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

PR: https://git.openjdk.org/jdk/pull/9684


More information about the core-libs-dev mailing list