comparison src/share/vm/runtime/arguments.cpp @ 513:2328d1d3f8cf

6781583: Hotspot build fails on linux 64 bit platform with gcc 4.3.2 Summary: Fixed the wrong cast between types since more restrictions are imposed by gcc 4.3.2 Reviewed-by: jcoomes, acorn, phh, never
author xlu
date Wed, 24 Dec 2008 19:13:53 -0800
parents 2494ab195856
children 40ee984935b9
comparison
equal deleted inserted replaced
512:db4caa99ef11 513:2328d1d3f8cf
1359 FLAG_SET_DEFAULT(AutoBoxCacheMax, 20000); 1359 FLAG_SET_DEFAULT(AutoBoxCacheMax, 20000);
1360 } 1360 }
1361 1361
1362 // Feed the cache size setting into the JDK 1362 // Feed the cache size setting into the JDK
1363 char buffer[1024]; 1363 char buffer[1024];
1364 sprintf(buffer, "java.lang.Integer.IntegerCache.high=%d", AutoBoxCacheMax); 1364 sprintf(buffer, "java.lang.Integer.IntegerCache.high=" INTX_FORMAT, AutoBoxCacheMax);
1365 add_property(buffer); 1365 add_property(buffer);
1366 } 1366 }
1367 if (AggressiveOpts && FLAG_IS_DEFAULT(DoEscapeAnalysis)) { 1367 if (AggressiveOpts && FLAG_IS_DEFAULT(DoEscapeAnalysis)) {
1368 FLAG_SET_DEFAULT(DoEscapeAnalysis, true); 1368 FLAG_SET_DEFAULT(DoEscapeAnalysis, true);
1369 } 1369 }