< prev index next >

src/hotspot/share/gc/g1/g1FromCardCache.cpp

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2001, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2018, 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
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.

@@ -44,12 +44,10 @@
   _max_workers = num_par_rem_sets;
 #endif
   _cache = Padded2DArray<uintptr_t, mtGC>::create_unfreeable(_max_regions,
                                                              num_par_rem_sets,
                                                              &_static_mem_size);
-
-  invalidate(0, _max_regions);
 }
 
 void G1FromCardCache::invalidate(uint start_idx, size_t new_num_regions) {
   guarantee((size_t)start_idx + new_num_regions <= max_uintx,
             "Trying to invalidate beyond maximum region, from %u size " SIZE_FORMAT,
< prev index next >