comparison src/share/vm/utilities/debug.cpp @ 20804:7848fc12602b

Merge with jdk8u40-b25
author Gilles Duboscq <gilles.m.duboscq@oracle.com>
date Tue, 07 Apr 2015 14:58:49 +0200
parents 52b4284cb496 03e6d34be1f5
children dd9cc155639c
comparison
equal deleted inserted replaced
20184:84105dcdb05b 20804:7848fc12602b
264 void report_out_of_shared_space(SharedSpaceType shared_space) { 264 void report_out_of_shared_space(SharedSpaceType shared_space) {
265 static const char* name[] = { 265 static const char* name[] = {
266 "native memory for metadata", 266 "native memory for metadata",
267 "shared read only space", 267 "shared read only space",
268 "shared read write space", 268 "shared read write space",
269 "shared miscellaneous data space" 269 "shared miscellaneous data space",
270 "shared miscellaneous code space"
270 }; 271 };
271 static const char* flag[] = { 272 static const char* flag[] = {
272 "Metaspace", 273 "Metaspace",
273 "SharedReadOnlySize", 274 "SharedReadOnlySize",
274 "SharedReadWriteSize", 275 "SharedReadWriteSize",
275 "SharedMiscDataSize" 276 "SharedMiscDataSize",
277 "SharedMiscCodeSize"
276 }; 278 };
277 279
278 warning("\nThe %s is not large enough\n" 280 warning("\nThe %s is not large enough\n"
279 "to preload requested classes. Use -XX:%s=\n" 281 "to preload requested classes. Use -XX:%s=<size>\n"
280 "to increase the initial size of %s.\n", 282 "to increase the initial size of %s.\n",
281 name[shared_space], flag[shared_space], name[shared_space]); 283 name[shared_space], flag[shared_space], name[shared_space]);
282 exit(2); 284 exit(2);
283 } 285 }
284 286