RFR(S): 8132711: Add tests which check that Humongous objects behave as expected after Mixed GC

Kirill Zhaldybin kirill.zhaldybin at oracle.com
Fri Jun 10 12:42:18 UTC 2016


Thomas,

Thank you for review!

Regards, Kirill

On 10.06.2016 13:05, Thomas Schatzl wrote:
> Hi,
>
> On Wed, 2016-05-11 at 14:22 +0300, Kirill Zhaldbybin wrote:
>> Dear all,
>>
>> Could you please review this fix for 8132711?
>>
>> This fix adds Mixed GC scenario to
>> gc/g1/humongousObjects/objectGraphTest/TestObjectGraphAfterGC.java
>> which
>> creates different types of object graphs with Object arrays as nodes
>> (to
>> make them humongous) and checks that after different types GCs
>> objects'
>> graphs were handled correctly.
>>
>> During Mixed GC scenario the test expects that all weakly reachable
>> nodes should be collected since non-humongous nodes were previously
>> promoted to old gen and several gc options were specified to
>> guarantee
>> that mixed gc collects all weakly unreachable objects in old gen.
>> Softly reachable nodes should not be collected.
>>
>> WebRev: http://cr.openjdk.java.net/~kzhaldyb/webrevs/JDK-8132711/webr
>> ev.00/
>> CR: https://bugs.openjdk.java.net/browse/JDK-8132711
>>
>
>    looks okay.
>
> Thomas
>




More information about the hotspot-gc-dev mailing list