equal
deleted
inserted
replaced
50 #include "runtime/javaCalls.hpp" |
50 #include "runtime/javaCalls.hpp" |
51 #include "runtime/safepoint.hpp" |
51 #include "runtime/safepoint.hpp" |
52 #include "runtime/thread.inline.hpp" |
52 #include "runtime/thread.inline.hpp" |
53 #include "runtime/vframe.hpp" |
53 #include "runtime/vframe.hpp" |
54 #include "utilities/preserveException.hpp" |
54 #include "utilities/preserveException.hpp" |
|
55 |
|
56 #if INCLUDE_JVMCI |
|
57 #include "jvmci/jvmciJavaClasses.hpp" |
|
58 #endif |
55 |
59 |
56 #define INJECTED_FIELD_COMPUTE_OFFSET(klass, name, signature, may_be_java) \ |
60 #define INJECTED_FIELD_COMPUTE_OFFSET(klass, name, signature, may_be_java) \ |
57 klass::_##name##_offset = JavaClasses::compute_injected_offset(JavaClasses::klass##_##name##_enum); |
61 klass::_##name##_offset = JavaClasses::compute_injected_offset(JavaClasses::klass##_##name##_enum); |
58 |
62 |
59 #define DECLARE_INJECTED_FIELD(klass, name, signature, may_be_java) \ |
63 #define DECLARE_INJECTED_FIELD(klass, name, signature, may_be_java) \ |
1575 Thread *THREAD = Thread::current(); |
1579 Thread *THREAD = Thread::current(); |
1576 Handle h_throwable(THREAD, throwable); |
1580 Handle h_throwable(THREAD, throwable); |
1577 while (h_throwable.not_null()) { |
1581 while (h_throwable.not_null()) { |
1578 objArrayHandle result (THREAD, objArrayOop(backtrace(h_throwable()))); |
1582 objArrayHandle result (THREAD, objArrayOop(backtrace(h_throwable()))); |
1579 if (result.is_null()) { |
1583 if (result.is_null()) { |
1580 st->print_cr("%s", no_stack_trace_message()); |
1584 st->print_raw_cr(no_stack_trace_message()); |
1581 return; |
1585 return; |
1582 } |
1586 } |
1583 |
1587 |
1584 while (result.not_null()) { |
1588 while (result.not_null()) { |
1585 |
1589 |