RFR: 8014513: Sjavac doesn't detect 32-bit jvm properly

Erik Joelsson erik.joelsson at oracle.com
Wed Jun 5 07:24:43 PDT 2013


Here is a small patch fixing a problem with sjavac. Sjavac tries to be 
smart about sizing itself to no run out of memory. The logic for 
figuring out if it's running on a 32 or 64bit jvm is rather crude and 
misses on several platforms. This patch makes the code more robust.

Fixing this issue is a requirement to get sjavac to work well on all 
platforms in jprt.

Bug: http://bugs.sun.com/view_bug.do?bug_id=8014513

Webrev: http://cr.openjdk.java.net/~erikj/8014513/webrev.langtools.01/


More information about the compiler-dev mailing list