8223392: Add missing BitMap comments for JDK-8222986
authorstefank
Wed, 29 May 2019 09:25:20 +0200
changeset 55075 044f2ca6ce22
parent 55074 ea1e4a818785
child 55076 785a12e0f89b
8223392: Add missing BitMap comments for JDK-8222986 Reviewed-by: tschatzl, pliden
src/hotspot/share/utilities/bitMap.cpp
src/hotspot/share/utilities/bitMap.hpp
--- a/src/hotspot/share/utilities/bitMap.cpp	Fri May 24 14:32:17 2019 +0200
+++ b/src/hotspot/share/utilities/bitMap.cpp	Wed May 29 09:25:20 2019 +0200
@@ -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
--- a/src/hotspot/share/utilities/bitMap.hpp	Fri May 24 14:32:17 2019 +0200
+++ b/src/hotspot/share/utilities/bitMap.hpp	Wed May 29 09:25:20 2019 +0200
@@ -383,16 +383,16 @@
   // 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);