--- a/langtools/src/share/classes/com/sun/tools/sjavac/CompileJavaPackages.java Thu Jun 27 00:37:13 2013 -0400
+++ b/langtools/src/share/classes/com/sun/tools/sjavac/CompileJavaPackages.java Thu Jun 27 10:35:36 2013 +0200
@@ -136,7 +136,8 @@
// for each compile.....
int kbPerFile = 175;
String osarch = System.getProperty("os.arch");
- if (osarch.equals("i386")) {
+ String dataModel = System.getProperty("sun.arch.data.model");
+ if ("32".equals(dataModel)) {
// For 32 bit platforms, assume it is slightly smaller
// because of smaller object headers and pointers.
kbPerFile = 119;