--- old/src/share/vm/memory/threadLocalAllocBuffer.cpp 2014-06-18 08:47:21.094171244 +0200 +++ new/src/share/vm/memory/threadLocalAllocBuffer.cpp 2014-06-18 08:47:20.993172729 +0200 @@ -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();