You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Rustem Rafikov (JIRA)" <ji...@apache.org> on 2007/04/03 13:04:32 UTC

[jira] Created: (HARMONY-3557) [gc_gen] there is error in large_page paremeter parsing in common/gc_common.cpp

[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


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.


[jira] Assigned: (HARMONY-3557) [gc_gen] there is error in large_page paremeter parsing in common/gc_common.cpp

Posted by "Xiao-Feng Li (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Closed: (HARMONY-3557) [gc_gen] there is error in large_page paremeter parsing in common/gc_common.cpp

Posted by "Xiao-Feng Li (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiao-Feng Li closed HARMONY-3557.
---------------------------------

    Resolution: Fixed

fixed by H-3567

> [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.