comparison src/share/vm/utilities/debug.hpp @ 6725:da91efe96a93

6964458: Reimplement class meta-data storage to use native memory Summary: Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland Contributed-by: jmasa <jon.masamitsu@oracle.com>, stefank <stefan.karlsson@oracle.com>, mgerdin <mikael.gerdin@oracle.com>, never <tom.rodriguez@oracle.com>
author coleenp
date Sat, 01 Sep 2012 13:25:18 -0400
parents 6c5b7a6becc8
children 679e6584c177 be4d5c6c1f79
comparison
equal deleted inserted replaced
6724:36d1d483d5d6 6725:da91efe96a93
190 do { \ 190 do { \
191 report_should_not_reach_here(__FILE__, __LINE__); \ 191 report_should_not_reach_here(__FILE__, __LINE__); \
192 BREAKPOINT; \ 192 BREAKPOINT; \
193 } while (0) 193 } while (0)
194 194
195 #define ShouldNotReachHere2(message) \
196 do { \
197 report_should_not_reach_here2(__FILE__, __LINE__, message); \
198 BREAKPOINT; \
199 } while (0)
200
195 #define Unimplemented() \ 201 #define Unimplemented() \
196 do { \ 202 do { \
197 report_unimplemented(__FILE__, __LINE__); \ 203 report_unimplemented(__FILE__, __LINE__); \
198 BREAKPOINT; \ 204 BREAKPOINT; \
199 } while (0) 205 } while (0)
210 void report_fatal(const char* file, int line, const char* message); 216 void report_fatal(const char* file, int line, const char* message);
211 void report_vm_out_of_memory(const char* file, int line, size_t size, 217 void report_vm_out_of_memory(const char* file, int line, size_t size,
212 const char* message); 218 const char* message);
213 void report_should_not_call(const char* file, int line); 219 void report_should_not_call(const char* file, int line);
214 void report_should_not_reach_here(const char* file, int line); 220 void report_should_not_reach_here(const char* file, int line);
221 void report_should_not_reach_here2(const char* file, int line, const char* message);
215 void report_unimplemented(const char* file, int line); 222 void report_unimplemented(const char* file, int line);
216 void report_untested(const char* file, int line, const char* message); 223 void report_untested(const char* file, int line, const char* message);
217 224
218 void warning(const char* format, ...); 225 void warning(const char* format, ...);
219 226