--- a/hotspot/src/share/vm/gc/g1/g1RegionToSpaceMapper.cpp Wed Aug 02 15:59:33 2017 +0000
+++ b/hotspot/src/share/vm/gc/g1/g1RegionToSpaceMapper.cpp Sat Jul 22 15:54:27 2017 -0400
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2017, 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
@@ -40,7 +40,7 @@
_storage(rs, used_size, page_size),
_region_granularity(region_granularity),
_listener(NULL),
- _commit_map(rs.size() * commit_factor / region_granularity) {
+ _commit_map(rs.size() * commit_factor / region_granularity, mtGC) {
guarantee(is_power_of_2(page_size), "must be");
guarantee(is_power_of_2(region_granularity), "must be");