--- a/hotspot/src/share/vm/gc/g1/g1CollectionSet.cpp Mon Aug 07 18:50:14 2017 -0400
+++ b/hotspot/src/share/vm/gc/g1/g1CollectionSet.cpp Mon Aug 07 20:58:49 2017 -0400
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 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
@@ -505,7 +505,7 @@
double non_young_end_time_sec = os::elapsedTime();
phase_times()->record_non_young_cset_choice_time_ms((non_young_end_time_sec - non_young_start_time_sec) * 1000.0);
- QuickSort::sort<uint>(_collection_set_regions, (int)_collection_set_cur_length, compare_region_idx, true);
+ QuickSort::sort(_collection_set_regions, _collection_set_cur_length, compare_region_idx, true);
}
#ifdef ASSERT