changeset 6786:4068d04de2d5

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
author sspitsyn
date Tue, 15 Jul 2014 21:28:51 -0700
parents 553f14d70527
children 5838922362ed
files src/cpu/ppc/vm/icache_ppc.cpp src/cpu/ppc/vm/stubGenerator_ppc.cpp
diffstat 2 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/ppc/vm/icache_ppc.cpp	Tue Jul 15 07:33:49 2014 -0700
+++ b/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/src/cpu/ppc/vm/stubGenerator_ppc.cpp	Tue Jul 15 07:33:49 2014 -0700
+++ b/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;