8274435: EXCEPTION_ACCESS_VIOLATION in BFSClosure::closure_impl

Reviewed-by: stefank
This commit is contained in:
Ekaterina Vergizova 2021-10-01 12:53:08 +00:00 committed by Yuri Nesterenko
parent cc14c6f076
commit c05dc268ac

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2021, 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
@ -33,7 +33,7 @@ BitSet::BitSet() :
_bitmap_fragments(32),
_fragment_list(NULL),
_last_fragment_bits(NULL),
_last_fragment_granule(0) {
_last_fragment_granule(UINTPTR_MAX) {
}
BitSet::~BitSet() {