8043896: Error reporting for insufficient shared region size is incorrect
In SharedSpaceType, we have three enum types which are used in report_out_of_shared_space(SharedSpaceType type). In fact we supplied more than three messages and flags. This leads the warning always gives wrong message with the first not used. Reviewed-by: iklam, coleenp
This commit is contained in:
parent
49c3c35a14
commit
1a3734cdfa
@ -263,13 +263,11 @@ void report_untested(const char* file, int line, const char* message) {
|
||||
|
||||
void report_out_of_shared_space(SharedSpaceType shared_space) {
|
||||
static const char* name[] = {
|
||||
"native memory for metadata",
|
||||
"shared read only space",
|
||||
"shared read write space",
|
||||
"shared miscellaneous data space"
|
||||
};
|
||||
static const char* flag[] = {
|
||||
"Metaspace",
|
||||
"SharedReadOnlySize",
|
||||
"SharedReadWriteSize",
|
||||
"SharedMiscDataSize"
|
||||
|
Loading…
x
Reference in New Issue
Block a user