--- old/src/share/vm/memory/threadLocalAllocBuffer.cpp 2014-06-13 03:58:12.000000000 -0400 +++ new/src/share/vm/memory/threadLocalAllocBuffer.cpp 2014-06-13 03:58:12.000000000 -0400 @@ -238,7 +238,7 @@ size_t init_sz; if (TLABSize > 0) { - init_sz = MIN2(TLABSize / HeapWordSize, max_size()); + init_sz = MIN2((size_t)(TLABSize / HeapWordSize), max_size()); } else if (global_stats() == NULL) { // Startup issue - main thread initialized before heap initialized. init_sz = min_size();