--- a/hotspot/src/cpu/sparc/vm/templateTable_sparc.cpp Wed Aug 30 19:18:22 2017 -0400
+++ b/hotspot/src/cpu/sparc/vm/templateTable_sparc.cpp Mon Aug 28 15:34:04 2017 -0700
@@ -2928,7 +2928,7 @@
__ br(Assembler::zero, false, Assembler::pt, notFinal);
__ delayed()->and3(Rret, 0xFF, G4_scratch); // gets number of parameters
- if (RewriteBytecodes && !UseSharedSpaces) {
+ if (RewriteBytecodes && !UseSharedSpaces && !DumpSharedSpaces) {
patch_bytecode(Bytecodes::_fast_invokevfinal, Rscratch, Rtemp);
}