changeset 9671:3b0fdfa8029c

8141138: Zero fails to build Summary: Adjust to recent JDK-9 changes. Reviewed-by: coleenp
author sgehwolf
date Mon, 02 Nov 2015 16:54:49 +0100
parents 69e84ea906d5
children 2369f1537ee1
files src/cpu/zero/vm/compiledIC_zero.cpp src/cpu/zero/vm/relocInfo_zero.cpp src/share/vm/interpreter/bytecodeInterpreter.cpp
diffstat 3 files changed, 2 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/zero/vm/compiledIC_zero.cpp	Mon Nov 02 14:34:07 2015 +0000
+++ b/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/src/cpu/zero/vm/relocInfo_zero.cpp	Mon Nov 02 14:34:07 2015 +0000
+++ b/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/src/share/vm/interpreter/bytecodeInterpreter.cpp	Mon Nov 02 14:34:07 2015 +0000
+++ b/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();