harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rustem Rafikov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-3557) [gc_gen] there is error in large_page paremeter parsing in common/gc_common.cpp
Date Tue, 03 Apr 2007 11:04:32 GMT
[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.


Mime
View raw message