mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
6888954: argument formatting for assert() and friends
Reviewed-by: kvn, twisti, apetrusenko, never, dcubed
This commit is contained in:
parent
7e76feaf42
commit
99196ff9ca
37 changed files with 396 additions and 211 deletions
|
@ -118,7 +118,10 @@ void StubRoutines::initialize1() {
|
|||
ResourceMark rm;
|
||||
TraceTime timer("StubRoutines generation 1", TraceStartupTime);
|
||||
_code1 = BufferBlob::create("StubRoutines (1)", code_size1);
|
||||
if( _code1 == NULL) vm_exit_out_of_memory1(code_size1, "CodeCache: no room for %s", "StubRoutines (1)");
|
||||
if (_code1 == NULL) {
|
||||
vm_exit_out_of_memory(code_size1,
|
||||
"CodeCache: no room for StubRoutines (1)");
|
||||
}
|
||||
CodeBuffer buffer(_code1->instructions_begin(), _code1->instructions_size());
|
||||
StubGenerator_generate(&buffer, false);
|
||||
}
|
||||
|
@ -164,7 +167,10 @@ void StubRoutines::initialize2() {
|
|||
ResourceMark rm;
|
||||
TraceTime timer("StubRoutines generation 2", TraceStartupTime);
|
||||
_code2 = BufferBlob::create("StubRoutines (2)", code_size2);
|
||||
if( _code2 == NULL) vm_exit_out_of_memory1(code_size2, "CodeCache: no room for %s", "StubRoutines (2)");
|
||||
if (_code2 == NULL) {
|
||||
vm_exit_out_of_memory(code_size2,
|
||||
"CodeCache: no room for StubRoutines (2)");
|
||||
}
|
||||
CodeBuffer buffer(_code2->instructions_begin(), _code2->instructions_size());
|
||||
StubGenerator_generate(&buffer, true);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue