< prev index next >

src/jdk.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotCodeCacheProvider.java

Print this page
rev 12637 : 8174957: [JVMCI] jaotc is broken in Xcomp mode

*** 74,84 **** if (call.target instanceof HotSpotForeignCallTarget) { long address = ((HotSpotForeignCallTarget) call.target).address; HotSpotVMConfigStore store = runtime.getConfigStore(); for (Map.Entry<String, VMField> e : store.getFields().entrySet()) { VMField field = e.getValue(); ! if (field.isStatic() && field.value != null && field.value == address) { return e.getValue() + ":0x" + Long.toHexString(address); } } } return CodeCacheProvider.super.getTargetName(call); --- 74,84 ---- if (call.target instanceof HotSpotForeignCallTarget) { long address = ((HotSpotForeignCallTarget) call.target).address; HotSpotVMConfigStore store = runtime.getConfigStore(); for (Map.Entry<String, VMField> e : store.getFields().entrySet()) { VMField field = e.getValue(); ! if (field.isStatic() && field.value != null && field.value instanceof Long && ((Long) field.value) == address) { return e.getValue() + ":0x" + Long.toHexString(address); } } } return CodeCacheProvider.super.getTargetName(call);
< prev index next >