Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1364
  • Last Modified:

what are the sun jdk gc options

what gc policy runs for websphere application server 6.0 and 6.1 by default, if i want to change the default GC policy, what are the other GC policies available for IBM websphere  JVM running on solaris 10 sparc hardware 440
0
wasman
Asked:
wasman
  • 2
  • 2
1 Solution
 
wasmanAuthor Commented:
my question is
1. if i don't set any GC policy, what is default GC policy ibm jvm runs on solaris 10 OS, if i want to change the default gcpolicy what are the gc policies available, detailed description  of  the those available policies and what are generic jvm args for  each policy

2. can i use two gc policies for one jvm ?

3. In my company we use -XX:+UseConcMarkSweepGC -XX:-ParNewGC as generic jvm args, so useconmarksweep is gc policy ?

4. i thought the only available gc policies are optthruput, optavgpause, gencon, subpool ? where is the conmarksweep ?

5. what is ParNewGC? is it another GC policy

Iam just confused with these values, just want clear out

Thanks in advance for helping me
0
 
wasadmin11Commented:
The policies in IBM JVM are  optthruput, optavgpause, gencon, subpool

Choose one of the policies (optthruput, optavgpause, gencon, subpool ) then choose additional arguements if needed. There are quite a few of them

-XX:+UseConcMarkSweepGC -XX:-ParNewGC  are additonal arguements which you can give.

ParNewGC is another switch(arguement).

Each arguement is explained in the link i sent.

Depending on the number of CPUs , Memory size, etc you can give different arguements.


If througput is ur goal choose optthruput.
if ur application has to pause for minimum time during GC choose optavgpause.

Gencon is generational concurrent



0
 
wasmanAuthor Commented:
I need full details of each  GC option available.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now