diff src/cpu/sparc/vm/jvmciCodeInstaller_sparc.cpp @ 22590:3f6488b29c1a

Remove rawValue from HotSpotMetaspaceConstantImpl, patch raw pointer at code installation time.
author Roland Schatz <roland.schatz@oracle.com>
date Mon, 21 Sep 2015 15:01:13 +0200
parents 02fc27dc1da7
children 5ba5ff0fda9e
line wrap: on
line diff
--- a/src/cpu/sparc/vm/jvmciCodeInstaller_sparc.cpp	Mon Sep 21 11:48:40 2015 +0200
+++ b/src/cpu/sparc/vm/jvmciCodeInstaller_sparc.cpp	Mon Sep 21 15:01:13 2015 +0200
@@ -64,6 +64,11 @@
   }
 }
 
+void CodeInstaller::pd_patch_MetaspaceConstant(int pc_offset, Handle& constant) {
+  address pc = _instructions->start() + pc_offset;
+  fatal(err_msg("unexpected inline metaspace constant at %p (+%d)", pc, pc_offset));
+}
+
 void CodeInstaller::pd_patch_DataSectionReference(int pc_offset, int data_offset) {
   address pc = _instructions->start() + pc_offset;
   NativeInstruction* inst = nativeInstruction_at(pc);