comparison src/share/vm/ci/ciSymbol.hpp @ 6972:bd7a7ce2e264

6830717: replay of compilations would help with debugging Summary: When java process crashed in compiler thread, repeat the compilation process will help finding root cause. This is done with using SA dump application class data and replay data from core dump, then use debug version of jvm to recompile the problematic java method. Reviewed-by: kvn, twisti, sspitsyn Contributed-by: yumin.qi@oracle.com
author minqi
date Mon, 12 Nov 2012 14:03:53 -0800
parents da91efe96a93
children 2cb439954abf b2e698d2276c
comparison
equal deleted inserted replaced
6965:3be318ecfae5 6972:bd7a7ce2e264
71 71
72 // The text of the symbol as a null-terminated utf8 string. 72 // The text of the symbol as a null-terminated utf8 string.
73 const char* as_utf8(); 73 const char* as_utf8();
74 int utf8_length(); 74 int utf8_length();
75 75
76 // The text of the symbol as ascii with all non-printable characters quoted as \u####
77 const char* as_quoted_ascii();
78
76 // Return the i-th utf8 byte, where i < utf8_length 79 // Return the i-th utf8 byte, where i < utf8_length
77 int byte_at(int i); 80 int byte_at(int i);
78 81
79 // Tests if the symbol starts with the given prefix. 82 // Tests if the symbol starts with the given prefix.
80 bool starts_with(const char* prefix, int len) const; 83 bool starts_with(const char* prefix, int len) const;