harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Kuksenko (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-3745) [drlvm][gc][jit] server.emconf should be unified both for gc_cc and gc_gen
Date Tue, 24 Apr 2007 13:28:37 GMT
[drlvm][gc][jit] server.emconf should be unified both for gc_cc and gc_gen
--------------------------------------------------------------------------

                 Key: HARMONY-3745
                 URL: https://issues.apache.org/jira/browse/HARMONY-3745
             Project: Harmony
          Issue Type: Improvement
          Components: DRLVM
            Reporter: Sergey Kuksenko


Currently, it is impossible to use -Xem:server mode in case of gc_gen turn on.
server.emconf should be modified for gc_gen usage.
Modification is  simple -change all "gc_cc" substrings into "gc_gen". But it is more convinient
to have unified emconf file in both cases.
All gc versions dependences are related  to allocation helpers inline.
1) setup class name where allocation helpers are existed.
-XDjit.SD2_OPT.arg.optimizer.inline_helpers.newObj_className=org/apache/harmony/drlvm/gc_cc/GCHelper
gc_cc's helpers are in "gc_cc"  package and gc_gen's in "gc_gen" respectively.
Usage "gc" package will solve problem here.

2) other two prorties set up which class from which jar-file should be used.
-Dvm.components.gc_cc.startupclass=org.apache.harmony.drlvm.gc_cc.GCHelper
-XDvm.component.classpath.gc_cc=gc_cc.jar

Storing such properties in emconf file is a source of misconfigurations and errors.
Component related properties should be set at moment of library initialization by the library
itself.


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