Topic
4 replies Latest Post - ‏2011-12-19T11:36:59Z by ChrisBailey
PetrH
PetrH
2 Posts
ACCEPTED ANSWER

Pinned topic Garbage-First Garbage Collector?

‏2010-12-03T12:34:52Z |
Hello,
do You consider implementing Garbage-First Garbage Collector http://www.oracle.com/technetwork/java/javase/tech/g1-intro-jsp-135488.html (adjusted to your JVM memory management specifics) into Your JDK7?
Updated on 2011-12-19T11:36:59Z at 2011-12-19T11:36:59Z by ChrisBailey
  • TrentGray-Donald
    TrentGray-Donald
    2 Posts
    ACCEPTED ANSWER

    Re: Garbage-First Garbage Collector?

    ‏2010-12-09T16:49:23Z  in response to PetrH
    Thanks for the question.

    IBM is investing heavily in improving the memory management / GC capabilities in our JVM and while we will not be providing G1, we are continuing to improve the IBM J9 garbage collection technology in substantial ways. We look forward to showing some of those results in future beta releases.
    • PetrH
      PetrH
      2 Posts
      ACCEPTED ANSWER

      Re: Garbage-First Garbage Collector?

      ‏2011-09-21T23:01:55Z  in response to TrentGray-Donald
      Congratulations for the release in first place.

      I noticed that there's a new balanced GC policy available that (at least on the first look) comes pretty close to the G1GC. So going to check this one out a bit soon ...

      Also, I noticed ( http://www.ibm.com/developerworks/websphere/techjournal/1108_sciampacone/1108_sciampacone.html ) that it's even available in WAS 8.0 which is Java 6.0 based. However when I looked into the 6.0 diagnostics guide I couldn't find anything related.
      Is it WAS 8.0 thing only and thus not going to be available in Your "generic" Java 6.0 releases, or is there any chance to see it there as well?
  • indean
    indean
    1 Post
    ACCEPTED ANSWER

    Re: Garbage-First Garbage Collector?

    ‏2011-12-12T10:21:15Z  in response to PetrH
    Hi all,

    I am also interested if one can use balanced GC with WAS7 and latest 1.6 Java level?

    Thanks!
    • ChrisBailey
      ChrisBailey
      1 Post
      ACCEPTED ANSWER

      Re: Garbage-First Garbage Collector?

      ‏2011-12-19T11:36:59Z  in response to indean
      Hi:

      Unfortunately not, the -Xgcpolicy:balanced option is only available in WebSphere Application Server v8 and Java 7.

      Dependent on what your application is, we've seen (very) good results in Java 6/WAS v7 running -Xgcpolicy:gencon for large Java heaps.

      Chris