(5.10)$ hg diff agent/src/share/classes/sun/jvm/hotspot/code/CodeBlob.java
...
@@ -190,7 +190,6 @@ public class CodeBlob extends VMObject {
public int getLinkOffset() {
if (Assert.ASSERTS_ENABLED) {
Assert.that(VM.getVM().isServerCompiler(), "Only used on C2 x86");
- Assert.that(VM.getVM().getCPU().equals("x86"), "Only used on C2 x86");
}
Kevin Walls
added a comment - BT2:EVALUATION
I've been running with just removing the assert:
(5.10)$ hg diff agent/src/share/classes/sun/jvm/hotspot/code/CodeBlob.java
...
@@ -190,7 +190,6 @@ public class CodeBlob extends VMObject {
public int getLinkOffset() {
if (Assert.ASSERTS_ENABLED) {
Assert.that(VM.getVM().isServerCompiler(), "Only used on C2 x86");
- Assert.that(VM.getVM().getCPU().equals("x86"), "Only used on C2 x86");
}
I've been running with just removing the assert:
(5.10)$ hg diff agent/src/share/classes/sun/jvm/hotspot/code/CodeBlob.java
...
@@ -190,7 +190,6 @@ public class CodeBlob extends VMObject {
public int getLinkOffset() {
if (Assert.ASSERTS_ENABLED) {
Assert.that(VM.getVM().isServerCompiler(), "Only used on C2 x86");
- Assert.that(VM.getVM().getCPU().equals("x86"), "Only used on C2 x86");
}