src/hotspot/cpu/ppc/templateTable_ppc_64.cpp
changeset 48142 b7fc502cb8aa
parent 47580 96392e113a0a
child 48332 651a95f30dfb
child 55974 06122633fead
--- a/src/hotspot/cpu/ppc/templateTable_ppc_64.cpp	Tue Nov 28 15:42:15 2017 +0300
+++ b/src/hotspot/cpu/ppc/templateTable_ppc_64.cpp	Tue Nov 28 14:11:43 2017 +0100
@@ -3371,7 +3371,7 @@
   __ testbitdi(CCR0, R0, Rflags, ConstantPoolCacheEntry::is_vfinal_shift);
   __ bfalse(CCR0, LnotFinal);
 
-  if (RewriteBytecodes && !UseSharedSpaces) {
+  if (RewriteBytecodes && !UseSharedSpaces && !DumpSharedSpaces) {
     patch_bytecode(Bytecodes::_fast_invokevfinal, Rnew_bc, R12_scratch2);
   }
   invokevfinal_helper(Rvtableindex_or_method, Rflags, R11_scratch1, R12_scratch2);