Handle HSDB printout for Epsilon epsilon-gc-branch
authorshade
Tue, 05 Jun 2018 17:22:42 +0200
branchepsilon-gc-branch
changeset 56670 f26c4a196a15
parent 56669 b20a56352d78
child 56671 c559de946c7d
Handle HSDB printout for Epsilon
src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/HSDB.java
--- a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/HSDB.java	Tue Jun 05 17:19:33 2018 +0200
+++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/HSDB.java	Tue Jun 05 17:22:42 2018 +0200
@@ -33,6 +33,7 @@
 import sun.jvm.hotspot.code.*;
 import sun.jvm.hotspot.compiler.*;
 import sun.jvm.hotspot.debugger.*;
+import sun.jvm.hotspot.gc.epsilon.*;
 import sun.jvm.hotspot.gc.parallel.*;
 import sun.jvm.hotspot.gc.shared.*;
 import sun.jvm.hotspot.gc.g1.*;
@@ -1108,6 +1109,9 @@
                             anno = "PSOldGen ";
                             bad = false;
                           }
+                        } else if (collHeap instanceof EpsilonHeap) {
+                          anno = "Epsilon ";
+                          bad = false;
                         } else {
                           // Optimistically assume the oop isn't bad
                           anno = "[Unknown generation] ";