mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-17 17:07:53 +00:00
8049441: PPC64: Don't use StubCodeMarks for zero-length stubs
Remove StubCodeMark in generate_icache_flush, generate_verify_oop, generate_throw_exception Reviewed-by: dcubed, sspitsyn
This commit is contained in:
parent
a06d36cada
commit
f5ff5bab8e
@ -68,7 +68,6 @@ int ICache::ppc64_flush_icache(address start, int lines, int magic) {
|
||||
}
|
||||
|
||||
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;
|
||||
|
||||
|
||||
@ -524,8 +524,6 @@ class StubGenerator: public StubCodeGenerator {
|
||||
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 @@ class StubGenerator: public StubCodeGenerator {
|
||||
//
|
||||
// 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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user