8077414: PSPromotionLAB _state is unintialized
Initialize _state to zero_size Reviewed-by: brutisso, stefank
This commit is contained in:
parent
5f589f20aa
commit
d0dafa0c28
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -59,7 +59,7 @@ class PSPromotionLAB : public CHeapObj<mtGC> {
|
||||
// The shared initialize code invokes this.
|
||||
debug_only(virtual bool lab_is_valid(MemRegion lab) { return false; });
|
||||
|
||||
PSPromotionLAB() : _top(NULL), _bottom(NULL), _end(NULL) { }
|
||||
PSPromotionLAB() : _top(NULL), _bottom(NULL), _end(NULL), _state(zero_size) { }
|
||||
|
||||
public:
|
||||
// Filling and flushing.
|
||||
|
Loading…
x
Reference in New Issue
Block a user