mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
6679708: No_Safepoint_Verifier and BacktraceBuilder have uninitialized fields
Fix or remove uninitialized fields Reviewed-by: kvn, rasbold
This commit is contained in:
parent
446895de2d
commit
50bc5573a8
2 changed files with 4 additions and 5 deletions
|
@ -1015,7 +1015,6 @@ class BacktraceBuilder: public StackObj {
|
|||
typeArrayOop _bcis;
|
||||
int _index;
|
||||
bool _dirty;
|
||||
bool _done;
|
||||
No_Safepoint_Verifier _nsv;
|
||||
|
||||
public:
|
||||
|
@ -1029,12 +1028,10 @@ class BacktraceBuilder: public StackObj {
|
|||
};
|
||||
|
||||
// constructor for new backtrace
|
||||
BacktraceBuilder(TRAPS): _methods(NULL), _bcis(NULL), _head(NULL) {
|
||||
BacktraceBuilder(TRAPS): _methods(NULL), _bcis(NULL), _head(NULL), _dirty(false) {
|
||||
expand(CHECK);
|
||||
_backtrace = _head;
|
||||
_index = 0;
|
||||
_dirty = false;
|
||||
_done = false;
|
||||
}
|
||||
|
||||
void flush() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue