changeset 3833:8ddb16e17aa5

Cast should use same type as GCDrainStackTargetSize (uintx).
author andrew
date Wed, 18 Sep 2013 21:34:50 +0100
parents 654ac2276f33
children 92cff4cc37d7
files src/share/vm/gc_implementation/g1/concurrentMark.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/concurrentMark.cpp	Fri Oct 04 16:32:45 2013 +0100
+++ b/src/share/vm/gc_implementation/g1/concurrentMark.cpp	Wed Sep 18 21:34:50 2013 +0100
@@ -4515,7 +4515,7 @@
   // of things to do) or totally (at the very end).
   size_t target_size;
   if (partially) {
-    target_size = MIN2((size_t)_task_queue->max_elems()/3, GCDrainStackTargetSize);
+    target_size = MIN2((uintx)_task_queue->max_elems()/3, GCDrainStackTargetSize);
   } else {
     target_size = 0;
   }