Mercurial > hg > graal-compiler
comparison src/share/vm/interpreter/interpreterRuntime.cpp @ 10161:746b070f5022
8011661: Insufficient memory message says "malloc" when sometimes it should say "mmap"
Reviewed-by: coleenp, zgu, hseigel
author | ccheung |
---|---|
date | Tue, 30 Apr 2013 11:56:52 -0700 |
parents | 8df6ddda8090 |
children | 836a62f43af9 ca0165daa6ec |
comparison
equal
deleted
inserted
replaced
10160:ed5a590835a4 | 10161:746b070f5022 |
---|---|
1050 void SignatureHandlerLibrary::initialize() { | 1050 void SignatureHandlerLibrary::initialize() { |
1051 if (_fingerprints != NULL) { | 1051 if (_fingerprints != NULL) { |
1052 return; | 1052 return; |
1053 } | 1053 } |
1054 if (set_handler_blob() == NULL) { | 1054 if (set_handler_blob() == NULL) { |
1055 vm_exit_out_of_memory(blob_size, "native signature handlers"); | 1055 vm_exit_out_of_memory(blob_size, OOM_MALLOC_ERROR, "native signature handlers"); |
1056 } | 1056 } |
1057 | 1057 |
1058 BufferBlob* bb = BufferBlob::create("Signature Handler Temp Buffer", | 1058 BufferBlob* bb = BufferBlob::create("Signature Handler Temp Buffer", |
1059 SignatureHandlerLibrary::buffer_size); | 1059 SignatureHandlerLibrary::buffer_size); |
1060 _buffer = bb->code_begin(); | 1060 _buffer = bb->code_begin(); |