8141138: Zero fails to build
authorsgehwolf
Mon, 02 Nov 2015 16:54:49 +0100
changeset 33749 6b67a05d2fcc
parent 33746 7a675f4587fd
child 33750 6f5873dfa67f
8141138: Zero fails to build Summary: Adjust to recent JDK-9 changes. Reviewed-by: coleenp
hotspot/src/cpu/zero/vm/compiledIC_zero.cpp
hotspot/src/cpu/zero/vm/relocInfo_zero.cpp
hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp
--- a/hotspot/src/cpu/zero/vm/compiledIC_zero.cpp	Mon Nov 02 14:34:07 2015 +0000
+++ b/hotspot/src/cpu/zero/vm/compiledIC_zero.cpp	Mon Nov 02 16:54:49 2015 +0100
@@ -60,7 +60,7 @@
 
 // ----------------------------------------------------------------------------
 
-address CompiledStaticCall::emit_to_interp_stub(CodeBuffer &cbuf) {
+address CompiledStaticCall::emit_to_interp_stub(CodeBuffer &cbuf, address mark) {
   ShouldNotReachHere(); // Only needed for COMPILER2.
   return NULL;
 }
--- a/hotspot/src/cpu/zero/vm/relocInfo_zero.cpp	Mon Nov 02 14:34:07 2015 +0000
+++ b/hotspot/src/cpu/zero/vm/relocInfo_zero.cpp	Mon Nov 02 16:54:49 2015 +0100
@@ -59,11 +59,6 @@
   ShouldNotCallThis();
 }
 
-void poll_return_Relocation::fix_relocation_after_move(const CodeBuffer* src,
-                                                       CodeBuffer*       dst) {
-  ShouldNotCallThis();
-}
-
 void metadata_Relocation::pd_fix_value(address x) {
   ShouldNotCallThis();
 }
--- a/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp	Mon Nov 02 14:34:07 2015 +0000
+++ b/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp	Mon Nov 02 16:54:49 2015 +0100
@@ -2190,7 +2190,7 @@
                 result->set_mark(markOopDesc::prototype());
               }
               result->set_klass_gap(0);
-              result->set_klass(k_entry);
+              result->set_klass(ik);
               // Must prevent reordering of stores for object initialization
               // with stores that publish the new object.
               OrderAccess::storestore();