equal
deleted
inserted
replaced
61 |
61 |
62 // Memory |
62 // Memory |
63 public native long getObjectAddress(Object o); |
63 public native long getObjectAddress(Object o); |
64 public native int getHeapOopSize(); |
64 public native int getHeapOopSize(); |
65 |
65 |
|
66 // Runtime |
|
67 // Make sure class name is in the correct format |
|
68 public boolean isClassAlive(String name) { |
|
69 return isClassAlive0(name.replace('.', '/')); |
|
70 } |
|
71 private native boolean isClassAlive0(String name); |
|
72 |
66 // G1 |
73 // G1 |
67 public native boolean g1InConcurrentMark(); |
74 public native boolean g1InConcurrentMark(); |
68 public native boolean g1IsHumongous(Object o); |
75 public native boolean g1IsHumongous(Object o); |
69 public native long g1NumFreeRegions(); |
76 public native long g1NumFreeRegions(); |
70 public native int g1RegionSize(); |
77 public native int g1RegionSize(); |