equal
deleted
inserted
replaced
193 macro(java_lang_Class, protection_domain, object_signature, false) \ |
193 macro(java_lang_Class, protection_domain, object_signature, false) \ |
194 macro(java_lang_Class, signers, object_signature, false) |
194 macro(java_lang_Class, signers, object_signature, false) |
195 |
195 |
196 class java_lang_Class : AllStatic { |
196 class java_lang_Class : AllStatic { |
197 friend class VMStructs; |
197 friend class VMStructs; |
|
198 friend class JVMCIVMStructs; |
198 |
199 |
199 private: |
200 private: |
200 // The fake offsets are added by the class loader when java.lang.Class is loaded |
201 // The fake offsets are added by the class loader when java.lang.Class is loaded |
201 |
202 |
202 static int _klass_offset; |
203 static int _klass_offset; |
504 static void fill_in_stack_trace(Handle throwable, const methodHandle& method = methodHandle()); |
505 static void fill_in_stack_trace(Handle throwable, const methodHandle& method = methodHandle()); |
505 // Programmatic access to stack trace |
506 // Programmatic access to stack trace |
506 static oop get_stack_trace_element(oop throwable, int index, TRAPS); |
507 static oop get_stack_trace_element(oop throwable, int index, TRAPS); |
507 static int get_stack_trace_depth(oop throwable, TRAPS); |
508 static int get_stack_trace_depth(oop throwable, TRAPS); |
508 // Printing |
509 // Printing |
509 static void print(oop throwable, outputStream* st); |
|
510 static void print(Handle throwable, outputStream* st); |
510 static void print(Handle throwable, outputStream* st); |
511 static void print_stack_trace(oop throwable, outputStream* st); |
511 static void print_stack_trace(Handle throwable, outputStream* st); |
512 // Debugging |
512 // Debugging |
513 friend class JavaClasses; |
513 friend class JavaClasses; |
514 }; |
514 }; |
515 |
515 |
516 |
516 |