changeset 8569:acaa2f3db91b

Fix thinko when backporting 8131645. Table ends up being allocated twice.
author enevill
date Wed, 28 Oct 2015 17:47:45 +0000
parents 3ccdd3482827
children e903061ac7ca
files src/share/vm/gc_implementation/g1/g1CodeCacheRemSet.cpp
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/g1CodeCacheRemSet.cpp	Thu Oct 08 11:06:07 2015 -0400
+++ b/src/share/vm/gc_implementation/g1/g1CodeCacheRemSet.cpp	Wed Oct 28 17:47:45 2015 +0000
@@ -199,7 +199,6 @@
 }
 
 void G1CodeRootSet::allocate_small_table() {
-  _table = new CodeRootSetTable(SmallSize);
   CodeRootSetTable* temp = new CodeRootSetTable(SmallSize);
 
   OrderAccess::release_store_ptr(&_table, temp);