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
|
@ -62,7 +62,9 @@ StubQueue::StubQueue(StubInterface* stub_interface, int buffer_size,
|
|||
Mutex* lock, const char* name) : _mutex(lock) {
|
||||
intptr_t size = round_to(buffer_size, 2*BytesPerWord);
|
||||
BufferBlob* blob = BufferBlob::create(name, size);
|
||||
if( blob == NULL ) vm_exit_out_of_memory1(size, "CodeCache: no room for %s", name);
|
||||
if( blob == NULL) {
|
||||
vm_exit_out_of_memory(size, err_msg("CodeCache: no room for %s", name));
|
||||
}
|
||||
_stub_interface = stub_interface;
|
||||
_buffer_size = blob->instructions_size();
|
||||
_buffer_limit = blob->instructions_size();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue