8049441: PPC64: Don't use StubCodeMarks for zero-length stubs
authorsspitsyn
Tue, 15 Jul 2014 21:28:51 -0700
changeset 25712 1f37709c1c95
parent 25633 4cd9c4622c8c
child 25713 e2ed3bec8c2c
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
hotspot/src/cpu/ppc/vm/icache_ppc.cpp
hotspot/src/cpu/ppc/vm/stubGenerator_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;
 
--- 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;