equal
deleted
inserted
replaced
182 |
182 |
183 #define STATIC_ASSERT(Cond) \ |
183 #define STATIC_ASSERT(Cond) \ |
184 typedef char PASTE_TOKENS(STATIC_ASSERT_DUMMY_TYPE_, __LINE__)[ \ |
184 typedef char PASTE_TOKENS(STATIC_ASSERT_DUMMY_TYPE_, __LINE__)[ \ |
185 STATIC_ASSERT_FAILURE< (Cond) >::value ] |
185 STATIC_ASSERT_FAILURE< (Cond) >::value ] |
186 |
186 |
187 // out of shared space reporting |
|
188 enum SharedSpaceType { |
|
189 SharedReadOnly, |
|
190 SharedReadWrite, |
|
191 SharedMiscData, |
|
192 SharedMiscCode, |
|
193 SharedOptional |
|
194 }; |
|
195 |
|
196 void report_out_of_shared_space(SharedSpaceType space_type); |
|
197 |
|
198 void report_insufficient_metaspace(size_t required_size); |
|
199 |
|
200 // out of memory reporting |
187 // out of memory reporting |
201 void report_java_out_of_memory(const char* message); |
188 void report_java_out_of_memory(const char* message); |
202 |
189 |
203 #endif // SHARE_VM_UTILITIES_DEBUG_HPP |
190 #endif // SHARE_VM_UTILITIES_DEBUG_HPP |