hotspot/test/gc/g1/humongousObjects/objectGraphTest/README
changeset 39280 86907793a181
parent 38256 685ac27ed264
child 39618 ced8c3f59678
equal deleted inserted replaced
39278:f3f298ae1023 39280:86907793a181
    29 2. Full GC - weakly referenced non-humongous and humongous objects are collected, softly referenced non-humongous and
    29 2. Full GC - weakly referenced non-humongous and humongous objects are collected, softly referenced non-humongous and
    30              humongous objects are not collected.
    30              humongous objects are not collected.
    31 
    31 
    32 3. Full GC with memory pressure - weakly and softly referenced non-humongous and humongous objects are collected.
    32 3. Full GC with memory pressure - weakly and softly referenced non-humongous and humongous objects are collected.
    33 
    33 
       
    34 4. CMC -  weakly referenced non-humongous objects are collected, other objects are not collected since weak references
       
    35           from Young Gen is handled as strong during CMC.
       
    36 
       
    37 5. CMC_NO_SURV_ROOTS -  weakly referenced non-humongous and humongous objects are collected, softly referenced
       
    38                         non-humongous and humongous objects are not collected since we make 2 Young GC to promote all
       
    39                         weak references to Old Gen.
       
    40 
    34 The test gets gc type as a command line argument.
    41 The test gets gc type as a command line argument.
    35 Then the test allocates object graph in heap (currently testing scenarios are pre-generated and stored in
    42 Then the test allocates object graph in heap (currently testing scenarios are pre-generated and stored in
    36 TestcaseData.getPregeneratedTestcases()) with TestObjectGraphAfterGC::allocateObjectGraph.
    43 TestcaseData.getPregeneratedTestcases()) with TestObjectGraphAfterGC::allocateObjectGraph.
    37 
    44 
    38 Since we are testing humongous objects we need pretty unusual nodes - arrays of Object.
    45 Since we are testing humongous objects we need pretty unusual nodes - arrays of Object.