issues after porting a mac app from Java 6 to 7u9
Rick Hillegas
rick.hillegas at oracle.com
Mon Nov 12 08:22:42 PST 2012
On 11/12/12 7:29 AM, Joshua Smith wrote:
> If this is the problem, we've found that -XX:+UseCompressedOops makes a huge difference in our apps.
>
> On Nov 12, 2012, at 10:08 AM, Phil Race<philip.race at oracle.com> wrote:
>
>> On 11/12/12 6:54 AM, Rick Hillegas wrote:
>>>
>>> 2) The other problem is probably too vague, but here goes: I seem to have memory management issues. After running the app for a while, it starts freezing up and I watch the beachball spin. Eventually the app becomes unusable and I have to re-start it. Is it expected that I will need to give an app more memory in order to run it on Java 7?
>> This could be VM differences. 64 bit vs 32 bit maybe.
>> JDK 7 is 64 bit only. If you are explicitly constraining memory that could well be an issue.
>> If you are using defaults you might want to see which VM you were using with JDK6.
>> If it was 32 bit, toggle it to 64 bit and see if the issues occur there as well.
>>
>> -phil.
>
Thanks for the quick responses, Phil and Joshua. This is the Java 6
version I was using:
java version "1.6.0_27"
Java(TM) SE Runtime Environment (build 1.6.0_27-b07-395-11M3909)
Java HotSpot(TM) 64-Bit Server VM (build 20.2-b06-395, mixed mode)
Thanks,
-Rick
More information about the macosx-port-dev
mailing list