< prev index next >
agent/src/share/classes/sun/jvm/hotspot/memory/Universe.java
Print this page
rev 8065 : 8076534: CollectedHeapName in SA agent incorrect
Reviewed-by:
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -110,15 +110,11 @@
return "Compressed Oops with base";
}
return "";
}
public CollectedHeap heap() {
- try {
return (CollectedHeap) heapConstructor.instantiateWrapperFor(collectedHeapField.getValue());
- } catch (WrongTypeException e) {
- return new CollectedHeap(collectedHeapField.getValue());
- }
}
public static long getNarrowOopBase() {
if (narrowOopBaseField.getValue() == null) {
return 0;
< prev index next >