Mercurial > hg > truffle
comparison src/share/vm/gc_interface/gcCause.cpp @ 20357:4bfc44ba0d19
8055098: WB API should be extended to provide information about size and age of object.
Summary: Extend the WhiteBox API to provide information about the size and age of objects. Further add a mechanism to trigger a young GC.
Reviewed-by: tschatzl, sjohanss
Contributed-by: Leonid Mesnik <leonid.mesnik@oracle.com>
author | tschatzl |
---|---|
date | Thu, 21 Aug 2014 16:44:41 +0200 |
parents | 55fb97c4c58d |
children | dce3f772de9f |
comparison
equal
deleted
inserted
replaced
20355:47e8e40b94d3 | 20357:4bfc44ba0d19 |
---|---|
49 return "Heap Inspection Initiated GC"; | 49 return "Heap Inspection Initiated GC"; |
50 | 50 |
51 case _heap_dump: | 51 case _heap_dump: |
52 return "Heap Dump Initiated GC"; | 52 return "Heap Dump Initiated GC"; |
53 | 53 |
54 case _wb_young_gc: | |
55 return "WhiteBox Initiated Young GC"; | |
56 | |
54 case _no_gc: | 57 case _no_gc: |
55 return "No GC"; | 58 return "No GC"; |
56 | 59 |
57 case _allocation_failure: | 60 case _allocation_failure: |
58 return "Allocation Failure"; | 61 return "Allocation Failure"; |