--- a/src/hotspot/share/gc/shared/parallelCleaning.cpp Mon Aug 27 12:45:31 2018 -0700
+++ b/src/hotspot/share/gc/shared/parallelCleaning.cpp Mon Aug 27 17:20:29 2018 -0400
@@ -54,8 +54,8 @@
}
void StringCleaningTask::work(uint worker_id) {
- int strings_processed = 0;
- int strings_removed = 0;
+ size_t strings_processed = 0;
+ size_t strings_removed = 0;
if (_process_strings) {
StringTable::possibly_parallel_unlink(&_par_state_string, _is_alive, &strings_processed, &strings_removed);
Atomic::add(strings_processed, &_strings_processed);