Mercurial > hg > truffle
comparison src/share/vm/ci/ciMethodData.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 | c775af091fe9 |
comparison
equal
deleted
inserted
replaced
6965:3be318ecfae5 | 6972:bd7a7ce2e264 |
---|---|
142 // This class represents a MethodData* in the HotSpot virtual | 142 // This class represents a MethodData* in the HotSpot virtual |
143 // machine. | 143 // machine. |
144 | 144 |
145 class ciMethodData : public ciMetadata { | 145 class ciMethodData : public ciMetadata { |
146 CI_PACKAGE_ACCESS | 146 CI_PACKAGE_ACCESS |
147 friend class ciReplay; | |
147 | 148 |
148 private: | 149 private: |
149 // Size in bytes | 150 // Size in bytes |
150 int _data_size; | 151 int _data_size; |
151 int _extra_data_size; | 152 int _extra_data_size; |
318 #ifndef PRODUCT | 319 #ifndef PRODUCT |
319 // printing support for method data | 320 // printing support for method data |
320 void print(); | 321 void print(); |
321 void print_data_on(outputStream* st); | 322 void print_data_on(outputStream* st); |
322 #endif | 323 #endif |
324 void dump_replay_data(outputStream* out); | |
323 }; | 325 }; |
324 | 326 |
325 #endif // SHARE_VM_CI_CIMETHODDATA_HPP | 327 #endif // SHARE_VM_CI_CIMETHODDATA_HPP |