8169389: Use a bitmap to control StackTraceElement::toString format and save footprint

Reviewed-by: dfuchs, mchung
This commit is contained in:
Brent Christian 2016-12-13 12:36:13 -08:00
parent 0870c6c734
commit 95b2647798
2 changed files with 6 additions and 6 deletions

View file

@ -1293,7 +1293,7 @@ class java_lang_System : AllStatic {
class java_lang_StackTraceElement: AllStatic {
private:
enum {
hc_classOrLoaderModuleClassName_offset = 0,
hc_declaringClassObject_offset = 0,
hc_classLoaderName_offset = 1,
hc_moduleName_offset = 2,
hc_moduleVersion_offset = 3,
@ -1303,7 +1303,7 @@ class java_lang_StackTraceElement: AllStatic {
hc_lineNumber_offset = 7
};
static int classOrLoaderModuleClassName_offset;
static int declaringClassObject_offset;
static int classLoaderName_offset;
static int moduleName_offset;
static int moduleVersion_offset;