mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 12:04:39 +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
|
@ -184,7 +184,9 @@ class No_Safepoint_Verifier : public No_GC_Verifier {
|
|||
Thread *_thread;
|
||||
public:
|
||||
#ifdef ASSERT
|
||||
No_Safepoint_Verifier(bool activated = true, bool verifygc = true ) : No_GC_Verifier(verifygc) {
|
||||
No_Safepoint_Verifier(bool activated = true, bool verifygc = true ) :
|
||||
No_GC_Verifier(verifygc),
|
||||
_activated(activated) {
|
||||
_thread = Thread::current();
|
||||
if (_activated) {
|
||||
_thread->_allow_allocation_count++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue