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
--- 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;
--- 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;