Mercurial > hg > graal-compiler
comparison src/share/vm/code/stubs.cpp @ 10408:836a62f43af9
Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 19 Jun 2013 10:45:56 +0200 |
parents | b9a918201d47 746b070f5022 |
children | d8041d695d19 |
comparison
equal
deleted
inserted
replaced
10086:e0fb8a213650 | 10408:836a62f43af9 |
---|---|
65 StubQueue::StubQueue(StubInterface* stub_interface, int buffer_size, | 65 StubQueue::StubQueue(StubInterface* stub_interface, int buffer_size, |
66 Mutex* lock, const char* name) : _mutex(lock) { | 66 Mutex* lock, const char* name) : _mutex(lock) { |
67 intptr_t size = round_to(buffer_size, 2*BytesPerWord); | 67 intptr_t size = round_to(buffer_size, 2*BytesPerWord); |
68 BufferBlob* blob = BufferBlob::create(name, size); | 68 BufferBlob* blob = BufferBlob::create(name, size); |
69 if( blob == NULL) { | 69 if( blob == NULL) { |
70 vm_exit_out_of_memory(size, err_msg("CodeCache: no room for %s", name)); | 70 vm_exit_out_of_memory(size, OOM_MALLOC_ERROR, err_msg("CodeCache: no room for %s", name)); |
71 } | 71 } |
72 _stub_interface = stub_interface; | 72 _stub_interface = stub_interface; |
73 _buffer_size = blob->content_size(); | 73 _buffer_size = blob->content_size(); |
74 _buffer_limit = blob->content_size(); | 74 _buffer_limit = blob->content_size(); |
75 _stub_buffer = blob->content_begin(); | 75 _stub_buffer = blob->content_begin(); |