Unloading class sun.reflect.GeneratedConstructorAccessor

Hello All,
I have thousands of lines in my log combined with "concurrent mode failure"
[Unloading class sun.reflect.GeneratedConstructorAccessor1941]
[Unloading class sun.reflect.GeneratedConstructorAccessor2003]
[Unloading class sun.reflect.GeneratedMethodAccessor1184]
[Unloading class sun.reflect.GeneratedConstructorAccessor1994]
[Unloading class sun.reflect.GeneratedConstructorAccessor1977]
[Unloading class sun.reflect.GeneratedConstructorAccessor1999]
[Unloading class sun.reflect.GeneratedConstructorAccessor1976]
[Unloading class sun.reflect.GeneratedConstructorAccessor1981]
[Unloading class sun.reflect.GeneratedConstructorAccessor1921]
[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor1758]
[Unloading class sun.reflect.GeneratedConstructorAccessor1993]
[Unloading class sun.reflect.GeneratedMethodAccessor1177]
Does it mean that permanent generation have a small size and the class is constantly unloaded?
Thanks

Don't do this.
http://java.sun.com/products/jdk/faq/faq-sun-packages.html

Similar Messages

  • Full GC unloads sun.reflect Full GC takes long

    I have an app that runs fine for several minutes and between two GC cycles, the young generation heap cannot be cleaned. When this happens a Full GC is invoked causing the JVM to unload sun.reflect classes that appear to be obfuscated and only used once. I am thinking the sun reflect classes are filling the Tenured heap causing this to happen. The hardware is in a secure zone so I am looking for a way to determine what is filling up the heap. Is there a way to determine how many times these reflect classes are used and how to de-reference and unload them without causing the long pause? How can I obtain dump of the heap? Concurrent GC and Parallel GC seems to consume more CPU than the app can afford. The service time for the servlet is in the 150 milli-seconds and seems to generate a fair, but reasonable, amount of garbage per request.
    3861.135: [GC 3861.136: [DefNew
    Desired survivor size 5505024 bytes, new threshold 16 (max 31)
    - age   1:    3675192 bytes,    3675192 total
    - age   2:     489392 bytes,    4164584 total
    - age   3:     219352 bytes,    4383936 total
    - age   4:      72736 bytes,    4456672 total
    - age   5:      24264 bytes,    4480936 total
    - age   6:       7512 bytes,    4488448 total
    - age   7:     102768 bytes,    4591216 total
    - age   8:     131752 bytes,    4722968 total
    - age   9:      33544 bytes,    4756512 total
    - age  10:      68504 bytes,    4825016 total
    - age  11:     124048 bytes,    4949064 total
    - age  12:     209808 bytes,    5158872 total
    - age  13:      31840 bytes,    5190712 total
    - age  14:     177448 bytes,    5368160 total
    - age  15:      24360 bytes,    5392520 total
    - age  16:     226672 bytes,    5619192 total
    - age  17:      41592 bytes,    5660784 total
    : [b]178356K->5528K(183808K), 0.1725869 secs] 427582K->254754K(436992K), 0.1728928 secs]
    3864.924: [GC 3864.924: [DefNew
    Desired survivor size 5505024 bytes, new threshold 31 (max 31)
    - age   1:    3396600 bytes,    3396600 total
    - age   2:     266688 bytes,    3663288 total
    - age   3:     451608 bytes,    4114896 total
    - age   4:     106472 bytes,    4221368 total
    - age   5:      72736 bytes,    4294104 total
    - age   6:      24264 bytes,    4318368 total
    - age   7:       7512 bytes,    4325880 total
    - age   8:     102256 bytes,    4428136 total
    - age   9:     131752 bytes,    4559888 total
    - age  10:      33544 bytes,    4593432 total
    - age  11:      68504 bytes,    4661936 total
    - age  12:     124048 bytes,    4785984 total
    - age  13:     209808 bytes,    4995792 total
    - age  14:      31840 bytes,    5027632 total
    - age  15:     177448 bytes,    5205080 total
    - age  16:      24360 bytes,    5229440 total
    : [b]178584K->5106K(183808K), 0.1391098 secs] 427810K->254594K(436992K), 0.1393726 secs]
    3868.648: [GC 3868.648: [DefNew
    Desired survivor size 5505024 bytes, new threshold 31 (max 31)
    - age   1:    3508552 bytes,    3508552 total
    - age   2:     174296 bytes,    3682848 total
    - age   3:     146728 bytes,    3829576 total
    - age   4:     407376 bytes,    4236952 total
    - age   5:     106472 bytes,    4343424 total
    - age   6:      72736 bytes,    4416160 total
    - age   7:      24264 bytes,    4440424 total
    - age   8:       7512 bytes,    4447936 total
    - age   9:     102184 bytes,    4550120 total
    - age  10:     131752 bytes,    4681872 total
    - age  11:      33544 bytes,    4715416 total
    - age  12:      68504 bytes,    4783920 total
    - age  13:     124048 bytes,    4907968 total
    - age  14:     209808 bytes,    5117776 total
    - age  15:      31840 bytes,    5149616 total
    - age  16:     177448 bytes,    5327064 total
    - age  17:      24176 bytes,    5351240 total
    : [b]178162K->5225K(183808K), 0.1415803 secs] 427650K->254713K(436992K), 0.1418723 secs]
    3872.574: [GC 3872.575: [DefNew
    Desired survivor size 5505024 bytes, new threshold 14 (max 31)
    - age   1:    4211472 bytes,    4211472 total
    - age   2:     167704 bytes,    4379176 total
    - age   3:      59912 bytes,    4439088 total
    - age   4:      99920 bytes,    4539008 total
    - age   5:     407376 bytes,    4946384 total
    - age   6:     106472 bytes,    5052856 total
    - age   7:      72736 bytes,    5125592 total
    - age   8:      24264 bytes,    5149856 total
    - age   9:       7512 bytes,    5157368 total
    - age  10:     102184 bytes,    5259552 total
    - age  11:     131752 bytes,    5391304 total
    - age  12:      33544 bytes,    5424848 total
    - age  13:      68504 bytes,    5493352 total
    - age  14:     124048 bytes,    5617400 total
    - age  15:     209808 bytes,    5827208 total
    - age  16:      31840 bytes,    5859048 total
    - age  17:     119096 bytes,    5978144 total
    - age  18:      23808 bytes,    6001952 total
    : [b]178281K->5861K(183808K), 0.1315884 secs] 427769K->255348K(436992K), 0.1319066 secs]
    3877.527: [GC 3877.528: [DefNew: [b]178917K->178917K(183808K), 0.0000662 secs]3877.528: [Tenured[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor125]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor51]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor75]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor67]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor16]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor71]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor81]
    [Unloading class sun.reflect.GeneratedMethodAccessor31]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor139]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor18]
    [Unloading class sun.reflect.GeneratedConstructorAccessor19]
    [Unloading class sun.reflect.GeneratedConstructorAccessor55]
    [Unloading class sun.reflect.GeneratedConstructorAccessor15]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor58]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor136]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor134]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor123]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor143]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor101]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor135]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor117]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor47]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor48]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor72]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor25]
    [Unloading class sun.reflect.GeneratedConstructorAccessor22]
    [Unloading class sun.reflect.GeneratedMethodAccessor22]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor99]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor28]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor34]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor33]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor108]
    [Unloading class sun.reflect.GeneratedConstructorAccessor42]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor132]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor128]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor102]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor129]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor147]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor4]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor19]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor21]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor24]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor90]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor100]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor36]
    [Unloading class sun.reflect.GeneratedConstructorAccessor61]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor145]
    [Unloading class sun.reflect.GeneratedConstructorAccessor23]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor30]
    [Unloading class sun.reflect.GeneratedMethodAccessor32]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor113]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor55]
    [Unloading class sun.reflect.GeneratedMethodAccessor41]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor42]
    [Unloading class sun.reflect.GeneratedConstructorAccessor48]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor41]
    [Unloading class sun.reflect.GeneratedConstructorAccessor11]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor45]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor98]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor89]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor126]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor130]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor122]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor65]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor120]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor59]
    [Unloading class sun.reflect.GeneratedConstructorAccessor49]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor1]
    [Unloading class sun.reflect.GeneratedMethodAccessor24]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor2]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor127]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor97]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor93]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor20]
    [Unloading class sun.reflect.GeneratedConstructorAccessor25]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor118]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor95]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor85]
    [Unloading class sun.reflect.GeneratedMethodAccessor40]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor91]
    [Unloading class sun.reflect.GeneratedMethodAccessor13]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor13]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor146]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor46]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor116]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor52]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor9]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor5]
    [Unloading class sun.reflect.GeneratedMethodAccessor9]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor39]
    [Unloading class sun.reflect.GeneratedMethodAccessor25]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor31]
    [Unloading class sun.reflect.GeneratedMethodAccessor15]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor69]
    [Unloading class sun.reflect.GeneratedConstructorAccessor53]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor66]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor56]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor92]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor68]
    [Unloading class sun.reflect.GeneratedConstructorAccessor21]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor138]
    [Unloading class sun.reflect.GeneratedConstructorAccessor63]
    [Unloading class sun.reflect.GeneratedMethodAccessor39]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor15]
    [Unloading class sun.reflect.GeneratedMethodAccessor6]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor111]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor96]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor64]
    [Unloading class sun.reflect.GeneratedConstructorAccessor59]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor114]
    [Unloading class sun.reflect.GeneratedConstructorAccessor58]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor141]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor107]
    [Unloading class sun.reflect.GeneratedMethodAccessor14]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor54]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor27]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor26]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor3]
    [Unloading class sun.reflect.GeneratedMethodAccessor43]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor23]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor106]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor140]
    [Unloading class sun.reflect.GeneratedMethodAccessor44]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor49]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor78]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor73]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor79]
    [Unloading class sun.reflect.GeneratedConstructorAccessor20]
    [Unloading class sun.reflect.GeneratedMethodAccessor27]
    [Unloading class sun.reflect.GeneratedMethodAccessor5]
    [Unloading class sun.reflect.GeneratedConstructorAccessor60]
    [Unloading class sun.reflect.GeneratedConstructorAccessor27]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor8]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor119]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor43]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor22]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor63]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor35]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor37]
    [Unloading class sun.reflect.GeneratedMethodAccessor10]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor115]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor11]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor86]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor82]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor70]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor142]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor133]
    [Unloading class sun.reflect.GeneratedConstructorAccessor46]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor14]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor40]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor84]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor121]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor94]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor53]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor74]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor88]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor110]
    [Unloading class sun.reflect.GeneratedMethodAccessor23]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor44]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor7]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor57]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor80]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor76]
    [Unloading class sun.reflect.GeneratedMethodAccessor12]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor12]
    [Unloading class sun.reflect.GeneratedMethodAccessor42]
    [Unloading class sun.reflect.GeneratedMethodAccessor33]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor83]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor62]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor50]
    [Unloading class sun.reflect.GeneratedMethodAccessor26]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor144]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor109]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor38]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor124]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor61]
    [Unloading class sun.reflect.GeneratedMethodAccessor7]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor77]
    [Unloading class sun.reflect.GeneratedMethodAccessor29]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor103]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor60]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor112]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor137]
    [Unloading class sun.reflect.GeneratedConstructorAccessor56]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor131]
    : 249487K->196086K(253184K), 2.5987253 secs] 428404K->196086K(436992K), 2.6010559 secs]
    3882.998: [GC 3882.998: [DefNew
    Desired survivor size 5505024 bytes, new threshold 1 (max 31)
    - age   1:    7461040 bytes,    7461040 total
    : [b]173056K->7286K(183808K), 0.1877607 secs] 369142K->203372K(510624K), 0.1880744 secs]
    3886.814: [GC 3886.814: [DefNew
    Desired survivor size 5505024 bytes, new threshold 31 (max 31)
    - age   1:    5084112 bytes,    5084112 total
    : [b]180342K->4964K(183808K), 0.1731598 secs] 376428K->204879K(510624K), 0.1734656 secs]

    Here is a portion of log files from 11/27/2006 and 11/28/2007 test. Here is the document that was used to tune this jvm. The concurrentGC model was tried back in November but the total throughput for the application dropped and the CPU consumption was too much.
    We used the jdk 1.4 tuning guide instead of the one referenced above for java5. Many of the suggestions were tested, but we could not find the sweetspot for this app. Either the max pause is long or too much CPU is used to perfor GC. Any idea would be appreciated. I am hoping it won't cost too much CPU to maintain the throughput for this app.
    the logs are too large to post here.
    11/27/2006
    2273.144: [GC 2273.144: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3396208 bytes,    3396208 total
    : 157778K->3316K(159168K), 0.2261145 secs] 407235K->253055K(486920K), 0.2264406 secs]
    2276.309: [GC 2276.310: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3470296 bytes,    3470296 total
    : 157684K->3388K(159168K), 0.1262762 secs] 407423K->253323K(486920K), 0.1265662 secs]
    2279.355: [GC 2279.355: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3316512 bytes,    3316512 total
    : 157756K->3238K(159168K), 0.1369122 secs] 407691K->253429K(486920K), 0.1372297 secs]
    2282.385: [GC 2282.385: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3720832 bytes,    3720832 total
    : 157606K->3633K(159168K), 0.1278529 secs] 407797K->253992K(486920K), 0.1281862 secs]
    2285.457: [GC 2285.458: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3322240 bytes,    3322240 total
    : 158001K->3244K(159168K), 0.1308660 secs] 408360K->253900K(486920K), 0.1317469 secs]
    2288.603: [GC 2288.603: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3588232 bytes,    3588232 total
    : 157612K->3504K(159168K), 0.1387172 secs] 408268K->254309K(486920K), 0.1390618 secs]
    2291.764: [GC 2291.764: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    4393800 bytes,    4393800 total
    : 157872K->4290K(159168K), 0.1342670 secs] 408677K->255295K(486920K), 0.1345969 secs]
    2294.792: [GC 2294.792: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3414888 bytes,    3414888 total
    : 158658K->3334K(159168K), 0.1756551 secs] 409663K->254639K(486920K), 0.1760070 secs]
    2297.884: [GC 2297.884: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3542544 bytes,    3542544 total
    : 157702K->3459K(159168K), 0.1850556 secs] 409007K->255075K(486920K), 0.1853680 secs]
    2300.915: [GC 2300.915: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    4077600 bytes,    4077600 total
    : 157553K->3982K(159168K), 0.2801147 secs] 409168K->255901K(486920K), 0.2804382 secs]
    2303.924: [GC 2303.924: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3341344 bytes,    3341344 total
    : 158350K->3263K(159168K), 0.2672433 secs] 410269K->255425K(486920K), 0.2676638 secs]
    2306.996: [GC 2306.997: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3491320 bytes,    3491320 total
    : 157631K->3409K(159168K), 0.1561422 secs] 409793K->255738K(486920K), 0.1566506 secs]
    2309.966: [GC 2309.967: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3475736 bytes,    3475736 total
    : 157777K->3394K(159168K), 0.1218246 secs] 410106K->256016K(486920K), 0.1221916 secs]
    2313.085: [GC 2313.085: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3598728 bytes,    3598728 total
    : 157762K->3514K(159168K), 0.1696552 secs] 410384K->256326K(486920K), 0.1699282 secs]
    2316.140: [GC 2316.141: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3305552 bytes,    3305552 total
    : 157882K->3228K(159168K), 0.1252838 secs] 410694K->256373K(486920K), 0.1255814 secs]
    2319.236: [GC 2319.236: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3259800 bytes,    3259800 total
    : 157596K->3183K(159168K), 0.1461852 secs] 410741K->256607K(486920K), 0.1465003 secs]
    2322.285: [GC 2322.285: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3441200 bytes,    3441200 total
    : 157551K->3360K(159168K), 0.1202034 secs] 410975K->257031K(486920K), 0.1206303 secs]
    2325.319: [GC 2325.319: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3928024 bytes,    3928024 total
    : 157728K->3835K(159168K), 0.1309297 secs] 411399K->257905K(486920K), 0.1312920 secs]
    2328.324: [GC 2328.324: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3123056 bytes,    3123056 total
    : 157867K->3049K(159168K), 0.1220317 secs] 411937K->257230K(486920K), 0.1223221 secs]
    2331.474: [GC 2331.475: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3055352 bytes,    3055352 total
    : 157417K->2983K(159168K), 0.1145153 secs] 411598K->257319K(486920K), 0.1148209 secs]
    2334.695: [GC 2334.695: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3136232 bytes,    3136232 total
    : 157216K->3062K(159168K), 0.1195330 secs] 411552K->257554K(486920K), 0.1198627 secs]
    2337.745: [GC 2337.745: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3697880 bytes,    3697880 total
    : 157430K->3611K(159168K), 0.1825682 secs] 411922K->258220K(486920K), 0.1828969 secs]
    2340.805: [GC 2340.805: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3388608 bytes,    3388608 total
    : 157468K->3309K(159168K), 0.1608910 secs] 412077K->258317K(486920K), 0.1611809 secs]
    2343.628: [Full GC 2343.628: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3309696 bytes,    3309696 total
    : 157677K->3232K(159168K), 0.2826415 secs] 412685K->258397K(486920K), 0.2830491 secs]
    2346.705: [GC 2346.705: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3428352 bytes,    3428352 total
    : 157600K->3348K(159168K), 0.1191751 secs] 412765K->258765K(486920K), 0.1194448 secs]
    2349.625: [GC 2349.625: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3372536 bytes,    3372536 total
    : 157716K->3293K(159168K), 0.1223127 secs] 413133K->258894K(486920K), 0.1227043 secs]
    2352.809: [GC 2352.810: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3509736 bytes,    3509736 total
    : 157661K->3427K(159168K), 0.1659027 secs] 413262K->259209K(486920K), 0.1662121 secs]
    2355.788: [GC 2355.788: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3272304 bytes,    3272304 total
    : 157795K->3195K(159168K), 0.1225834 secs] 413577K->259205K(486920K), 0.1231079 secs]
    2358.748: [GC 2358.748: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3522320 bytes,    3522320 total
    : 157563K->3439K(159168K), 0.1319910 secs] 413573K->259672K(486920K), 0.1323201 secs]
    2361.927: [GC 2361.928: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3338224 bytes,    3338224 total
    : 157646K->3259K(159168K), 0.1889977 secs] 413879K->259891K(486920K), 0.1893130 secs]
    2364.949: [GC 2364.949: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3898000 bytes,    3898000 total
    : 157627K->3806K(159168K), 0.1376028 secs] 414259K->260663K(486920K), 0.1379225 secs]
    2367.936: [GC 2367.936: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3590936 bytes,    3590936 total
    : 157967K->3506K(159168K), 0.1474942 secs] 414825K->260487K(486920K), 0.1477834 secs]
    2370.985: [GC 2370.985: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3298976 bytes,    3298976 total
    : 157837K->3221K(159168K), 0.1551363 secs] 414819K->260532K(486920K), 0.1555589 secs]
    2373.936: [GC 2373.937: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3310200 bytes,    3310200 total
    : 157589K->3232K(159168K), 0.1209223 secs] 414900K->260635K(486920K), 0.1211858 secs]
    2378.096: [GC 2378.096: [DefNew
    Desired survivor size 2457600 bytes, new threshold 1 (max 31)
    - age   1:    3608144 bytes,    3608144 total
    : 157076K->3523K(159168K), 0.1516114 secs] 414478K->261214K(486920K), 0.1519220 secs]
    2381.254: [GC 2381.255: [DefNew: 157891K->157891K(159168K), 0.0000646 secs]2381.255: [Tenured: 257691K->222213K(327752K), 2.9630944 secs] 415582K->222213K(486920K), 2.9655149 secs]
    2386.247: [GC 2386.247: [DefNew
    Desired survivor size 2785280 bytes, new threshold 1 (max 31)
    - age   1:    5570560 bytes,    5570560 total
    : 174400K->5440K(179840K), 0.2635826 secs] 396613K->230791K(550200K), 0.2638810 secs]
    2390.556: [GC 2390.556: [DefNew
    Desired survivor size 2785280 bytes, new threshold 1 (max 31)
    - age   1:    5570560 bytes,    5570560 total
    : 179837K->5440K(179840K), 0.2418157 secs] 405188K->235434K(550200K), 0.2425728 secs]
    2393.947: [GC 2393.947: [DefNew
    Desired survivor size 2785280 bytes, new threshold 1 (max 31)
    - age   1:    4598944 bytes,    4598944 total
    : 179840K->4491K(179840K), 0.2242683 secs] 409834K->235785K(550200K), 0.2245734 secs]
    2397.270: [GC 2397.270: [DefNew
    Desired survivor size 2785280 bytes, new threshold 1 (max 31)
    - age   1:    4158536 bytes,    4158536 total
    : 178891K->4061K(179840K), 0.2879193 secs] 410185K->235783K(550200K), 0.2882168 secs]
    2400.968: [GC 2400.969: [DefNew
    Desired survivor size 2785280 bytes, new threshold 1 (max 31)
    - age   1:    4322736 bytes,    4322736 total
    : 178461K->4221K(179840K), 0.1373616 secs] 410183K->236135K(550200K), 0.1376681 secs]
    2404.381: [GC 2404.382: [DefNew
    Desired survivor size 2785280 bytes, new threshold 1 (max 31)
    - age   1:    4722464 bytes,    4722464 total
    : 178621K->4611K(179840K), 0.1648980 secs] 410535K->236696K(550200K), 0.1652233 secs]
    2407.739: [GC 2407.740: [DefNew
    Desired survivor size 2785280 bytes, new threshold 1 (max 31)
    - age   1:    5568800 bytes,    5568800 total
    : 179011K->5438K(179840K), 0.1649234 secs] 411096K->238035K(550200K), 0.1652505 secs]
    2411.162: [GC 2411.163: [DefNew
    Desired survivor size 2785280 bytes, new threshold 1 (max 31)
    - age   1:    4873176 bytes,    4873176 total
    : 179838K->4758K(179840K), 0.1509994 secs] 412435K->237809K(550200K), 0.1513420 secs]
    2414.636: [GC 2414.636: [DefNew
    Desired survivor size 2785280 bytes, new threshold 1 (max 31)
    - age   1:    4429264 bytes,    4429264 total
    : 179158K->4325K(179840K), 0.1486133 secs] 412209K->237570K(550200K), 0.1489135 secs]
    2417.928: [GC 2417.928: [DefNew
    Desired survivor size 2785280 bytes, new threshold 1 (max 31)
    - age   1:    4213168 bytes,    4213168 total
    : 178725K->4114K(179840K), 0.2082007 secs] 411970K->237559K(550200K), 0.2085162 secs]
    2421.443: [GC 2421.443: [DefNew
    Desired survivor size 2785280 bytes, new threshold 1 (max 31)
    - age   1:    4657040 bytes,    4657040 total
    : 178514K->4547K(179840K), 0.1344679 secs] 411959K->238132K(550200K), 0.1348028 secs]
    2424.798: [GC 2424.799: [DefNew
    Desired survivor size 2785280 bytes, new threshold 1 (max 31)
    - age   1:    4267960 bytes,    4267960 total
    : 178947K->4167K(179840K), 0.1757591 secs] 412532K->238325K(550200K), 0.1762353 secs]
    2428.134: [GC 2428.134: [DefNew
    Desired survivor size 2785280 bytes, new threshold 1 (max 31)
    - age   1:    4109696 bytes,    4109696 total
    : 178567K->4013K(179840K), 0.1868518 secs] 412725K->238357K(550200K), 0.1872873 secs]
    2431.604: [GC 2431.604: [DefNew
    Desired survivor size 2785280 bytes, new threshold 1 (max 31)
    - age   1:    4867936 bytes,    4867936 total
    : 178413K->4753K(179840K), 0.1473605 secs] 412757K->239222K(550200K), 0.1478890 secs]
    2434.971: [GC 2434.971: [DefNew
    Desired survivor size 2785280 bytes, new threshold 1 (max 31)
    - age   1:    4289728 bytes,    4289728 total
    : 179153K->4189K(179840K), 0.1600035 secs] 413622K->238835K(550200K), 0.1603369 secs]
    2438.406: [GC 2438.407: [DefNew
    Desired survivor size 2785280 bytes, new threshold 1 (max 31)
    - age   1:    4473544 bytes,    4473544 total
    : 178296K->4368K(179840K), 0.1286354 secs] 412942K->239191K(550200K), 0.1289415 secs]
    2441.995: [GC 2441.995: [DefNew
    Desired survivor size 2785280 bytes, new threshold 1 (max 31)
    - age   1:    5140080 bytes,    5140080 total
    : 178768K->5019K(179840K), 0.1509930 secs] 413591K->240142K(550200K), 0.1513179 secs]
    2445.387: [GC 2445.387: [DefNew
    Desired survivor size 2785280 bytes, new threshold 1 (max 31)
    - age   1:    4952336 bytes,    4952336 total
    : 178888K->4836K(179840K), 0.1515447 secs] 414011K->240163K(550200K), 0.1518447 secs]
    2448.765: [GC 2448.765: [DefNew
    Desired survivor size 2785280 bytes, new threshold 1 (max 31)
    - age   1:    4281928 bytes,    4281928 total
    : 179236K->4181K(179840K), 0.1692290 secs] 414563K->239692K(550200K), 0.1696671 secs]
    2452.154: [GC 2452.154: [DefNew
    Desired survivor size 2785280 bytes, new threshold 1 (max 31)
    - age   1:    4452808 bytes,    4452808 total
    : 178581K->4348K(179840K), 0.1851835 secs] 414092K->240000K(550200K), 0.1859546 secs]
    2455.513: [GC 2455.513: [DefNew
    Desired survivor size 2785280 bytes, new threshold 1 (max 31)
    - age   1:    4164624 bytes,    4164624 total
    : 178748K->4067K(179840K), 0.1376570 secs] 414400K->239894K(550200K), 0.1379396 secs]
    2458.906: [GC 2458.906: [DefNew
    Desired survivor size 2785280 bytes, new threshold 1 (max 31)
    - age   1:    4236840 bytes,    4236840 total
    : 178467K->4137K(179840K), 0.1824181 secs] 414294K->240146K(550200K), 0.1827838 secs]
    2462.506: [GC 2462.506: [DefNew
    Desired survivor size 2785280 bytes, new threshold 1 (max 31)
    - age   1:    4190960 bytes,    4190960 total
    : 178537K->4092K(179840K), 0.1338775 secs] 414546K->240218K(550200K), 0.1341785 secs]
    2466.749: [GC 2466.749: [DefNew
    Desired survivor size 2785280 bytes, new threshold 1 (max 31)
    - age   1:    4624376 bytes,    4624376 total
    : 178492K->4515K(179840K), 0.1768329 secs] 414618K->240848K(550200K), 0.1771411 secs]
    2470.280: [GC 2470.280: [DefNew: 178915K->178915K(179840K), 0.0000634 secs]2470.281: [Tenured: 236332K->218154K(370360K), 2.7253819 secs] 415248K->218154K(550200K), 2.7258222 secs]
    2476.597: [GC 2476.598: [DefNew
    Desired survivor size 2785280 bytes, new threshold 1 (max 31)
    - age   1:    5570560 bytes,    5570560 total
    : 174400K->5440K(179840K), 0.1722734 secs] 392554K->225971K(550200K), 0.1725892 secs]
    2479.670: [GC 2479.670: [DefNew
    Desired survivor size 2785280 bytes, new threshold 1 (max 31)
    - age   1:    4201392 bytes,    4201392 total
    : 179496K->4102K(179840K), 0.1641324 secs] 400028K->225295K(550200K), 0.1644163 secs]
    2483.223: [GC 2483.224: [DefNew
    Desired survivor size 2785280 bytes, new threshold 1 (max 31)
    - age   1:    4211504 bytes,    4211504 total
    : 178502K->4112K(179840K), 0.1435554 secs] 399695K->225495K(550200K), 0.1438742 secs]
    2488.395: [GC 2488.396: [DefNew
    Desired survivor size 2785280 bytes, new threshold 1 (max 31)
    - age   1:    3957040 bytes,    3957040 total
    : 178512K->3864K(179840K), 0.1258626 secs] 399895K->225422K(550200K), 0.1261162 secs]
    11/28/2006
    5772.008: [GC 5772.008: [DefNew
    Desired survivor size 5505024 bytes, new threshold 1 (max 31)
    - age   1:    6051328 bytes,    6051328 total
    - age   2:     363960 bytes,    6415288 total
    - age   3:     102480 bytes,    6517768 total
    - age   4:      54848 bytes,    6572616 total
    - age   5:      44192 bytes,    6616808 total
    - age   6:      59008 bytes,    6675816 total
    - age   7:      51256 bytes,    6727072 total
    - age   8:      36088 bytes,    6763160 total
    - age   9:      61120 bytes,    6824280 total
    - age  10:      48888 bytes,    6873168 total
    : 178194K->6712K(183808K), 0.1640235 secs] 418201K->246718K(526480K), 0.1643304 secs]
    5774.900: [GC 5774.900: [DefNew
    Desired survivor size 5505024 bytes, new threshold 31 (max 31)
    - age   1:    4822248 bytes,    4822248 total
    : 179768K->4709K(183808K), 0.1586654 secs] 419774K->245798K(526480K), 0.1589921 secs]
    5778.175: [GC 5778.175: [DefNew
    Desired survivor size 5505024 bytes, new threshold 31 (max 31)
    - age   1:    4548904 bytes,    4548904 total
    - age   2:     145656 bytes,    4694560 total
    : 177765K->4584K(183808K), 0.1662986 secs] 418854K->245674K(526480K), 0.1665766 secs]
    5781.438: [GC 5781.439: [DefNew
    Desired survivor size 5505024 bytes, new threshold 31 (max 31)
    - age   1:    4397056 bytes,    4397056 total
    - age   2:     189784 bytes,    4586840 total
    - age   3:     104464 bytes,    4691304 total
    : 177640K->4581K(183808K), 0.1473127 secs] 418730K->245670K(526480K), 0.1476110 secs]
    5784.921: [GC 5784.921: [DefNew
    Desired survivor size 5505024 bytes, new threshold 31 (max 31)
    - age   1:    4509072 bytes,    4509072 total
    - age   2:     220664 bytes,    4729736 total
    - age   3:      79648 bytes,    4809384 total
    - age   4:      51856 bytes,    4861240 total
    : 177513K->4747K(183808K), 0.1462706 secs] 418602K->245836K(526480K), 0.1466015 secs]
    5788.276: [GC 5788.277: [DefNew
    Desired survivor size 5505024 bytes, new threshold 31 (max 31)
    - age   1:    4383288 bytes,    4383288 total
    - age   2:     291280 bytes,    4674568 total
    - age   3:     171280 bytes,    4845848 total
    - age   4:      19136 bytes,    4864984 total
    - age   5:      51560 bytes,    4916544 total
    : 177803K->4801K(183808K), 0.1391278 secs] 418892K->245890K(526480K), 0.1394590 secs]
    5791.651: [GC 5791.652: [DefNew
    Desired survivor size 5505024 bytes, new threshold 31 (max 31)
    - age   1:    4521888 bytes,    4521888 total
    - age   2:     222160 bytes,    4744048 total
    - age   3:     267288 bytes,    5011336 total
    - age   4:      47496 bytes,    5058832 total
    - age   5:      19136 bytes,    5077968 total
    - age   6:      51560 bytes,    5129528 total
    : 177656K->5009K(183808K), 0.1306977 secs] 418746K->246098K(526480K), 0.1310546 secs]
    5795.081: [GC 5795.082: [DefNew
    Desired survivor size 5505024 bytes, new threshold 31 (max 31)
    - age   1:    4321768 bytes,    4321768 total
    - age   2:     177872 bytes,    4499640 total
    - age   3:     113984 bytes,    4613624 total
    - age   4:     110192 bytes,    4723816 total
    - age   5:      47496 bytes,    4771312 total
    - age   6:      19136 bytes,    4790448 total
    - age   7:      51560 bytes,    4842008 total
    : 178065K->4728K(183808K), 0.1752914 secs] 419154K->245818K(526480K), 0.1758526 secs]
    5798.353: [GC 5798.353: [DefNew
    Desired survivor size 5505024 bytes, new threshold 6 (max 31)
    - age   1:    4919032 bytes,    4919032 total
    - age   2:     284864 bytes,    5203896 total
    - age   3:     149320 bytes,    5353216 total
    - age   4:      49104 bytes,    5402320 total
    - age   5:      76280 bytes,    5478600 total
    - age   6:      35528 bytes,    5514128 total
    - age   7:      19136 bytes,    5533264 total
    - age   8:      51560 bytes,    5584824 total
    : 177784K->5453K(183808K), 0.1745859 secs] 418874K->246543K(526480K), 0.1749226 secs]
    5801.647: [GC 5801.648: [DefNew
    Desired survivor size 5505024 bytes, new threshold 31 (max 31)
    - age   1:    4379408 bytes,    4379408 total
    - age   2:     245416 bytes,    4624824 total
    - age   3:     262888 bytes,    4887712 total
    - age   4:      24112 bytes,    4911824 total
    - age   5:      45080 bytes,    4956904 total
    - age   6:      76280 bytes,    5033184 total
    : 178509K->4915K(183808K), 0.1477479 secs] 419599K->246108K(526480K), 0.1480798 secs]
    5805.824: [GC 5805.825: [DefNew
    Desired survivor size 5505024 bytes, new threshold 6 (max 31)
    - age   1:    4922824 bytes,    4922824 total
    - age   2:     193648 bytes,    5116472 total
    - age   3:     142832 bytes,    5259304 total
    - age   4:     205856 bytes,    5465160 total
    - age   5:      24112 bytes,    5489272 total
    - age   6:      44920 bytes,    5534192 total
    - age   7:      76280 bytes,    5610472 total
    : 177971K->5478K(183808K), 0.1397963 secs] 419164K->246672K(526480K), 0.1400685 secs]
    5809.151: [GC 5809.152: [DefNew
    Desired survivor size 5505024 bytes, new threshold 5 (max 31)
    - age   1:    5092144 bytes,    5092144 total
    - age   2:     188480 bytes,    5280624 total
    - age   3:      85184 bytes,    5365808 total
    - age   4:      76016 bytes,    5441824 total
    - age   5:     205744 bytes,    5647568 total
    - age   6:      24112 bytes,    5671680 total
    : 178534K->5538K(183808K), 0.1656120 secs] 419728K->246850K(526480K), 0.1661111 secs]
    5812.453: [GC 5812.454: [DefNew
    Desired survivor size 5505024 bytes, new threshold 31 (max 31)
    - age   1:    4441176 bytes,    4441176 total
    - age   2:     221896 bytes,    4663072 total
    - age   3:     147552 bytes,    4810624 total
    - age   4:      31152 bytes,    4841776 total
    - age   5:      76016 bytes,    4917792 total
    : 178108K->4802K(183808K), 0.1589130 secs] 419420K->246338K(526480K), 0.1592241 secs]
    5815.794: [GC 5815.794: [DefNew
    Desired survivor size 5505024 bytes, new threshold 31 (max 31)
    - age   1:    4105000 bytes,    4105000 total
    - age   2:     190488 bytes,    4295488 total
    - age   3:     178472 bytes,    4473960 total
    - age   4:      23992 bytes,    4497952 total
    - age   5:      31152 bytes,    4529104 total
    - age   6:      76016 bytes,    4605120 total
    : 177858K->4497K(183808K), 0.1580382 secs] 419394K->246033K(526480K), 0.1583108 secs]
    5819.185: [GC 5819.186: [DefNew
    Desired survivor size 5505024 bytes, new threshold 31 (max 31)
    - age   1:    4031216 bytes,    4031216 total
    - age   2:     207992 bytes,    4239208 total
    - age   3:      81536 bytes,    4320744 total
    - age   4:     121792 bytes,    4442536 total
    - age   5:      23920 bytes,    4466456 total
    - age   6:      19184 bytes,    4485640 total
    - age   7:      76016 bytes,    4561656 total
    : 177553K->4454K(183808K), 0.1680179 secs] 419089K->245990K(526480K), 0.1683593 secs]
    5822.489: [GC 5822.490: [DefNew
    Desired survivor size 5505024 bytes, new threshold 31 (max 31)
    - age   1:    4396272 bytes,    4396272 total
    - age   2:     112856 bytes,    4509128 total
    - age   3:     173376 bytes,    4682504 total
    - age   4:      28968 bytes,    4711472 total
    - age   5:     121792 bytes,    4833264 total
    - age   6:      23920 bytes,    4857184 total
    - age   7:      19184 bytes,    4876368 total
    - age   8:      76016 bytes,    4952384 total
    : 177510K->4836K(183808K), 0.2301784 secs] 419046K->246372K(526480K), 0.2304825 secs]
    5825.969: [GC 5825.969: [DefNew
    Desired survivor size 5505024 bytes, new threshold 31 (max 31)
    - age   1:    4838872 bytes,    4838872 total
    - age   2:     196568 bytes,    5035440 total
    - age   3:      84008 bytes,    5119448 total
    - age   4:      51616 bytes,    5171064 total
    - age   5:      28424 bytes,    5199488 total
    - age   6:     121176 bytes,    5320664 total
    - age   7:      23920 bytes,    5344584 total
    - age   8:      18240 bytes,    5362824 total
    - age   9:      75944 bytes,    5438768 total
    : 177892K->5311K(183808K), 0.1428722 secs] 419428K->246847K(526480K), 0.1431520 secs]
    5829.179: [GC 5829.179: [DefNew
    Desired survivor size 5505024 bytes, new threshold 31 (max 31)
    - age   1:    4488664 bytes,    4488664 total
    - age   2:     352712 bytes,    4841376 total
    - age   3:      96624 bytes,    4938000 total
    - age   4:      27312 bytes,    4965312 total
    - age   5:      51616 bytes,    5016928 total
    - age   6:      28424 bytes,    5045352 total
    - age   7:     119232 bytes,    5164584 total
    - age   8:      23920 bytes,    5188504 total
    - age   9:      17264 bytes,    5205768 total
    - age  10:      75944 bytes,    5281712 total
    : 177895K->5157K(183808K), 0.2082275 secs] 419431K->246694K(526480K), 0.2085530 secs]
    5832.596: [GC 5832.596: [DefNew
    Desired survivor size 5505024 bytes, new threshold 31 (max 31)
    - age   1:    4349880 bytes,    4349880 total
    - age   2:     113960 bytes,    4463840 total
    - age   3:     300928 bytes,    4764768 total
    - age   4:      40296 bytes,    4805064 total
    - age   5:      27216 bytes,    4832280 total
    - age   6:      51616 bytes,    4883896 total
    - age   7:      28424 bytes,    4912320 total
    - age   8:     119232 bytes,    5031552 total
    - age   9:      23920 bytes,    5055472 total
    - age  10:      17232 bytes,    5072704 total
    - age  11:      75944 bytes,    5148648 total
    : 178213K->5027K(183808K), 0.1462829 secs] 419750K->246564K(526480K), 0.1465726 secs]
    5835.893: [GC 5835.893: [DefNew
    Desired survivor size 5505024 bytes, new threshold 31 (max 31)
    - age   1:    4362824 bytes,    4362824 total
    - age   2:     195752 bytes,    4558576 total
    - age   3:      74072 bytes,    4632648 total
    - age   4:     177968 bytes,    4810616 total
    - age   5:      40296 bytes,    4850912 total
    - age   6:      27216 bytes,    4878128 total
    - age   7:      51616 bytes,    4929744 total
    - age   8:      28368 bytes,    4958112 total
    - age   9:     107320 bytes,    5065432 total
    - age  10:      23920 bytes,    5089352 total
    - age  11:      17232 bytes,    5106584 total
    - age  12:      63976 bytes,    5170560 total
    : 178083K->5049K(183808K), 0.1433297 secs] 419620K->246585K(526480K), 0.1436493 secs]
    5839.256: [GC 5839.256: [DefNew
    Desired survivor size 5505024 bytes, new threshold 31 (max 31)
    - age   1:    4184368 bytes,    4184368 total
    - age   2:     244800 bytes,    4429168 total
    - age   3:      88880 bytes,    4518048 total
    - age   4:      20216 bytes,    4538264 total
    - age   5:     177920 bytes,    4716184 total
    - age   6:      40296 bytes,    4756480 total
    - age   7:      27216 bytes,    4783696 total
    - age   8:      51616 bytes,    4835312 total
    - age   9:      28368 bytes,    4863680 total
    - age  10:     107320 bytes,    4971000 total
    - age  11:      23920 bytes,    4994920 total
    - age  12:      17232 bytes,    5012152 total
    - age  13:      63976 bytes,    5076128 total
    : 178105K->4957K(183808K), 0.1911896 secs] 419641K->246493K(526480K), 0.1932825 secs]
    5842.665: [GC 5842.666: [DefNew
    Desired survivor size 5505024 bytes, new threshold 31 (max 31)
    - age   1:    4472144 bytes,    4472144 total
    - age   2:     151480 bytes,    4623624 total
    - age   3:     192800 bytes,    4816424 total
    - age   4:      36032 bytes,    4852456 total
    - age   5:      20216 bytes,    4872672 total
    - age   6:     177616 bytes,    5050288 total
    - age   7:      40296 bytes,    5090584 total
    - age   8:      27216 bytes,    5117800 total
    - age   9:      39648 bytes,    5157448 total
    - age  10:      28368 bytes,    5185816 total
    - age  11:     107320 bytes,    5293136 total
    - age  12:      23920 bytes,    5317056 total
    - age  13:      17232 bytes,    5334288 total
    - age  14:      63976 bytes,    5398264 total
    : 178013K->5271K(183808K), 0.1327927 secs] 419549K->246807K(526480K), 0.1330712 secs]
    5845.963: [GC 5845.963: [DefNew
    Desired survivor size 5505024 bytes, new threshold 15 (max 31)
    - age   1:    4671224 bytes,    4671224 total
    - age   2:     246392 bytes,    4917616 total
    - age   3:     111752 bytes,    5029368 total
    - age   4:      59840 bytes,    5089208 total
    - age   5:      35960 bytes,    5125168 total
    - age   6:      18264 bytes,    5143432 total
    - age   7:      73352 bytes,    5216784 total
    - age   8:      40296 bytes,    5257080 total
    - age   9:      27216 bytes,    5284296 total
    - age  10:      39616 bytes,    5323912 total
    - age  11:      28368 bytes,    5352280 total
    - age  12:     107320 bytes,    5459600 total
    - age  13:      23920 bytes,    5483520 total
    - age  14:      17232 bytes,    5500752 total
    - age  15:      63976 bytes,    5564728 total
    : 178327K->5434K(183808K), 0.2194104 secs] 419863K->246970K(526480K), 0.2197150 secs]
    5849.254: [GC 5849.254: [DefNew
    Desired survivor size 5505024 bytes, new threshold 31 (max 31)
    - age   1:    4075344 bytes,    4075344 total
    - age   2:     422352 bytes,    4497696 total
    - age   3:     103760 bytes,    4601456 total
    - age   4:      56616 bytes,    4658072 total
    - age   5:      59672 bytes,    4717744 total
    - age   6:      35960 bytes,    4753704 total
    - age   7:      18264 bytes,    4771968 total
    - age   8:      39416 bytes,    4811384 total
    - age   9:      40296 bytes,    4851680 total
    - age  10:      27216 bytes,    4878896 total
    - age  11:      39616 bytes,    4918512 total
    - age  12:      28200 bytes,    4946712 total
    - age  13:     107320 bytes,    5054032 total
    - age  14:      23848 bytes,    5077880 total
    - age  15:      17232 bytes,    5095112 total
    : 178490K->4975K(183808K), 0.1670486 secs] 420026K->246574K(526480K), 0.1675405 secs]
    5852.616: [GC 5852.617: [DefNew
    Desired survivor size 5505024 bytes, new threshold 31 (max 31)
    - age   1:    4114048 bytes,    4114048 total
    - age   2:     120128 bytes,    4234176 total
    - age   3:     389536 bytes,    4623712 total
    - age   4:      48016 bytes,    4671728 total
    - age   5:      44648 bytes,    4716376 total
    - age   6:      59672 bytes,    4776048 total
    - age   7:      35960 bytes,    4812008 total
    - age   8:      16320 bytes,    4828328 total
    - age   9:      39416 bytes,    4867744 total
    - age  10:      40296 bytes,    4908040 total
    - age  11:      27216 bytes,    4935256 total
    - age  12:      39616 bytes,    4974872 total
    - age  13:      28200 bytes,    5003072 total
    - age  14:     107320 bytes,    5110392 total
    - age  15:      23848 bytes,    5134240 total
    - age  16:      17232 bytes,    5151472 total
    : 178031K->5030K(183808K), 0.1381689 secs] 419630K->246629K(526480K), 0.1385075 secs]
    5856.573: [GC 5856.573: [DefNew
    Desired survivor size 5505024 bytes, new threshold 31 (max 31)
    - age   1:    4439696 bytes,    4439696 total
    - age   2:     165016 bytes,    4604712 total
    - age   3:      91680 bytes,    4696392 total
    - age   4:     162096 bytes,    4858488 total
    - age   5:      48016 bytes,    4906504 total
    - age   6:      44648 bytes,    4951152 total
    - age   7:      59672 bytes,    5010824 total
    - age   8:      35960 bytes,    5046784 total
    - age   9:      16320 bytes,    5063104 total
    - age  10:      36432 bytes,    5099536 total
    - age  11:      40296 bytes,                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

  • Garbage collector - Tenured Generation - Unloading Class

    Hi All,
    I've seen the garbage collector report the following.  The worrying this is it took 36 seconds.  Is this normal, or is there something wrong with my generation (New, Perm, Tenured) sizes ?  What does this "Unloading Class" mean?
    Thu Dec  7 10:06:20 2006
    57165.190: [GC 57165.190: [ParNew: 676789K->676789K(682688K), 0.0000346 secs]57165.190: [Tenured
    Thu Dec  7 10:06:34 2006
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor116]
    [Unloading class sun.reflect.GeneratedConstructorAccessor819]
    [Unloading class sun.reflect.GeneratedMethodAccessor1]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor256]
    [Unloading class sun.reflect.GeneratedConstructorAccessor405]
    [Unloading class sun.reflect.GeneratedMethodAccessor232]
    [Unloading class sun.reflect.GeneratedMethodAccessor328]
    [Unloading class sun.reflect.GeneratedConstructorAccessor989]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor212]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor37]
    [Unloading class sun.reflect.GeneratedConstructorAccessor1032]
    [Unloading class sun.reflect.GeneratedConstructorAccessor366]
    [Unloading class sun.reflect.GeneratedConstructorAccessor89]
    [Unloading class sun.reflect.GeneratedConstructorAccessor84]
    [Unloading class sun.reflect.GeneratedConstructorAccessor336]
    [Unloading class sun.reflect.GeneratedConstructorAccessor335]
    [Unloading class sun.reflect.GeneratedConstructorAccessor1053]
    [Unloading class sun.reflect.GeneratedConstructorAccessor418]
    [Unloading class sun.reflect.GeneratedMethodAccessor320]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor86]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor274]
    [Unloading class sun.reflect.GeneratedConstructorAccessor929]
    [Unloading class sun.reflect.GeneratedConstructorAccessor893]
    [Unloading class sun.reflect.GeneratedConstructorAccessor444]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor58]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor144]
    [Unloading class sun.reflect.GeneratedConstructorAccessor132]
    [Unloading class sun.reflect.GeneratedConstructorAccessor385]
    [Unloading class sun.reflect.GeneratedConstructorAccessor767]
    [Unloading class sun.reflect.GeneratedConstructorAccessor960]
    Thu Dec  7 10:06:57 2006
    : 1653530K->1018272K(2326528K), 36.6689289 secs] 2330319K->1018272K(3009216K), 36.6692910 secs]
    Our server has 16GB of RAM.  The Heap size is currently set to 3GB.  The NewSize is 800MB and the Perm Size is 384MB.
    Thanks in advance
    Regards
    Anthony Gray

    Hi,
    > Hi All,
    >
    > I've seen the garbage collector report the following.
    > The worrying this is it took 36 seconds. 
    That's for sure too long.
    > Is this
    > normal, or is there something wrong with my
    > generation (New, Perm, Tenured) sizes ?  What does
    >  this "Unloading Class" mean?
    A class is unloaded, when it's not used anymore.
    In your case its the unloading of classes that were automatically generated because of the use of Java reflection.
    I mentioned that by the way just recently in my web log here : https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5138. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    What JVM do you use and what is the operating system  ?
    Regards,
    Markus
    >
    > ****************************
    > Thu Dec  7 10:06:20 2006
    > 57165.190: [GC 57165.190: [ParNew:
    > 676789K->676789K(682688K), 0.0000346 secs]57165.190:
    > [Tenured
    > Thu Dec  7 10:06:34 2006
    > [Unloading class
    > sun.reflect.GeneratedSerializationConstructorAccessor1
    > 16]
    > [Unloading class
    > sun.reflect.GeneratedConstructorAccessor819]
    > [Unloading class
    > sun.reflect.GeneratedMethodAccessor1]
    > [Unloading class
    > sun.reflect.GeneratedSerializationConstructorAccessor2
    > 56]
    > [Unloading class
    > sun.reflect.GeneratedConstructorAccessor405]
    > [Unloading class
    > sun.reflect.GeneratedMethodAccessor232]
    > [Unloading class
    > sun.reflect.GeneratedMethodAccessor328]
    > [Unloading class
    > sun.reflect.GeneratedConstructorAccessor989]
    > [Unloading class
    > sun.reflect.GeneratedSerializationConstructorAccessor2
    > 12]
    > [Unloading class
    > sun.reflect.GeneratedSerializationConstructorAccessor3
    > 7]
    > [Unloading class
    > sun.reflect.GeneratedConstructorAccessor1032]
    > [Unloading class
    > sun.reflect.GeneratedConstructorAccessor366]
    > [Unloading class
    > sun.reflect.GeneratedConstructorAccessor89]
    > [Unloading class
    > sun.reflect.GeneratedConstructorAccessor84]
    > [Unloading class
    > sun.reflect.GeneratedConstructorAccessor336]
    > [Unloading class
    > sun.reflect.GeneratedConstructorAccessor335]
    > [Unloading class
    > sun.reflect.GeneratedConstructorAccessor1053]
    > [Unloading class
    > sun.reflect.GeneratedConstructorAccessor418]
    > [Unloading class
    > sun.reflect.GeneratedMethodAccessor320]
    > [Unloading class
    > sun.reflect.GeneratedSerializationConstructorAccessor8
    > 6]
    > [Unloading class
    > sun.reflect.GeneratedSerializationConstructorAccessor2
    > 74]
    > [Unloading class
    > sun.reflect.GeneratedConstructorAccessor929]
    > [Unloading class
    > sun.reflect.GeneratedConstructorAccessor893]
    > [Unloading class
    > sun.reflect.GeneratedConstructorAccessor444]
    > [Unloading class
    > sun.reflect.GeneratedSerializationConstructorAccessor5
    > 8]
    > [Unloading class
    > sun.reflect.GeneratedSerializationConstructorAccessor1
    > 44]
    > [Unloading class
    > sun.reflect.GeneratedConstructorAccessor132]
    > [Unloading class
    > sun.reflect.GeneratedConstructorAccessor385]
    > [Unloading class
    > sun.reflect.GeneratedConstructorAccessor767]
    > [Unloading class
    > sun.reflect.GeneratedConstructorAccessor960]
    > .
    > .
    > .
    > .
    > Thu Dec  7 10:06:57 2006
    > : 1653530K->1018272K(2326528K), 36.6689289 secs]
    > 2330319K->1018272K(3009216K), 36.6692910 secs]
    >
    > ************************************
    > Our server has 16GB of RAM.  The Heap size is
    > currently set to 3GB.  The NewSize is 800MB and the
    > Perm Size is 384MB.
    >
    >
    > Thanks in advance
    >
    > Regards
    > Anthony Gray

  • Web application Unloading classes of WL Stubs every several hours

    Hello,
    We have a WEB applications, which connects to Server Application using EJB technology - both deployed on the same
    domain on Weblogic 10.
    Recently, we started to experience a strange phenomenon - WEB application's threads get stalled and get a STUCK
    state.
    Sometimes, it is accompanied with the java.lang.OutOfMemoryError exception.
    Only reboot helps to recover from it.
    Trying to identify a problem we added some parameters to get some more information in the application logs.
    What we found is that once in a while (depend on a system load), we see the following messages in console logs:
    [Unloading class <class name>]
    These are the examples about how often the events happen and it’s durations:
    2011-01-30 10:14:11 - 2011-01-30 10:14:28
    2011-01-30 12:27:51 - 2011-01-30 12:28:08
    2011-01-30 13:59:46 - 2011-01-30 14:00:02
    2011-01-30 14:56:59 - 2011-01-30 14:57:13
    2011-01-30 14:57:46 - 2011-01-30 14:58:00
    2011-01-30 17:11:21 - 2011-01-30 17:11:39
    2011-01-30 18:29:24 - 2011-01-30 18:29:44
    2011-01-30 20:05:34 - 2011-01-30 20:05:53
    2011-01-30 21:48:39 - 2011-01-30 21:48:55
    . - Each time are about 20000 - 30000 classes are unloaded.
    . - About 150000 classes are unloaded daily,
    ........- 90% out of it are the classes, which ends with "*..Impl_1001_WLStub*"
    ............- 30% out of Stubs are Home Stubs, which ends with "*..HomeImpl_1001_WLStub*"
    *(!) The most interesting that out of all this huge amount of classes, which are unloaded daily,*
    only +23+ types of different Stubs are unloaded, whereas out of it +10+ different Home Stubs:
    $> grep "Unloading class.*Impl_1001_WLStub" Web1.out | sort -u | wc -l
    23
    $> grep "Unloading class.*HomeImpl_1001_WLStub" Web1.out | sort -u | wc -l
    10Sometimes (as I said above) it ends with the "+java.lang.OutOfMemoryError+" exception.
    So, the questions are:
    1. What could be a reason for such behavior of a system?
    2. What message "Unloading class" says?
    3. Is it normal that (as you see from above), the same type of Stubs are loaded?
    It looks like a new Stub is created for every EJB invocation, isn't it?
    Is it normal? If not, what could be a reason for this?
    --------------- S Y S T E M ---------------
    jvm_args: -Xms2048m -Xmx2048m -XX:MaxPermSize=512m
    OS: Solaris 10 5/08 s10s_u5wos_10 SPARC
    uname:SunOS 5.10 Generic_142900-02 sun4v (T2 libthread)
    rlimit: STACK 8192k, CORE 1024000k, NOFILE 65536, AS infinity
    CPU:total 64 has_v8, has_v9, has_vis1, has_vis2, is_ultra3, is_sun4v, is_niagara1
    Memory: 8k page, physical 66977792k
    vm_info: Java HotSpot(TM) Server VM (1.5.0_11-b03) for solaris-sparc, built on Dec 15 2006 01:18:11

    You could see how your memory is managed by the JVM, by using for example a tool such as jconsole.
    Unloading class means that loaded classes are garbage collected. To see when the classes are loaded
    you can use the JVM option -verbose:class. I think somehow you are constantly loading the classes in the application,
    maybe by creating the stub over and over again when you need it. You can create the stub once by using
    a singleton pattern.
    A good overview of the available tools for the Sun JVM is given here: http://www.oracle.com/technetwork/java/javase/index-137495.html

  • How to Unload Classes?

    i have created custom classloader. now i want to unload classes those are loaded by custom classloader.
    i know that the classes will be unloaded when its classloader is unloaded. so i want to know how to unload cusotm classloader.
    In ClassLoader class there is one static inner class it has unload method . but we can not access that method from custom classloader.

    as a rule of thumb,
    an object of may get marked for gc once no reachable references to it exist in the system.
    a type (class) gets unloaded once:
    1) no reachable references to it exist in the system;
    2) there are no instance of that type left in the system or all the instances are unreachable (which is essencially the same as 1)
    a classloader gets unloaded once there are no reachable references to it exist in the system.
    reachable is the keyword here. Otherwise, if you had two classes A & B references each other, they would never be marked for gc. But as long as no other reference to either A or B exist, they both can be gc'ed. The same applies to classloaders (after all, they are just regular objects). Even though type T holds a reference to its classloader, if nothing refers to T, it's reference to the classloader doesn't count.

  • Loading a class via reflection without knowing the full qualified path ?

    Hi there
    I d like to load a class via reflection and call the constructor of the class object. My problem is that I dont know the full qulified name e.g. org.xyz.Classname bur only the Classname.
    I tried different things but none seem to work:
         1. Class c = Class.forName("Classname");  //does not suffice, full qualified name required
    2. ClassLoader classloader = java.lang.ClassLoader.getSystemClassLoader();
             try {
               Class cl = classloader.loadClass(stripFileType(Filename));//if i do not pass the full qualified name i get a ClassNotFoundException
    3. I tried to consruct a class object with my own classloader , calling:
              Class cl = super.defineClass(null, b, 0, b.length );     b is of type byte[]This almost works. I get a class Object without knowing the full qulified path. I can transform a filename into a raw array of bytes and I get the class out of it. But there is still a problem: If there are more than on classes defined in the same textfile I get an InvocationTargetException.
    It looks like this:
    package org.eml.adaptiveUI.demo;
    import com.borland.jbcl.layout.*;
    import java.awt.*;
    import org.eml.adaptiveUI.layout.*;
    import javax.swing.*;
    import java.awt.event.*;
    * <p>Title: </p>
    * <p>Description: </p>
    * <p>Copyright: Copyright (c) 2003</p>
    * <p>Company: </p>
    * @author not attributable
    * @version 1.0
    public class twoButtons extends JFrame {
      SPanel sPanel1 = new SPanel();
      JButton jButton1 = new JButton();
      GridBagLayout gridBagLayout1 = new GridBagLayout();
      GridBagLayout gridBagLayout2 = new GridBagLayout();
      public twoButtons() throws HeadlessException {
        try {
          jbInit();
        catch(Exception e) {
          e.printStackTrace();
      public static void main(String args[]){
        twoButtons twob = new twoButtons();
        twob.pack();
        twob.show();
      private void jbInit() throws Exception {
        this.getContentPane().setLayout(gridBagLayout1);
        jButton1.setText("button 1");
        jButton1.addActionListener(new TransformationDemo_jButton1_actionAdapter(this));
        this.getContentPane().add(sPanel1,  new GridBagConstraints(0, 0, 1, 1, 1.0, 1.0
                ,GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(57, 52, 94, 108), 35, 44));
        sPanel1.add(jButton1,  new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0
                ,GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(5, 41, 0, 0), 0, 0));
      void jButton1_actionPerformed(ActionEvent e) {
        System.out.println("button 1 source: " + e.getSource());
        System.out.println("d: " + e.getID());
       System.out.println("/n commmand: " + e.getActionCommand());
    class TransformationDemo_jButton1_actionAdapter implements java.awt.event.ActionListener {
      twoButtons adaptee;
      TransformationDemo_jButton1_actionAdapter(twoButtons adaptee) {
        this.adaptee = adaptee;
      public void actionPerformed(ActionEvent e) {
        adaptee.jButton1_actionPerformed(e);
    }As you can see there is the class TransformationDemo_jButton1_actionAdapter class defined in the same classfile. The problem is now that the twoButtons constructor calls the TransfomationDemo_jButton1_actionAdapter constructor and this leads to InvocationTargetException. I dont know if this is a java bug because it should be possible.
    Can you help me?

    hi thanks at first,
    the thing you mentioned could be a problem, but I dont think it is.
    If I have the full qualified name (which I havent) then everything goes normal. I only have to load the "twoButtons" class and not the other (actionadapter class), so I dont think this is the point. In this case the twoButtons constructor constructs an object of the actionadapter class and everything goes well. The bad thing is though that I do not have the full qulified name :(
    Invocation target exception tells me (in own words): Tried to acces the constructor of the actionadapter class (which is not public) out of class reflectionTest class .
    reflectionTest is the class where the reflection stuff happens and the twoButttons class is defineClass() ed.
    The problem is, only twoButtons class has the rights to call methods from the actionadapter class, the reflection class does not. BUT: I do not call the actionadapter methods from the reflection class. I call them only from the twoButtons class.
    I hope somebody understands my problem :)

  • Linux Issue  - Could not initialize class sun.print.CUPSPrinter

    Afternoon All,
    I am using the latest CR4Ev2.
    Java 1.6 (Am very sure but will double check)
    My Windows enviroment is all working perfectly and so have moved my application over to a Linux setup.
    After solving all my case-sensitivity issues I have managed to get my reports almost working. (I hope almost)
    When the following code is run:
    reportClientDocument = new ReportClientDocument();
    reportClientDocument.setReportAppServer(ReportClientDocument.inprocConnectionString);
    reportClientDocument.open(reportFilePath,OpenReportOptions._openAsReadOnly);
    I get the below error messages in my logging.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Could not initialize class sun.print.CUPSPrinter---- Error code:-2147467259 Error code name:failed
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<init>(SourceFile:286)
         at com.businessobjects.sdk.erom.jrc.a.<init>(SourceFile:43)
         at com.businessobjects.sdk.erom.jrc.ReportAgentFactory.createAgent(SourceFile:46)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.<init>(SourceFile:703)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:662)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:632)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.if(SourceFile:504)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(SourceFile:669)
    Now it could just be as simple as we dont have a printer setup on that box.
    Is this a definate requirement. Does the server have to have a printer setup, even if we are only exporting to PDF files.
    I am still doing some testing and since it is the first time getting this far on Linux it might be mistakes on my side,
    but thought I would ask the wide world and see what replies I get back.
    Cheers
    Darren
    Edited by: Darren Jackson on Mar 10, 2010 11:12 AM
    Sorry for the bump but wanted to change the subject to something more enticing

    After many many hours of reading and pulling my hair out I have found a solution to my problem,
    Whether it is a valid solution or a workaround or a cheat I am hoping someone can tell me.
    If I run my application with the switch
    java -jar -Djava.awt.headless=true MyApp.jar
    It works.
    Now I am still doing some investigation on what exactly this headless switch is doing. But it works so I am happy.
    If anyone can give me a technical and or a laymans explanation that would be great.
    All I have to do now is solve my Font issue
    Cheers
    Darren

  • Could not initialize class sun.awt.X11.XToolkit

    hi all
    String fileName = "c:/test/one.jpg";
    Image imgg = Toolkit.getDefaultToolkit().getImage(fileName);
         ImageIcon img = new ImageIcon(imgg);
         imgDim = ""+img.getIconHeight();
    when i run this code in linux machine am getting the error Could not initialize class sun.awt.X11.XToolkit....but its runnig on windows machine.. is there anything wrong wiht my code........pl help me any1 out of dis

    here http://rapid-i.com/rapidforum/index.php?topic=366.0
    they talk about adding to the JVM options a "-Djava.awt.headless=true"

  • How to access private method of an inner class using reflection.

    Can somebody tell me that how can i access private method of an inner class using reflection.
    There is a scenario like
    class A
    class B
    private fun() {
    now i want to use method fun() of an inner class inside third class i.e "class c".
    Can i use reflection in someway to access this private method fun() in class c.

    I suppose for unit tests, there could be cases when you need to access private methods that you don't want your real code to access.
    Reflection with inner classes can be tricky. I tried getting the constructor, but it kept failing until I saw that even though the default constructor is a no-arg, for inner classes that aren't static, apparently the constructor for the inner class itself takes an instance of the outer class as a param.
    So here's what it looks like:
            //list of inner classes, if any
            Class[] classlist = A.class.getDeclaredClasses();
            A outer = new A();
            try {
                for (int i =0; i < classlist.length; i++){
                    if (! classlist.getSimpleName().equals("B")){
    //skip other classes
    continue;
    //this is what I mention above.
    Constructor constr = classlist[i].getDeclaredConstructor(A.class);
    constr.setAccessible(true);
    Object inner = constr.newInstance(outer);
    Method meth = classlist[i].getDeclaredMethod("testMethod");
    meth.setAccessible(true);
    //the actual method call
    meth.invoke(inner);
    } catch (Exception e) {
    throw new RuntimeException(e);
    Good luck, and if you find yourself relying on this too much, it might mean a code redesign.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Unload class (to free static references)?

    My problem: apache fop has a bug that it has a static Map field in a class that increases constantly. Is it possible to "unload" this class to ensure freeing up the references from this static field? And subsequent calls would reload the class when needed?

    Those streams often are created within a method
    and there's no reference (variable) to it outside
    the method (e.g. in the class or super class)?Not sure that reflection will provide you with a work-around for this; although, you could write your own classloader to load JFreeChart, and have it provide your own implementation of ImageInputStream which retains references to un-closed streams so they can be killed off later.
    We're definitely on the way to the land of ick with this sort of hack, though... I think maintaining your own fork of the source code and keeping it in sync with the main project might actually turn out to be easier. That or beating the dev's around the head to get your fixes accepted.
    Dave.

  • Changes in class not reflecting on successive program runs

    Hi
    My server is linux one...
    my jsp program which is calling a class function is working fine for the first time.but if i made any changes to the class and after copied to the server, it is not working onthe successive runs.
    I cheked the size of the class file and it reflects the changes.So problem witht he jsp,to receive the class changes.can anybody help to find where is the problem
    when I copied this class to a new package and tried again, it will work on the first time. Again the changes to that class will not be reflected in jsp on successive runs.
    Regards

    My jsp code
    <%@page language="java"
         import="java.sql.*,java.io.*,mySAP.*,java.net.URL;"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
    <%!StringBuffer stringbuffer = new StringBuffer();
         int testemp;%>
    <%
         String dofrom;
         String doto;
         String s;
         String s1;
         dofrom = request.getParameter("DOFrom");
         doto = request.getParameter("DOTo");
         ResultSet resultset;
         String flag = request.getParameter("dall");
         mySAP.JcoTest2 obj = new mySAP.JcoTest2();
         //StringBuffer sb = obj.fetchData("one", "two");
         String sb = obj.checking();
         out.println(sb);
         try {
              StringBuffer stringbuffer = new StringBuffer();
              String separator = System.getProperty("file.separator");
              String path = System.getProperty("user.dir") + separator;
         } catch (Exception e) {
              out.println("error%%%%%%%%%" + e);
    %>
    </body>
    </html>here i am calling JcoTest2 from mySAP pack...
    first time it is showing correct output of JcoTest2 .if i change JcoTest2 and copy and run .jsp is outputing the old program value.
    .I used to complie my program in local machine and copy the class file and jsp file into the server(linux).
    Regards

  • Creating class via reflection

    Hi,
    Is there a possibility to create dynamically class and add to it methods/fileds/annotaions etc.
    What I am thinking of is to create jpa entity class dynamiclly and use jpa provider to create table for it.

    Not with reflection, no. You need something like BCEL or ASM for that. But what are you hoping to achieve? You create a JPA entity "dynamically". Fine. Then what? How does your code know what to do with it? How will data get into it? What's caused you to come up with this idea?

  • Instantiating member classes using reflection

    I have checked through this forum but if the answer to this question is here I missed it.
    I am trying to find out how to invoke the appropriate instantiation / constructor call to create an instance of a member class.
    The following works finepublic class Succeeds {
      public abstract static class AbstractMember {
      Succeeds(final AbstractMember am) {
      public static void main(final String[] args) {
        Succeeds a = new Succeeds (new Succeeds.AbstractMember () {
    }However I want to make the AbstractMember a real member class not a nested inner class and I want to instantiate the concrete subclass of AbstractMember in the constructor of Succeeds rather than outside the class. I tried the following:public class Fails {
      public abstract class AbstractMember {
        public class ConcreteMember extends AbstractMember {
      Fails(final Class<? extends AbstractMember> c)
        throws InstantiationException, IllegalAccessException {
        AbstractMember am = c.newInstance() ;
      public static void main(final String[] args)
        throws InstantiationException, IllegalAccessException {
        Fails a = new Fails (Fails.AbstractMember.ConcreteMember.class) ;
    }(Please forgive the appling treatment of exceptions, I wanted to make a small example). This compiles fine but fails at runtime with an InstantiationException I assume because the nullary constructor doesn't exist for a member class because of the need to make the connection to the containing object.
    So the question is is there a bit of reflection that allows me to achieve what I want?
    I cannot be the first person to try doing this. I am hoping it is doable otherwise I am going to have to make the design a bit yukky.
    Thanks.

    import java.lang.reflect.*;
    public class Fixed
        public abstract class AbstractMember
        public class ConcreteMember extends AbstractMember
        <T extends AbstractMember> Fixed(final Class<T> c) throws Exception
            Constructor<T> ctor = c.getConstructor(new Class[]{getClass()});
            AbstractMember am = ctor.newInstance(new Object[]{this});
        public static void main(final String[] args) throws Exception
            new Fixed(ConcreteMember.class);
    }My exception handling is even more lax than yours. Why isn't there a class ReflectionException? I moved ConcreteMember out of AbstractMember to keep things simple. It's not entirely necessary, but I didn't want to construct an AbstractMember first.

  • Instantiation an inner class using reflection

    I want to instantiate an inner class using the Class.newInstance() method called within the Outer class constructor:
    public Outer
    public Outer()
    Inner.class.newInstance();
    private Class Inner { }
    When I try it, however, I get an InstantiationException.
    Is there some way to do this?
    Thanks for the help.
    Scott

    Here is a consolidation of what everyone posted and it does appear to work. In one of your post you used the getDeclaredConstructors() method and said it was less than ideal; I am not sure what you meant but I suspect it was the hard coded array reference. Anyhow I used the getDeclaredConstructor() method which appears to get non-public constructors also and is basically the same as using the getConstructor() method.
    import java.lang.reflect.*;
    public class Test35 {
        static public void main(String[] args) {
            Test35 t35 = new Test35();
            t35.testIt();
        private class Inner {
            public String toString() {
                return "Hear I am";
        public void testIt() {
            try {
                Constructor con = Inner.class.getDeclaredConstructor(new Class[] {Test35.class});
                Inner in = (Inner)con.newInstance(new Object[] {this});
                System.out.println(in);
            } catch (Exception e) {
                e.printStackTrace();

  • How to instantiate class via reflection

    Hi, I want to generically instatiate classes, but obviously Class.newInstance only works if the class has a public no args constructor. Is there any way to instantiate classes without such a constructor via reflection? It would be sufficient for me if I could use a private no args constructor.
    I already tried the following:
    Class clazz = Class.forName( "classname" );
    Constructor constructor =
    clazz.getDeclaredConstructor( new Class[] { } );
    constructor.setAccessible( true );
    object = constructor.newInstance( new Object[] {} );
    But it, too, yielded to an IllegalAccessException.

    Class clazz = Class.forName( "classname" );
    Constructor constructor =
    clazz.getDeclaredConstructor( new Class[] { } );
    constructor.setAccessible( true );
    object = constructor.newInstance( new Object[] {} );
    But it, too, yielded to an IllegalAccessException.constructor.setAccessible( true );
    is the call that generates the IllegalAccessException. Your code must be allowed to supress access checks. This is always the case if you don't have a security manager, otherwise the security manger's checkPermission method is called with an ReflectPermission("supressAccessChecks") argument.
    Either that or the getDeclaredConstructor throws the exception, in that case your code must be allowed to "check member access".
    Hope it helped,
    Daniel

Maybe you are looking for

  • Widescreen project too wide for my widescreen TV?!

    Hi everyone! So I'm going nutz and have read a bunch of other threads on this but most of it is way over my head. Can someone help out a layman? I just made a movie on iMovie and then moved it to iDVD. I am using iLife 08. The projects (the movie and

  • SVG Plugin and Operation Can't be Completed Error Msg

    Just added the HTML5 Pack to Illustrator and now I get two error msgs every time I open Illustrator that says "error loading plugins SVG file format.aip" and a "Operation cannot be complete because of an unknown error." Is there a fix to this? I'm on

  • Skype Business - Is this scenario possible?

    Hi, Good evening! I'm running a company based in Australia and I'm fairly new to telecommunications so I'd like to know a few things about Skype Business.  I'd like to know if this scenario is possible with Skype Business or any related information t

  • .MOV to MPEG2

    I've converted FCP .mov files to MPEG2 using the Program Stream setting 100 times with no problem. Recently though, I CAN NOT get a workable conversion (video stops and starts, interlacing, motion blur, etc). It's a :30 spot for broadcast tv. Any sug

  • Cannot install/upgrade to 10.6

    I am one of those who purchased an Intel core 2 duo with 2GB ram macbook A1181 model from 2007. It came with a 10.6 Snow Leopard Osx. when the HD crashed, the DVD was so crappy that I cannot reinstall in in the new HD. I Just reinstall an older 10.4