6679708: No_Safepoint_Verifier and BacktraceBuilder have uninitialized fields

Fix or remove uninitialized fields

Reviewed-by: kvn, rasbold
This commit is contained in:
Tom Rodriguez 2008-03-26 12:25:06 -07:00
parent 446895de2d
commit 50bc5573a8
2 changed files with 4 additions and 5 deletions

View file

@ -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() {