# HG changeset patch # User sspitsyn # Date 1405484931 25200 # Node ID 1f37709c1c95d7e8a16469064b4fa6ea6494e80d # Parent 4cd9c4622c8c4c749007d99b3a0153dffa3c6b45 8049441: PPC64: Don't use StubCodeMarks for zero-length stubs Summary: Remove StubCodeMark in generate_icache_flush, generate_verify_oop, generate_throw_exception Reviewed-by: dcubed, sspitsyn Contributed-by: volker.simonis@gmail.com diff -r 4cd9c4622c8c -r 1f37709c1c95 hotspot/src/cpu/ppc/vm/icache_ppc.cpp --- a/hotspot/src/cpu/ppc/vm/icache_ppc.cpp Tue Jul 15 07:33:49 2014 -0700 +++ b/hotspot/src/cpu/ppc/vm/icache_ppc.cpp Tue Jul 15 21:28:51 2014 -0700 @@ -68,7 +68,6 @@ } void ICacheStubGenerator::generate_icache_flush(ICache::flush_icache_stub_t* flush_icache_stub) { - StubCodeMark mark(this, "ICache", "flush_icache_stub"); *flush_icache_stub = (ICache::flush_icache_stub_t)ICache::ppc64_flush_icache; diff -r 4cd9c4622c8c -r 1f37709c1c95 hotspot/src/cpu/ppc/vm/stubGenerator_ppc.cpp --- a/hotspot/src/cpu/ppc/vm/stubGenerator_ppc.cpp Tue Jul 15 07:33:49 2014 -0700 +++ b/hotspot/src/cpu/ppc/vm/stubGenerator_ppc.cpp Tue Jul 15 21:28:51 2014 -0700 @@ -524,8 +524,6 @@ int frame_size_in_bytes = frame::abi_reg_args_size; OopMap* map = new OopMap(frame_size_in_bytes / sizeof(jint), 0); - StubCodeMark mark(this, "StubRoutines", "throw_exception"); - address start = __ pc(); __ save_LR_CR(R11_scratch1); @@ -846,8 +844,6 @@ // // Don't generate, rather use C++ code. address generate_verify_oop() { - StubCodeMark mark(this, "StubRoutines", "verify_oop"); - // this is actually a `FunctionDescriptor*'. address start = 0;