diff 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
line wrap: on
line diff
--- a/src/share/vm/gc_interface/gcCause.cpp	Mon Aug 25 17:05:18 2014 -0400
+++ b/src/share/vm/gc_interface/gcCause.cpp	Thu Aug 21 16:44:41 2014 +0200
@@ -51,6 +51,9 @@
     case _heap_dump:
       return "Heap Dump Initiated GC";
 
+    case _wb_young_gc:
+      return "WhiteBox Initiated Young GC";
+
     case _no_gc:
       return "No GC";