You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Rana Dasgupta (JIRA)" <ji...@apache.org> on 2007/11/09 19:36:50 UTC

[jira] Commented: (HARMONY-5045) [drlvm][init] Automatic switch to uncompressed mode for large heap

    [ https://issues.apache.org/jira/browse/HARMONY-5045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541396 ] 

Rana Dasgupta commented on HARMONY-5045:
----------------------------------------

The changes for runtime mod switchable look fine. 

Why is it useful to print an error message and terminate only if the compilation mode is compressed and the heapsize is > XXX?
Even for compilation mode = uncompressed, each OS sets limits on max addressability and so the heapsize has different limits on different OS's.
The max heapsize that works in each mode really depends on OS and java addressability and max memory installed on the machine. This kind of information is better in a tuning guide. It may be OK to let the program crash if the JVM at runtime tries to access more heap than supportable.

Thanks,
Rana


> [drlvm][init] Automatic switch to uncompressed mode for large heap
> ------------------------------------------------------------------
>
>                 Key: HARMONY-5045
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5045
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>         Environment: x86_64 Linux/Windows
>            Reporter: Ilya Berezhniuk
>         Attachments: auto_switch.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.