comparison src/share/vm/code/vtableStubs.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 746b070f5022
children 9758d9f36299
comparison
equal deleted inserted replaced
10086:e0fb8a213650 10408:836a62f43af9
58 const int chunk_factor = 32; 58 const int chunk_factor = 32;
59 if (_chunk == NULL || _chunk + real_size > _chunk_end) { 59 if (_chunk == NULL || _chunk + real_size > _chunk_end) {
60 const int bytes = chunk_factor * real_size + pd_code_alignment(); 60 const int bytes = chunk_factor * real_size + pd_code_alignment();
61 BufferBlob* blob = BufferBlob::create("vtable chunks", bytes); 61 BufferBlob* blob = BufferBlob::create("vtable chunks", bytes);
62 if (blob == NULL) { 62 if (blob == NULL) {
63 vm_exit_out_of_memory(bytes, "CodeCache: no room for vtable chunks"); 63 vm_exit_out_of_memory(bytes, OOM_MALLOC_ERROR, "CodeCache: no room for vtable chunks");
64 } 64 }
65 _chunk = blob->content_begin(); 65 _chunk = blob->content_begin();
66 _chunk_end = _chunk + bytes; 66 _chunk_end = _chunk + bytes;
67 Forte::register_stub("vtable stub", _chunk, _chunk_end); 67 Forte::register_stub("vtable stub", _chunk, _chunk_end);
68 // Notify JVMTI about this stub. The event will be recorded by the enclosing 68 // Notify JVMTI about this stub. The event will be recorded by the enclosing