1.1 --- a/src/share/vm/utilities/debug.hpp Thu Jan 27 13:42:28 2011 -0800 1.2 +++ b/src/share/vm/utilities/debug.hpp Thu Jan 27 16:11:27 2011 -0800 1.3 @@ -176,6 +176,16 @@ 1.4 1.5 void warning(const char* format, ...); 1.6 1.7 +// out of shared space reporting 1.8 +enum SharedSpaceType { 1.9 + SharedPermGen, 1.10 + SharedReadOnly, 1.11 + SharedReadWrite, 1.12 + SharedMiscData 1.13 +}; 1.14 + 1.15 +void report_out_of_shared_space(SharedSpaceType space_type); 1.16 + 1.17 // out of memory reporting 1.18 void report_java_out_of_memory(const char* message); 1.19