8223392: Add missing BitMap comments for JDK-8222986

Reviewed-by: tschatzl, pliden
This commit is contained in:
Stefan Karlsson 2019-05-29 09:25:20 +02:00
parent c8d5c2961e
commit 114ba5a57c
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2019, 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

View File

@ -383,16 +383,16 @@ class CHeapBitMap : public BitMap {
// Resize the backing bitmap memory.
//
// Old bits are transfered to the new memory
// and the extended memory is cleared.
// and the extended memory is (optionally) cleared.
void resize(idx_t new_size_in_bits, bool clear = true);
// Set up and clear the bitmap memory.
// Set up and (optionally) clear the bitmap memory.
//
// Precondition: The bitmap was default constructed and has
// not yet had memory allocated via resize or initialize.
void initialize(idx_t size_in_bits, bool clear = true);
// Set up and clear the bitmap memory.
// Set up and (optionally) clear the bitmap memory.
//
// Can be called on previously initialized bitmaps.
void reinitialize(idx_t size_in_bits, bool clear = true);