--- a/src/hotspot/share/classfile/javaClasses.hpp Thu Oct 17 10:35:18 2019 +0200
+++ b/src/hotspot/share/classfile/javaClasses.hpp Mon Oct 14 11:36:17 2019 +0200
@@ -518,7 +518,8 @@
trace_mirrors_offset = 2,
trace_names_offset = 3,
trace_next_offset = 4,
- trace_size = 5,
+ trace_hidden_offset = 5,
+ trace_size = 6,
trace_chunk_size = 32
};
@@ -568,6 +569,8 @@
static void java_printStackTrace(Handle throwable, TRAPS);
// Debugging
friend class JavaClasses;
+ // Gets the method and bci of the top frame (TOS). Returns false if this failed.
+ static bool get_top_method_and_bci(oop throwable, Method** method, int* bci);
};