mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
6830717: replay of compilations would help with debugging
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
This commit is contained in:
parent
8735609a8c
commit
f712e12f98
54 changed files with 2160 additions and 78 deletions
|
@ -353,9 +353,9 @@ protected:
|
|||
// sort the array.
|
||||
bool contains(const T& x) const { return index_of(x) >= 0; }
|
||||
|
||||
T at(int i) const { return _data[i]; }
|
||||
void at_put(const int i, const T& x) { _data[i] = x; }
|
||||
T* adr_at(const int i) { return &_data[i]; }
|
||||
T at(int i) const { assert(i >= 0 && i< _length, err_msg_res("oob: 0 <= %d < %d", i, _length)); return _data[i]; }
|
||||
void at_put(const int i, const T& x) { assert(i >= 0 && i< _length, err_msg_res("oob: 0 <= %d < %d", i, _length)); _data[i] = x; }
|
||||
T* adr_at(const int i) { assert(i >= 0 && i< _length, err_msg_res("oob: 0 <= %d < %d", i, _length)); return &_data[i]; }
|
||||
int find(const T& x) { return index_of(x); }
|
||||
|
||||
T at_acquire(const int which) { return OrderAccess::load_acquire(adr_at(which)); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue