diff options
author | ccheung <none@none> | 2013-04-30 11:56:52 -0700 |
---|---|---|
committer | ccheung <none@none> | 2013-04-30 11:56:52 -0700 |
commit | 1b79295c6d0b8f5cd38b77e2be5914b0c28921f9 (patch) | |
tree | a666334b914f3edcd33215755151895415590a90 /src/share/vm/code/vtableStubs.cpp | |
parent | 12381673960ef0145d0b66f5c3d0870d572f36f9 (diff) | |
download | jdk8u_hotspot-1b79295c6d0b8f5cd38b77e2be5914b0c28921f9.tar.gz |
8011661: Insufficient memory message says "malloc" when sometimes it should say "mmap"
Reviewed-by: coleenp, zgu, hseigel
Diffstat (limited to 'src/share/vm/code/vtableStubs.cpp')
-rw-r--r-- | src/share/vm/code/vtableStubs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/vm/code/vtableStubs.cpp b/src/share/vm/code/vtableStubs.cpp index df4660163..b08071453 100644 --- a/src/share/vm/code/vtableStubs.cpp +++ b/src/share/vm/code/vtableStubs.cpp @@ -60,7 +60,7 @@ void* VtableStub::operator new(size_t size, int code_size) { const int bytes = chunk_factor * real_size + pd_code_alignment(); BufferBlob* blob = BufferBlob::create("vtable chunks", bytes); if (blob == NULL) { - vm_exit_out_of_memory(bytes, "CodeCache: no room for vtable chunks"); + vm_exit_out_of_memory(bytes, OOM_MALLOC_ERROR, "CodeCache: no room for vtable chunks"); } _chunk = blob->content_begin(); _chunk_end = _chunk + bytes; |