This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: big project ported


>>>>> "Jeff" == Jeff Sturm <jsturm@sigma6.com> writes:

Jeff> I hacked in a call to GC_expand_hp() in libjava/boehm.cc
Jeff> (_Jv_InitGC).  I used a environment variable to set the initial
Jeff> size, but a Java property would probably be more appropriate,
Jeff> especially now that we have compiler support for properties.

I've added -ms and -mx options to gij.  These set the initial and
maximum heap size.  We can extend this to compiled code using
properties if we can decide on a nice name for the properties.  Any
suggestions?

Jeff> Some GC profiling code would also be a great addition, to
Jeff> measure the frequency and duration of GC, among other
Jeff> things... I don't know if such a thing exists for the boehm
Jeff> collector.

Offhand I don't know if the collector has this info.  Newer versions
might have more, though.  (Upgrading is on my to-do list, still.)
Specific suggestions for what to have would be good; we could make PRs
for them so they wouldn't get lost.

Tom

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]