harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao-Feng Li (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HARMONY-3557) [gc_gen] there is error in large_page paremeter parsing in common/gc_common.cpp
Date Wed, 04 Apr 2007 04:27:32 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-3557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xiao-Feng Li reassigned HARMONY-3557:
-------------------------------------

    Assignee: Xiao-Feng Li

> [gc_gen] there is error in large_page paremeter parsing in common/gc_common.cpp
> -------------------------------------------------------------------------------
>
>                 Key: HARMONY-3557
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3557
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: linux and windows 
>            Reporter: Rustem Rafikov
>         Assigned To: Xiao-Feng Li
>
> There is an error in command line parsing connected with large pages. It checkes if gc.use_large_page
is set but later try to get "gc.large_page." It passes silently on windows but crashes in
strdup on linux. 
> if (is_property_set("gc.use_large_page", VM_PROPERTIES) == 1){
>     char* value = get_property("gc.large_page", VM_PROPERTIES);
>     large_page_hint = strdup(value);
>     destroy_property_value(value);
>  }
> The fix is trivial.

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


Mime
View raw message