From y.s.ramakrishna at oracle.com Wed Sep 1 16:19:31 2010 From: y.s.ramakrishna at oracle.com (Y. S. Ramakrishna) Date: Wed, 01 Sep 2010 09:19:31 -0700 Subject: Long GC pause time In-Reply-To: References: <4C7D49E4.6060908@oracle.com> <4C7D81CD.5050706@oracle.com>, <4C7D96F0.1060600@oracle.com> Message-ID: <4C7E7D13.3060400@oracle.com> On 09/01/10 07:32, noam katzowicz wrote: > Thanks for the quick response. > > ParallelRefProcEnabled really improved the weakref processing time. > > Regarding sizing the survivor space, how do you recommend to do it? > We tried in the past different newGen sizes, but due to the large > amounts of allocated objects, young gen gc introduced too > much latency. So, we decided to move the pressure to the CMS. In that case, use MaxTenuringThreshold=1. To size the survivor space, start with something reasonable, say -XX:SurvivorRatio=8 (say). Use -XX:+PrintTenuringDistribution to make sure you do not get survivor space overflow or tenuring before age 1 during your high load periods. Thence, iterate to an optimal SurvivorRatio setting. There is usually a "sweet spot" of tenuring threshold for most applications and pause time requirements, because promotion into the (free list based) old generation is usually more expensive than copying into the (contiguous/linear) survivor spaces. The idea with not promoting too soon is that if these Reference objects die in the young gen and are processed there, the cost of reclaiming them is spread over many more scavenges than having to be paid in a single CMS remark pause. Continue to use +PrintReferenceGC to look at the contribution of reference processing to each scavenge pause and to the remark pause times. -- ramki > > Thanks. > > > > Date: Tue, 31 Aug 2010 16:57:36 -0700 > > From: y.s.ramakrishna at oracle.com > > To: noam_kat at hotmail.com > > CC: hotspot-gc-use at openjdk.java.net > > Subject: Re: Long GC pause time > > > > oh, and -XX:+PrintReferenceGC to get more detail on > > what kind of Reference objects are causing the issue. > > > > -- ramki > > > > On 08/31/10 15:27, Y. S. Ramakrishna wrote: > > > Noam, also please provision and use the survivor spaces to age > > > objects and reduce pressure on CMS. The premature > > > promotion and subsequent death is probably exacerbating the > > > proliferating Ref object deaths (if i may be permitted an > > > oxymoron) in the old gen. > > > > > > -- ramki > > > > > > On 08/31/10 11:28, Jon Masamitsu wrote: > > >> Try -XX+ParallelRefProcEnabled > > >> > > >> Your spending much of the pause time doing Reference processing > > >> > > >> 89.867: [GC[YG occupancy: 420 K (274752 K)]89.867: [Rescan > (parallel) , > > >> 0.0242770 secs]89.892: [weak refs processing, 1.3860230 secs] [1 > > >> CMS-remark: 4198190K(6635136K)] 4198611K(6909888K), 1.4164670 secs] > > >> [Times: user=1.68 sys=0.01, real=1.41 secs] > > >> > > >> (see the "[weak refs processing, 1.3860230 secs]") so doing it in > > >> parallel might > > >> help. ParallelRefProcEnabled isn't always a win so it's not "on" by > > >> default. > > >> > > >> You might also try -XX:+CMSScavengeBeforeRemark. That's a just a > guess. > > >> Sometimes doing a minor collection before the remark helps. > > >> > > >> On 08/31/10 08:22, noam katzowicz wrote: > > >>> Hello. > > >>> > > >>> We are running JBoss AS over RH5, using java 6u21, with the > following > > >>> GC params: > > >>> > > >>> -Xms6750m -Xmx6750m > > >>> -XX:+UseConcMarkSweepGC > > >>> -XX:SurvivorRatio=128 > > >>> -XX:MaxTenuringThreshold=0 > > >>> -XX:+UseCompressedOops > > >>> -XX:CMSInitiatingOccupancyFraction=60 > > >>> -Dsun.rmi.dgc.client.gcInterval=3600000 > > >>> -Dsun.rmi.dgc.server.gcInterval=3600000 > > >>> -XX:+PrintGCTimeStamps -XX:+PrintGCDetails > -XX:+PrintTenuringDistribution > > >>> > > >>> We are experiencing relatively long GC pause time of over 1 second. > > >>> Our application allocates hundreds of MBs per second. We?ve tried > > >>> different generation sizes but the above was the best we came up > with. > > >>> Your help is appreciated. > > >>> > > >>> > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0596370 secs] > 4422502K->4173928K(6909888K), > > >>> 0.0606730 secs] [Times: user=0.44 sys=0.03, real=0.06 secs] > > >>> 89.486: [CMS-concurrent-preclean: 1.308/1.649 secs] [Times: > user=10.32 > > >>> sys=2.30, real=1.65 secs] > > >>> 89.487: [CMS-concurrent-abortable-preclean-start] > > >>> 89.804: [GC 89.804: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0603670 secs] > 4446568K->4198190K(6909888K), > > >>> 0.0614310 secs] [Times: user=0.48 sys=0.03, real=0.07 secs] > > >>> 89.866: [CMS-concurrent-abortable-preclean: 0.293/0.379 secs] > [Times: > > >>> user=2.42 sys=0.54, real=0.38 secs] > > >>> 89.867: [GC[YG occupancy: 420 K (274752 K)]89.867: [Rescan > (parallel) > > >>> , 0.0242770 secs]89.892: [weak refs processing, 1.3860230 secs] [1 > > >>> CMS-remark: 4198190K(6635136K)] 4198611K(6909888K), 1.4164670 secs] > > >>> [Times: user=1.68 sys=0.01, real=1.41 secs] > > >>> 91.284: [CMS-concurrent-sweep-start] > > >>> 91.590: [GC 91.591: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0675550 secs] > 4371287K->4128966K(6909888K), > > >>> 0.0683470 secs] [Times: user=0.56 sys=0.01, real=0.07 secs] > > >>> 91.860: [GC 91.860: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0604320 secs] > 4308368K->4053829K(6909888K), > > >>> 0.0612020 secs] [Times: user=0.41 sys=0.01, real=0.06 secs] > > >>> 92.786: [GC 92.787: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.1028730 secs] > 3964957K->3753351K(6909888K), > > >>> 0.1038490 secs] [Times: user=0.80 sys=0.02, real=0.10 secs] > > >>> 93.106: [GC 93.107: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0487000 secs] > 3949085K->3699496K(6909888K), > > >>> 0.0494470 secs] [Times: user=0.32 sys=0.01, real=0.05 secs] > > >>> 93.371: [GC 93.371: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0430620 secs] > 3905862K->3652769K(6909888K), > > >>> 0.0438800 secs] [Times: user=0.33 sys=0.01, real=0.05 secs] > > >>> 94.637: [GC 94.638: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0564930 secs] > 3416325K->3164258K(6909888K), > > >>> 0.0575000 secs] [Times: user=0.44 sys=0.02, real=0.06 secs] > > >>> 94.863: [CMS-concurrent-sweep: 3.107/3.578 secs] [Times: user=16.85 > > >>> sys=3.23, real=3.58 secs] > > >>> 94.863: [CMS-concurrent-reset-start] > > >>> 94.878: [CMS-concurrent-reset: 0.015/0.015 secs] [Times: user=0.03 > > >>> sys=0.01, real=0.02 secs] > > >>> 95.981: [GC 95.981: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0514980 secs] > 3405940K->3152334K(6909888K), > > >>> 0.0524610 secs] [Times: user=0.44 sys=0.01, real=0.05 secs] > > >>> 100.179: [GC 100.180: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0676510 secs] > 3424974K->3178150K(6909888K), > > >>> 0.0686240 secs] [Times: user=0.58 sys=0.00, real=0.07 secs] > > >>> 100.909: [GC 100.909: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0707060 secs] > 3450790K->3202638K(6909888K), > > >>> 0.0717030 secs] [Times: user=0.55 sys=0.01, real=0.07 secs] > > >>> 101.613: [GC 101.613: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272636K->0K(274752K), 0.0667270 secs] > 3475274K->3224061K(6909888K), > > >>> 0.0678240 secs] [Times: user=0.50 sys=0.01, real=0.07 secs] > > >>> 102.072: [GC 102.073: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272635K->0K(274752K), 0.0590350 secs] > 3496696K->3241246K(6909888K), > > >>> 0.0601190 secs] [Times: user=0.44 sys=0.00, real=0.06 secs] > > >>> 102.756: [GC 102.756: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272613K->0K(274752K), 0.0630060 secs] > 3513860K->3262602K(6909888K), > > >>> 0.0640320 secs] [Times: user=0.49 sys=0.00, real=0.07 secs] > > >>> 103.452: [GC 103.453: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0533390 secs] > 3535242K->3280184K(6909888K), > > >>> 0.0543760 secs] [Times: user=0.41 sys=0.01, real=0.06 secs] > > >>> 104.462: [GC 104.462: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0729890 secs] > 3552824K->3299003K(6909888K), > > >>> 0.0740260 secs] [Times: user=0.48 sys=0.01, real=0.07 secs] > > >>> 106.274: [GC 106.274: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0609880 secs] > 3571643K->3314370K(6909888K), > > >>> 0.0619510 secs] [Times: user=0.41 sys=0.00, real=0.06 secs] > > >>> 108.154: [GC 108.155: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.1251050 secs] > 3587010K->3343996K(6909888K), > > >>> 0.1261630 secs] [Times: user=0.71 sys=0.02, real=0.13 secs] > > >>> 108.882: [GC 108.883: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0952060 secs] > 3616636K->3369490K(6909888K), > > >>> 0.0962930 secs] [Times: user=0.64 sys=0.01, real=0.10 secs] > > >>> 109.482: [GC 109.482: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272936K->0K(274752K), 0.0791270 secs] > 3642426K->3392040K(6909888K), > > >>> 0.0800830 secs] [Times: user=0.53 sys=0.01, real=0.08 secs] > > >>> 109.948: [GC 109.949: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 273038K->0K(274752K), 0.0835410 secs] > 3665079K->3417813K(6909888K), > > >>> 0.0845680 secs] [Times: user=0.57 sys=0.00, real=0.08 secs] > > >>> 110.035: [GC 110.035: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 64K->0K(274752K), 0.0088490 secs] 3417877K->3417828K(6909888K), > > >>> 0.0093860 secs] [Times: user=0.09 sys=0.00, real=0.01 secs] > > >>> 110.484: [GC 110.485: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0880810 secs] > 3690468K->3443727K(6909888K), > > >>> 0.0890560 secs] [Times: user=0.59 sys=0.00, real=0.09 secs] > > >>> 110.910: [GC 110.910: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0860790 secs] > 3716367K->3475451K(6909888K), > > >>> 0.0870070 secs] [Times: user=0.58 sys=0.02, real=0.08 secs] > > >>> 111.276: [GC 111.277: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272639K->0K(274752K), 0.0772230 secs] > 3748091K->3503686K(6909888K), > > >>> 0.0782780 secs] [Times: user=0.47 sys=0.02, real=0.08 secs] > > >>> 111.658: [GC 111.659: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0754700 secs] > 3776326K->3532682K(6909888K), > > >>> 0.0763440 secs] [Times: user=0.54 sys=0.01, real=0.07 secs] > > >>> 112.068: [GC 112.068: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0705680 secs] > 3805322K->3559619K(6909888K), > > >>> 0.0714610 secs] [Times: user=0.47 sys=0.02, real=0.07 secs] > > >>> 112.497: [GC 112.498: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0779750 secs] > 3832259K->3589461K(6909888K), > > >>> 0.0788830 secs] [Times: user=0.50 sys=0.01, real=0.08 secs] > > >>> 112.911: [GC 112.911: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0728900 secs] > 3862101K->3616744K(6909888K), > > >>> 0.0738560 secs] [Times: user=0.52 sys=0.00, real=0.07 secs] > > >>> 113.362: [GC 113.363: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0609030 secs] > 3889384K->3638477K(6909888K), > > >>> 0.0619050 secs] [Times: user=0.44 sys=0.01, real=0.06 secs] > > >>> 113.829: [GC 113.829: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272614K->0K(274752K), 0.0641940 secs] > 3911091K->3659305K(6909888K), > > >>> 0.0653490 secs] [Times: user=0.48 sys=0.01, real=0.06 secs] > > >>> 114.311: [GC 114.311: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0618170 secs] > 3931945K->3681619K(6909888K), > > >>> 0.0626970 secs] [Times: user=0.50 sys=0.01, real=0.06 secs] > > >>> 114.841: [GC 114.842: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0670890 secs] > 3954259K->3711036K(6909888K), > > >>> 0.0680540 secs] [Times: user=0.52 sys=0.02, real=0.07 secs] > > >>> 115.356: [GC 115.357: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0623700 secs] > 3983676K->3737945K(6909888K), > > >>> 0.0633630 secs] [Times: user=0.49 sys=0.00, real=0.07 secs] > > >>> 115.829: [GC 115.830: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0665900 secs] > 4010585K->3766876K(6909888K), > > >>> 0.0676240 secs] [Times: user=0.51 sys=0.01, real=0.06 secs] > > >>> 116.271: [GC 116.271: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272630K->0K(274752K), 0.0594280 secs] > 4039506K->3796861K(6909888K), > > >>> 0.0603620 secs] [Times: user=0.46 sys=0.02, real=0.06 secs] > > >>> 116.716: [GC 116.717: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0724150 secs] > 4069501K->3825191K(6909888K), > > >>> 0.0733430 secs] [Times: user=0.52 sys=0.01, real=0.08 secs] > > >>> 117.145: [GC 117.146: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0664990 secs] > 4097831K->3853057K(6909888K), > > >>> 0.0675760 secs] [Times: user=0.48 sys=0.00, real=0.07 secs] > > >>> 117.543: [GC 117.545: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0650350 secs] > 4125697K->3880562K(6909888K), > > >>> 0.0673450 secs] [Times: user=0.49 sys=0.01, real=0.07 secs] > > >>> 117.956: [GC 117.956: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0664410 secs] > 4153202K->3907935K(6909888K), > > >>> 0.0673980 secs] [Times: user=0.49 sys=0.02, real=0.07 secs] > > >>> 118.385: [GC 118.386: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272631K->0K(274752K), 0.0655070 secs] > 4180566K->3934925K(6909888K), > > >>> 0.0664120 secs] [Times: user=0.50 sys=0.01, real=0.07 secs] > > >>> 118.826: [GC 118.827: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272608K->0K(274752K), 0.0605390 secs] > 4207533K->3964211K(6909888K), > > >>> 0.0616050 secs] [Times: user=0.50 sys=0.02, real=0.06 secs] > > >>> 119.233: [GC 119.234: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0656870 secs] > 4236851K->3991065K(6909888K), > > >>> 0.0666900 secs] [Times: user=0.50 sys=0.02, real=0.07 secs] > > >>> 119.301: [GC [1 CMS-initial-mark: 3991065K(6635136K)] > > >>> 3991071K(6909888K), 0.0091650 secs] [Times: user=0.01 sys=0.00, > > >>> real=0.01 secs] > > >>> 119.311: [CMS-concurrent-mark-start] > > >>> 119.699: [GC 119.699: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0647090 secs] > 4263705K->4019961K(6909888K), > > >>> 0.0656290 secs] [Times: user=0.53 sys=0.01, real=0.06 secs] > > >>> 120.081: [GC 120.082: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0641110 secs] > 4292601K->4048334K(6909888K), > > >>> 0.0649070 secs] [Times: user=0.50 sys=0.01, real=0.06 secs] > > >>> 120.538: [GC 120.539: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0677200 secs] > 4320974K->4075491K(6909888K), > > >>> 0.0687990 secs] [Times: user=0.49 sys=0.03, real=0.07 secs] > > >>> 120.621: [CMS-concurrent-mark: 1.076/1.310 secs] [Times: user=10.66 > > >>> sys=1.73, real=1.31 secs] > > >>> 120.621: [CMS-concurrent-preclean-start] > > >>> 120.942: [GC 120.943: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0736770 secs] > 4348131K->4104969K(6909888K), > > >>> 0.0747430 secs] [Times: user=0.51 sys=0.03, real=0.07 secs] > > >>> 121.337: [GC 121.338: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0569980 secs] > 4377609K->4126623K(6909888K), > > >>> 0.0579070 secs] [Times: user=0.48 sys=0.03, real=0.06 secs] > > >>> 121.766: [GC 121.767: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272615K->0K(274752K), 0.0590140 secs] > 4399238K->4148770K(6909888K), > > >>> 0.0599510 secs] [Times: user=0.44 sys=0.03, real=0.06 secs] > > >>> 122.174: [GC 122.175: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0531420 secs] > 4421410K->4167895K(6909888K), > > >>> 0.0540310 secs] [Times: user=0.45 sys=0.03, real=0.05 secs] > > >>> 122.257: [CMS-concurrent-preclean: 1.306/1.636 secs] [Times: > > >>> user=10.25 sys=2.21, real=1.63 secs] > > >>> 122.257: [CMS-concurrent-abortable-preclean-start] > > >>> 122.631: [GC 122.631: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0528220 secs] > 4440535K->4187654K(6909888K), > > >>> 0.0537160 secs] [Times: user=0.46 sys=0.02, real=0.05 secs] > > >>> 122.696: [CMS-concurrent-abortable-preclean: 0.355/0.439 secs] > [Times: > > >>> user=2.50 sys=0.52, real=0.44 secs] > > >>> 122.698: [GC[YG occupancy: 7874 K (274752 K)]122.698: [Rescan > > >>> (parallel) , 0.0253430 secs]122.723: [weak refs processing, > 1.1038100 > > >>> secs] [1 CMS-remark: 4187654K(6635136K)] 4195529K(6909888K), > 1.1357970 > > >>> secs] [Times: user=1.42 sys=0.01, real=1.14 secs] > > >>> 123.834: [CMS-concurrent-sweep-start] > > >>> 124.060: [GC 124.061: [ParNew > > >>> Desired survivor size 1081344 bytes, new threshold 0 (max 0) > > >>> : 272640K->0K(274752K), 0.0690300 secs] > 4399395K->4167257K(6909888K), > > >>> 0.0698010 secs] [Times: user=0.52 sys=0.02, real=0.07 secs] > > >>> > > >>> > ------------------------------------------------------------------------ > > >>> > > >>> _______________________________________________ > > >>> hotspot-gc-use mailing list > > >>> hotspot-gc-use at openjdk.java.net > > >>> http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use > > >>> > > >> > ------------------------------------------------------------------------ > > >> > > >> _______________________________________________ > > >> hotspot-gc-use mailing list > > >> hotspot-gc-use at openjdk.java.net > > >> http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use > > > _______________________________________________ > > > hotspot-gc-use mailing list > > > hotspot-gc-use at openjdk.java.net > > > http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use _______________________________________________ hotspot-gc-use mailing list hotspot-gc-use at openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use From y.s.ramakrishna at oracle.com Fri Sep 3 19:45:43 2010 From: y.s.ramakrishna at oracle.com (Y. Srinivas Ramakrishna) Date: Fri, 03 Sep 2010 12:45:43 -0700 Subject: Fwd: negative pause times In-Reply-To: <4C814316.2040605@AngelikaLanger.com> References: <4C814316.2040605@AngelikaLanger.com> Message-ID: <4C815067.4010307@oracle.com> You are right. i suspect it'll screw up ergonomics (not just for G1, but for some of our other collectors as well, i suspect). We need to harden our ergonomics (i.e. at least so it does no evil, perhaps doing nothing and holding current control settings unchanged) when such time-freeze anomalies are encountered. I am not sure current ergonomic control deals properly with such situations, so an RFE may be in order in case one does not already exist. thanks. -- ramki Angelika Langer wrote: > Thanks for the hint. > > The negative pause times appeared in a GC traces that a colleague gave > us to share his experiences with G1. It was produced on Linux and quite > possibly using VMware. So, your hint helps explaining the negative > pause time. Thank you. > > Whether it is worth a bug report we do not know. The question is: does > the time drift affect G1 and its algorithms? After all, the collector > gathers statistics in order to figure out how long the next gc pause > will be. It must take time stamps for this purpose. > > Does G1 work reliably in a situation with time drift problems? > > Angelika > >>> Does anybody know off hand why the G1 log file shows negative pause > times? >>> >>> 222.121: [GC pause (young) 561M->528M(1005M), 0.0586070 secs] >>> 222.915: [GC pause (young) 576M->540M(1005M), 0.0447820 secs] >>> 223.763: [GC pause (young) 602M->562M(1005M), -0.7354870 secs] <======= >>> 225.572: [GC pause (young) 772M->632M(1005M), 0.0719350 secs] >>> >> Is this on Linux? Are you running NTP or otherwise causing TOD to >> be adjusted? (you might want to turn off NTP if the negative times >> bother you.) Are you running on VMware? (try a non-virtualized >> run to see if the problem reproduces.) The negative pause times >> we have seen in the past have usually been related to one of the >> other of the above. >> >> Please file a formal bug using your support credentials should >> you believe this is an issue that needs delving deeper, especially >> if you have a usable test case. > > > > _______________________________________________ > hotspot-gc-use mailing list > hotspot-gc-use at openjdk.java.net > http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use _______________________________________________ hotspot-gc-use mailing list hotspot-gc-use at openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use From tony.printezis at oracle.com Sat Sep 4 10:17:57 2010 From: tony.printezis at oracle.com (tony.printezis at oracle.com) Date: Sat, 04 Sep 2010 10:17:57 +0000 Subject: hg: jdk7/hotspot-gc/hotspot: 11 new changesets Message-ID: <20100904101837.239CB476FA@hg.openjdk.java.net> Changeset: c7004d700b49 Author: dholmes Date: 2010-08-25 21:29 -0400 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/c7004d700b49 6978641: Fix for 6929067 introduces additional overhead in thread creation/termination paths Summary: Disable stack bounds checks in product mode other than for the initial thread Reviewed-by: coleenp, jcoomes, aph ! src/os/linux/vm/os_linux.cpp Changeset: 2528b5bd749c Author: kamg Date: 2010-08-27 15:05 -0400 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/2528b5bd749c 6980262: Memory leak when exception is thrown in static initializer Summary: Use resource memory instead of c-heap for the exception message Reviewed-by: phh, jmasa ! src/share/vm/oops/instanceKlass.cpp Changeset: 8397081c7ac1 Author: dcubed Date: 2010-08-27 21:31 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/8397081c7ac1 Merge Changeset: f208bf19192d Author: tonyp Date: 2010-08-30 10:58 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/f208bf19192d Merge Changeset: 14b92b91f460 Author: kvn Date: 2010-08-26 11:05 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/14b92b91f460 6976400: "Meet Not Symmetric" Summary: Use NULL as klass for TypeAryPtr::RANGE. Add klass verification into TypeAryPtr ctor. Reviewed-by: never ! src/share/vm/opto/type.cpp ! src/share/vm/opto/type.hpp Changeset: 0878d7bae69f Author: twisti Date: 2010-08-27 01:51 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/0878d7bae69f 6961697: move nmethod constants section before instruction section Summary: This is a preparation for 6961690. Reviewed-by: kvn, never ! src/share/vm/asm/codeBuffer.cpp ! src/share/vm/asm/codeBuffer.hpp ! src/share/vm/code/codeBlob.cpp ! src/share/vm/code/nmethod.cpp ! src/share/vm/code/nmethod.hpp ! src/share/vm/code/relocInfo.cpp ! src/share/vm/code/relocInfo.hpp Changeset: d6f45b55c972 Author: never Date: 2010-08-27 17:33 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/d6f45b55c972 4809552: Optimize Arrays.fill(...) Reviewed-by: kvn ! src/cpu/sparc/vm/stubGenerator_sparc.cpp ! src/cpu/x86/vm/assembler_x86.cpp ! src/cpu/x86/vm/assembler_x86.hpp ! src/cpu/x86/vm/stubGenerator_x86_32.cpp ! src/cpu/x86/vm/stubGenerator_x86_64.cpp ! src/share/vm/includeDB_compiler2 ! src/share/vm/opto/addnode.cpp ! src/share/vm/opto/c2_globals.hpp ! src/share/vm/opto/loopTransform.cpp ! src/share/vm/opto/loopnode.cpp ! src/share/vm/opto/loopnode.hpp ! src/share/vm/opto/runtime.cpp ! src/share/vm/opto/runtime.hpp ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/stubRoutines.cpp ! src/share/vm/runtime/stubRoutines.hpp ! src/share/vm/utilities/globalDefinitions.hpp Changeset: 14197af1010e Author: never Date: 2010-08-27 17:35 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/14197af1010e Merge ! src/share/vm/includeDB_compiler2 ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/stubRoutines.cpp Changeset: 114e6b93e9e1 Author: kvn Date: 2010-08-30 11:02 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/114e6b93e9e1 6980978: assert(mt == t->xmeet(this)) failed: meet not commutative Summary: Fix code in TypeAryPtr::xmeet() for constant array. Reviewed-by: never ! src/share/vm/opto/type.cpp Changeset: 02f0a9b6f654 Author: never Date: 2010-08-30 17:27 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/02f0a9b6f654 6969586: OptimizeStringConcat: SIGSEGV in LoadNode::Value() Reviewed-by: kvn ! src/share/vm/opto/memnode.cpp Changeset: dee553c74493 Author: never Date: 2010-09-01 00:40 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/dee553c74493 Merge From bluedavy at gmail.com Mon Sep 6 09:26:09 2010 From: bluedavy at gmail.com (BlueDavy Lin) Date: Mon, 6 Sep 2010 17:26:09 +0800 Subject: strange gc log Message-ID: hi! can someone help to see the gc log,it seems very strange,I want to know why cms gc executes so frequency and why full gc executes? the java startup args: -server -Xms4g -Xmx4g -XX:PermSize=256m -XX:MaxPermSize=256m -Xmn2560m -XX:+UseCompressedOops -XX:SurvivorRatio=10 -XX:+UseConcMarkSweepGC -XX:CMSMaxAbortablePrecleanTime=5000 -XX:+CMSClassUnloadingEnabled -XX:CMSInitiatingOccupancyFraction=80 -XX:+DisableExplicitGC os: linux 2.6.18 x86_64 jdk: 1.6.0_21 gc log: 2010-09-05T14:16:01.836+0800: 684.499: [GC [1 CMS-initial-mark: 1242572K(1572864K)] 2479836K(3975872K), 0.0197940 secs] [Times: user=0.02 sys=0.00, real=0.03 secs] 2010-09-05T14:16:01.856+0800: 684.519: [CMS-concurrent-mark-start] 2010-09-05T14:16:03.054+0800: 685.717: [CMS-concurrent-mark: 1.188/1.198 secs] [Times: user=3.11 sys=0.06, real=1.20 secs] 2010-09-05T14:16:03.054+0800: 685.717: [CMS-concurrent-preclean-start] 2010-09-05T14:16:03.067+0800: 685.730: [CMS-concurrent-preclean: 0.011/0.013 secs] [Times: user=0.04 sys=0.01, real=0.01 secs] 2010-09-05T14:16:03.067+0800: 685.730: [CMS-concurrent-abortable-preclean-start] CMS: abort preclean due to time 2010-09-05T14:16:08.085+0800: 690.748: [CMS-concurrent-abortable-preclean: 4.728/5.017 secs] [Times: user=12.12 sys=0.41, real=5.02 secs] 2010-09-05T14:16:08.094+0800: 690.757: [GC[YG occupancy: 2059988 K (2403008 K)]690.757: [Rescan (parallel) , 0.5824240 secs]691.340: [weak refs processing, 0.0000830 secs]691.340: [class unloading, 0.0142850 secs]691.354: [scrub symbol & string tables, 0.0107830 secs] [1 CMS-remark: 1242572K(1572864K)] 3302560K(3975872K), 0.6142790 secs] [Times: user=0.90 sys=0.00, real=0.61 secs] 2010-09-05T14:16:08.724+0800: 691.387: [CMS-concurrent-sweep-start] 2010-09-05T14:16:09.285+0800: 691.948: [CMS-concurrent-sweep: 0.537/0.561 secs] [Times: user=1.62 sys=0.07, real=0.57 secs] 2010-09-05T14:16:09.285+0800: 691.948: [CMS-concurrent-reset-start] 2010-09-05T14:16:09.289+0800: 691.952: [CMS-concurrent-reset: 0.004/0.004 secs] [Times: user=0.00 sys=0.00, real=0.01 secs] 2010-09-05T14:16:09.686+0800: 692.349: [GC 692.349: [ParNew: 2249591K->2249591K(2403008K), 0.0000280 secs]692.349: [CMS: 1114272K->587057K(1572864K), 2.9468320 secs] 3363863K->1746311K(3975872K), [CMS Perm : 95684K->95670K(262144K)], 2.9472510 secs] [Times: user=2.95 sys=0.00, real=2.95 secs] 2010-09-05T14:16:12.633+0800: 695.296: [Full GC 695.296: [CMS: 587057K->585692K(1572864K), 2.6811650 secs] 1746311K->1744909K(3975872K), [CMS Perm : 95670K->94666K(262144K)], 2.6814300 secs] [Times: user=2.68 sys=0.00, real=2.68 secs] 2010-09-05T14:16:22.052+0800: 704.715: [GC 704.716: [ParNew: 2184576K->160953K(2403008K), 0.1662390 secs] 2770268K->746646K(3975872K), 0.1667690 secs] [Times: user=0.64 sys=0.00, real=0.17 secs] 2010-09-05T14:16:35.833+0800: 718.496: [GC 718.496: [ParNew: 2345529K->116941K(2403008K), 0.1740300 secs] 2931222K->1323305K(3975872K), 0.1744060 secs] [Times: user=0.34 sys=0.00, real=0.18 secs] 2010-09-05T14:16:36.026+0800: 718.689: [GC [1 CMS-initial-mark: 1206364K(1572864K)] 1336022K(3975872K), 0.0104660 secs] [Times: user=0.01 sys=0.00, real=0.01 secs] 2010-09-05T14:16:36.037+0800: 718.700: [CMS-concurrent-mark-start] 2010-09-05T14:16:37.310+0800: 719.973: [CMS-concurrent-mark: 1.256/1.273 secs] [Times: user=2.83 sys=0.03, real=1.27 secs] 2010-09-05T14:16:37.310+0800: 719.973: [CMS-concurrent-preclean-start] 2010-09-05T14:16:37.323+0800: 719.987: [CMS-concurrent-preclean: 0.011/0.013 secs] [Times: user=0.02 sys=0.00, real=0.01 secs] 2010-09-05T14:16:37.324+0800: 719.987: [CMS-concurrent-abortable-preclean-start] 2010-09-05T14:16:38.886+0800: 721.549: [CMS-concurrent-abortable-preclean: 0.591/1.563 secs] [Times: user=2.49 sys=0.03, real=1.57 secs] 2010-09-05T14:16:39.276+0800: 721.939: [GC[YG occupancy: 1417682 K (2403008 K)]721.939: [Rescan (parallel) , 0.0897100 secs]722.029: [weak refs processing, 0.0034310 secs]722.032: [class unloading, 0.0287520 secs]722.061: [scrub symbol & string tables, 0.0106100 secs] [1 CMS-remark: 1206364K(1572864K)] 2624046K(3975872K), 0.1391780 secs] [Times: user=0.29 sys=0.00, real=0.14 secs] 2010-09-05T14:16:39.415+0800: 722.078: [CMS-concurrent-sweep-start] 2010-09-05T14:16:39.876+0800: 722.539: [CMS-concurrent-sweep: 0.460/0.460 secs] [Times: user=1.27 sys=0.06, real=0.46 secs] 2010-09-05T14:16:39.876+0800: 722.539: [CMS-concurrent-reset-start] 2010-09-05T14:16:39.880+0800: 722.543: [CMS-concurrent-reset: 0.004/0.004 secs] [Times: user=0.01 sys=0.00, real=0.01 secs] 2010-09-05T14:16:40.463+0800: 723.126: [GC [1 CMS-initial-mark: 1184963K(1572864K)] 2729912K(3975872K), 0.3193890 secs] [Times: user=0.32 sys=0.00, real=0.32 secs] 2010-09-05T14:16:40.782+0800: 723.446: [CMS-concurrent-mark-start] 2010-09-05T14:16:41.949+0800: 724.612: [CMS-concurrent-mark: 1.167/1.167 secs] [Times: user=2.84 sys=0.12, real=1.17 secs] 2010-09-05T14:16:41.949+0800: 724.612: [CMS-concurrent-preclean-start] 2010-09-05T14:16:41.965+0800: 724.628: [CMS-concurrent-preclean: 0.013/0.016 secs] [Times: user=0.02 sys=0.01, real=0.02 secs] 2010-09-05T14:16:41.965+0800: 724.628: [CMS-concurrent-abortable-preclean-start] 2010-09-05T14:16:46.912+0800: 729.575: [GC 729.575: [ParNew: 2101741K->2101741K(2403008K), 0.0000280 secs]729.575: [CMS2010-09-05T14:16:46.913+0800: 729.577: [CMS-concurrent-abortable-preclean: 2.175/4.948 secs] [Times: user=8.40 sys=0.20, real=4.94 secs] (concurrent mode failure): 1184963K->648104K(1572864K), 3.2280790 secs] 3286704K->1752744K(3975872K), [CMS Perm : 95838K->95825K(262144K)], 3.2284640 secs] [Times: user=3.23 sys=0.00, real=3.23 secs] 2010-09-05T14:16:50.140+0800: 732.803: [Full GC 732.803: [CMS: 648104K->646954K(1572864K), 2.2277720 secs] 1752744K->1751573K(3975872K), [CMS Perm : 95825K->94698K(262144K)], 2.2280240 secs] [Times: user=2.22 sys=0.01, real=2.22 secs] 2010-09-05T14:16:52.456+0800: 735.119: [GC [1 CMS-initial-mark: 646954K(1572864K)] 1848970K(3975872K), 0.0460980 secs] [Times: user=0.04 sys=0.00, real=0.04 secs] 2010-09-05T14:16:52.503+0800: 735.166: [CMS-concurrent-mark-start] 2010-09-05T14:16:54.948+0800: 737.611: [CMS-concurrent-mark: 1.927/2.444 secs] [Times: user=6.68 sys=0.88, real=2.45 secs] 2010-09-05T14:16:54.948+0800: 737.611: [CMS-concurrent-preclean-start] 2010-09-05T14:16:55.346+0800: 738.009: [GC 738.009: [ParNew: 2127836K->218432K(2403008K), 0.1695320 secs] 2774791K->865770K(3975872K), 0.1701180 secs] [Times: user=0.65 sys=0.00, real=0.16 secs] 2010-09-05T14:16:56.149+0800: 738.812: [CMS-concurrent-preclean: 1.014/1.202 secs] [Times: user=2.97 sys=0.05, real=1.20 secs] 2010-09-05T14:16:56.150+0800: 738.813: [CMS-concurrent-abortable-preclean-start] 2010-09-05T14:16:59.504+0800: 742.167: [CMS-concurrent-abortable-preclean: 2.722/3.354 secs] [Times: user=7.02 sys=0.08, real=3.35 secs] 2010-09-05T14:16:59.509+0800: 742.172: [GC[YG occupancy: 1311433 K (2403008 K)]742.173: [Rescan (parallel) , 0.0650310 secs]742.238: [weak refs processing, 0.0000140 secs]742.238: [class unloading, 0.0146320 secs]742.252: [scrub symbol & string tables, 0.0109040 secs] [1 CMS-remark: 647338K(1572864K)] 1958771K(3975872K), 0.0973620 secs] [Times: user=0.27 sys=0.00, real=0.10 secs] 2010-09-05T14:16:59.608+0800: 742.271: [CMS-concurrent-sweep-start] 2010-09-05T14:17:00.061+0800: 742.724: [CMS-concurrent-sweep: 0.453/0.453 secs] [Times: user=1.13 sys=0.03, real=0.45 secs] 2010-09-05T14:17:00.061+0800: 742.724: [CMS-concurrent-reset-start] 2010-09-05T14:17:00.065+0800: 742.728: [CMS-concurrent-reset: 0.004/0.004 secs] [Times: user=0.01 sys=0.00, real=0.01 secs] 2010-09-05T14:17:00.948+0800: 743.611: [GC 743.612: [ParNew: 1462330K->52761K(2403008K), 0.1786850 secs] 2090139K->1255261K(3975872K), 0.1791020 secs] [Times: user=0.43 sys=0.00, real=0.18 secs] 2010-09-05T14:17:01.325+0800: 743.989: [GC [1 CMS-initial-mark: 1202500K(1572864K)] 2304040K(3975872K), 0.0081610 secs] [Times: user=0.01 sys=0.00, real=0.01 secs] 2010-09-05T14:17:01.334+0800: 743.997: [CMS-concurrent-mark-start] 2010-09-05T14:17:02.514+0800: 745.177: [CMS-concurrent-mark: 1.162/1.180 secs] [Times: user=2.82 sys=0.06, real=1.18 secs] 2010-09-05T14:17:02.514+0800: 745.177: [CMS-concurrent-preclean-start] 2010-09-05T14:17:02.528+0800: 745.191: [CMS-concurrent-preclean: 0.012/0.014 secs] [Times: user=0.04 sys=0.00, real=0.01 secs] 2010-09-05T14:17:02.528+0800: 745.191: [CMS-concurrent-abortable-preclean-start] CMS: abort preclean due to time 2010-09-05T14:17:07.576+0800: 750.239: [CMS-concurrent-abortable-preclean: 2.221/5.047 secs] [Times: user=9.10 sys=0.30, real=5.05 secs] 2010-09-05T14:17:07.602+0800: 750.265: [GC[YG occupancy: 1713121 K (2403008 K)]750.265: [Rescan (parallel) , 0.4983770 secs]750.763: [weak refs processing, 0.0000300 secs]750.763: [class unloading, 0.0316270 secs]750.795: [scrub symbol & string tables, 0.0106300 secs] [1 CMS-remark: 1202500K(1572864K)] 2915621K(3975872K), 0.5473800 secs] [Times: user=0.84 sys=0.00, real=0.55 secs] 2010-09-05T14:17:08.150+0800: 750.813: [CMS-concurrent-sweep-start] 2010-09-05T14:17:08.613+0800: 751.276: [CMS-concurrent-sweep: 0.463/0.463 secs] [Times: user=1.07 sys=0.06, real=0.47 secs] 2010-09-05T14:17:08.613+0800: 751.276: [CMS-concurrent-reset-start] 2010-09-05T14:17:08.617+0800: 751.280: [CMS-concurrent-reset: 0.004/0.004 secs] [Times: user=0.00 sys=0.00, real=0.00 secs] 2010-09-05T14:17:08.964+0800: 751.627: [GC 751.627: [ParNew: 1791951K->1791951K(2403008K), 0.0000280 secs]751.627: [CMS: 1187947K->650228K(1572864K), 2.6818560 secs] 2979898K->1752988K(3975872K), [CMS Perm : 96066K->96052K(262144K)], 2.6823340 secs] [Times: user=2.68 sys=0.00, real=2.68 secs] 2010-09-05T14:17:11.647+0800: 754.310: [Full GC 754.310: [CMS: 650228K->648975K(1572864K), 2.2741560 secs] 1752988K->1751698K(3975872K), [CMS Perm : 96052K->94725K(262144K)], 2.2744930 secs] [Times: user=2.28 sys=0.00, real=2.27 secs] 2010-09-05T14:17:13.931+0800: 756.594: [GC [1 CMS-initial-mark: 648975K(1572864K)] 1752021K(3975872K), 0.0096910 secs] [Times: user=0.02 sys=0.00, real=0.01 secs] 2010-09-05T14:17:13.941+0800: 756.604: [CMS-concurrent-mark-start] 2010-09-05T14:17:16.221+0800: 758.884: [CMS-concurrent-mark: 1.747/2.279 secs] [Times: user=4.71 sys=0.97, real=2.28 secs] 2010-09-05T14:17:16.221+0800: 758.884: [CMS-concurrent-preclean-start] 2010-09-05T14:17:17.333+0800: 759.996: [CMS-concurrent-preclean: 1.094/1.112 secs] [Times: user=1.48 sys=0.03, real=1.12 secs] 2010-09-05T14:17:17.333+0800: 759.996: [CMS-concurrent-abortable-preclean-start] 2010-09-05T14:17:21.890+0800: 764.553: [GC 764.553: [ParNew (promotion failed): 2184576K->2295598K(2403008K), 0.4990260 secs]765.052: [CMS CMS: abort preclean due to time 2010-09-05T14:17:23.477+0800: 766.140: [CMS-concurrent-abortable-preclean: 2.000/6.144 secs] [Times: user=4.47 sys=0.21, real=6.14 secs] (concurrent mode failure): 648978K->709070K(1572864K), 4.0372860 secs] 2833551K->709070K(3975872K), [CMS Perm : 96317K->95399K(262144K)], 4.5369600 secs] [Times: user=4.99 sys=0.00, real=4.54 secs] 2010-09-05T14:17:48.656+0800: 791.319: [GC 791.320: [ParNew: 2184563K->147456K(2403008K), 0.0281760 secs] 2893633K->856526K(3975872K), 0.0287130 secs] [Times: user=0.09 sys=0.00, real=0.03 secs] 2010-09-05T14:18:14.627+0800: 817.290: [GC 817.290: [ParNew: 2332032K->152747K(2403008K), 0.0383970 secs] 3041102K->861817K(3975872K), 0.0387980 secs] [Times: user=0.08 sys=0.00, real=0.04 secs] -- ============================= |? ?? BlueDavy? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | |? ?? OSGi China User Group Director? ? | |? ?? http://china.osgiusers.org? ? ? ? ? ? ?? | |? ?? http://www.bluedavy.com? ?? | ============================= From y.s.ramakrishna at oracle.com Tue Sep 7 22:07:51 2010 From: y.s.ramakrishna at oracle.com (Y. S. Ramakrishna) Date: Tue, 07 Sep 2010 15:07:51 -0700 Subject: strange gc log In-Reply-To: References: Message-ID: <4C86B7B7.6070602@oracle.com> Do you have a longer/more complete GC log, or is this all of the log you have? It is possible that you have some rather large objects that survive for a short while and then die. This seems to be fragmenting the old generation quite considerably. Did you try to use a heap say twice as large to see if the behaviour is any better? Running with -XX:PrintFLSStatistics=1 -XX:PrintCMSStatistics=1 -XX:+PrintHeapAtGC might provide a bit more information. (PS: can you send the log file as an attachment, so that your editor does not insert line-breaks into the log file?) -- ramki On 09/06/10 02:26, BlueDavy Lin wrote: > hi! > > can someone help to see the gc log,it seems very strange,I want > to know why cms gc executes so frequency and why full gc executes? > > the java startup args: > -server -Xms4g -Xmx4g -XX:PermSize=256m -XX:MaxPermSize=256m > -Xmn2560m -XX:+UseCompressedOops -XX:SurvivorRatio=10 > -XX:+UseConcMarkSweepGC -XX:CMSMaxAbortablePrecleanTime=5000 > -XX:+CMSClassUnloadingEnabled -XX:CMSInitiatingOccupancyFraction=80 > -XX:+DisableExplicitGC > > os: linux 2.6.18 x86_64 > jdk: 1.6.0_21 > > gc log: > > 2010-09-05T14:16:01.836+0800: 684.499: [GC [1 CMS-initial-mark: > 1242572K(1572864K)] 2479836K(3975872K), 0.0197940 secs] [Times: > user=0.02 sys=0.00, real=0.03 secs] > 2010-09-05T14:16:01.856+0800: 684.519: [CMS-concurrent-mark-start] > 2010-09-05T14:16:03.054+0800: 685.717: [CMS-concurrent-mark: > 1.188/1.198 secs] [Times: user=3.11 sys=0.06, real=1.20 secs] > 2010-09-05T14:16:03.054+0800: 685.717: [CMS-concurrent-preclean-start] > 2010-09-05T14:16:03.067+0800: 685.730: [CMS-concurrent-preclean: > 0.011/0.013 secs] [Times: user=0.04 sys=0.01, real=0.01 secs] > 2010-09-05T14:16:03.067+0800: 685.730: [CMS-concurrent-abortable-preclean-start] > CMS: abort preclean due to time 2010-09-05T14:16:08.085+0800: > 690.748: [CMS-concurrent-abortable-preclean: 4.728/5.017 secs] [Times: > user=12.12 sys=0.41, real=5.02 secs] > 2010-09-05T14:16:08.094+0800: 690.757: [GC[YG occupancy: 2059988 K > (2403008 K)]690.757: [Rescan (parallel) , 0.5824240 secs]691.340: > [weak refs processing, 0.0000830 secs]691.340: [class unloading, > 0.0142850 secs]691.354: [scrub symbol & string tables, 0.0107830 secs] > [1 CMS-remark: 1242572K(1572864K)] 3302560K(3975872K), 0.6142790 secs] > [Times: user=0.90 sys=0.00, real=0.61 secs] > 2010-09-05T14:16:08.724+0800: 691.387: [CMS-concurrent-sweep-start] > 2010-09-05T14:16:09.285+0800: 691.948: [CMS-concurrent-sweep: > 0.537/0.561 secs] [Times: user=1.62 sys=0.07, real=0.57 secs] > 2010-09-05T14:16:09.285+0800: 691.948: [CMS-concurrent-reset-start] > 2010-09-05T14:16:09.289+0800: 691.952: [CMS-concurrent-reset: > 0.004/0.004 secs] [Times: user=0.00 sys=0.00, real=0.01 secs] > 2010-09-05T14:16:09.686+0800: 692.349: [GC 692.349: [ParNew: > 2249591K->2249591K(2403008K), 0.0000280 secs]692.349: [CMS: > 1114272K->587057K(1572864K), 2.9468320 secs] > 3363863K->1746311K(3975872K), [CMS Perm : 95684K->95670K(262144K)], > 2.9472510 secs] [Times: user=2.95 sys=0.00, real=2.95 secs] > 2010-09-05T14:16:12.633+0800: 695.296: [Full GC 695.296: [CMS: > 587057K->585692K(1572864K), 2.6811650 secs] > 1746311K->1744909K(3975872K), [CMS Perm : 95670K->94666K(262144K)], > 2.6814300 secs] [Times: user=2.68 sys=0.00, real=2.68 secs] > 2010-09-05T14:16:22.052+0800: 704.715: [GC 704.716: [ParNew: > 2184576K->160953K(2403008K), 0.1662390 secs] > 2770268K->746646K(3975872K), 0.1667690 secs] [Times: user=0.64 > sys=0.00, real=0.17 secs] > 2010-09-05T14:16:35.833+0800: 718.496: [GC 718.496: [ParNew: > 2345529K->116941K(2403008K), 0.1740300 secs] > 2931222K->1323305K(3975872K), 0.1744060 secs] [Times: user=0.34 > sys=0.00, real=0.18 secs] > 2010-09-05T14:16:36.026+0800: 718.689: [GC [1 CMS-initial-mark: > 1206364K(1572864K)] 1336022K(3975872K), 0.0104660 secs] [Times: > user=0.01 sys=0.00, real=0.01 secs] > 2010-09-05T14:16:36.037+0800: 718.700: [CMS-concurrent-mark-start] > 2010-09-05T14:16:37.310+0800: 719.973: [CMS-concurrent-mark: > 1.256/1.273 secs] [Times: user=2.83 sys=0.03, real=1.27 secs] > 2010-09-05T14:16:37.310+0800: 719.973: [CMS-concurrent-preclean-start] > 2010-09-05T14:16:37.323+0800: 719.987: [CMS-concurrent-preclean: > 0.011/0.013 secs] [Times: user=0.02 sys=0.00, real=0.01 secs] > 2010-09-05T14:16:37.324+0800: 719.987: [CMS-concurrent-abortable-preclean-start] > 2010-09-05T14:16:38.886+0800: 721.549: > [CMS-concurrent-abortable-preclean: 0.591/1.563 secs] [Times: > user=2.49 sys=0.03, real=1.57 secs] > 2010-09-05T14:16:39.276+0800: 721.939: [GC[YG occupancy: 1417682 K > (2403008 K)]721.939: [Rescan (parallel) , 0.0897100 secs]722.029: > [weak refs processing, 0.0034310 secs]722.032: [class unloading, > 0.0287520 secs]722.061: [scrub symbol & string tables, 0.0106100 secs] > [1 CMS-remark: 1206364K(1572864K)] 2624046K(3975872K), 0.1391780 secs] > [Times: user=0.29 sys=0.00, real=0.14 secs] > 2010-09-05T14:16:39.415+0800: 722.078: [CMS-concurrent-sweep-start] > 2010-09-05T14:16:39.876+0800: 722.539: [CMS-concurrent-sweep: > 0.460/0.460 secs] [Times: user=1.27 sys=0.06, real=0.46 secs] > 2010-09-05T14:16:39.876+0800: 722.539: [CMS-concurrent-reset-start] > 2010-09-05T14:16:39.880+0800: 722.543: [CMS-concurrent-reset: > 0.004/0.004 secs] [Times: user=0.01 sys=0.00, real=0.01 secs] > 2010-09-05T14:16:40.463+0800: 723.126: [GC [1 CMS-initial-mark: > 1184963K(1572864K)] 2729912K(3975872K), 0.3193890 secs] [Times: > user=0.32 sys=0.00, real=0.32 secs] > 2010-09-05T14:16:40.782+0800: 723.446: [CMS-concurrent-mark-start] > 2010-09-05T14:16:41.949+0800: 724.612: [CMS-concurrent-mark: > 1.167/1.167 secs] [Times: user=2.84 sys=0.12, real=1.17 secs] > 2010-09-05T14:16:41.949+0800: 724.612: [CMS-concurrent-preclean-start] > 2010-09-05T14:16:41.965+0800: 724.628: [CMS-concurrent-preclean: > 0.013/0.016 secs] [Times: user=0.02 sys=0.01, real=0.02 secs] > 2010-09-05T14:16:41.965+0800: 724.628: [CMS-concurrent-abortable-preclean-start] > 2010-09-05T14:16:46.912+0800: 729.575: [GC 729.575: [ParNew: > 2101741K->2101741K(2403008K), 0.0000280 secs]729.575: > [CMS2010-09-05T14:16:46.913+0800: 729.577: > [CMS-concurrent-abortable-preclean: 2.175/4.948 secs] [Times: > user=8.40 sys=0.20, real=4.94 secs] > (concurrent mode failure): 1184963K->648104K(1572864K), 3.2280790 > secs] 3286704K->1752744K(3975872K), [CMS Perm : > 95838K->95825K(262144K)], 3.2284640 secs] [Times: user=3.23 sys=0.00, > real=3.23 secs] > 2010-09-05T14:16:50.140+0800: 732.803: [Full GC 732.803: [CMS: > 648104K->646954K(1572864K), 2.2277720 secs] > 1752744K->1751573K(3975872K), [CMS Perm : 95825K->94698K(262144K)], > 2.2280240 secs] [Times: user=2.22 sys=0.01, real=2.22 secs] > 2010-09-05T14:16:52.456+0800: 735.119: [GC [1 CMS-initial-mark: > 646954K(1572864K)] 1848970K(3975872K), 0.0460980 secs] [Times: > user=0.04 sys=0.00, real=0.04 secs] > 2010-09-05T14:16:52.503+0800: 735.166: [CMS-concurrent-mark-start] > 2010-09-05T14:16:54.948+0800: 737.611: [CMS-concurrent-mark: > 1.927/2.444 secs] [Times: user=6.68 sys=0.88, real=2.45 secs] > 2010-09-05T14:16:54.948+0800: 737.611: [CMS-concurrent-preclean-start] > 2010-09-05T14:16:55.346+0800: 738.009: [GC 738.009: [ParNew: > 2127836K->218432K(2403008K), 0.1695320 secs] > 2774791K->865770K(3975872K), 0.1701180 secs] [Times: user=0.65 > sys=0.00, real=0.16 secs] > 2010-09-05T14:16:56.149+0800: 738.812: [CMS-concurrent-preclean: > 1.014/1.202 secs] [Times: user=2.97 sys=0.05, real=1.20 secs] > 2010-09-05T14:16:56.150+0800: 738.813: [CMS-concurrent-abortable-preclean-start] > 2010-09-05T14:16:59.504+0800: 742.167: > [CMS-concurrent-abortable-preclean: 2.722/3.354 secs] [Times: > user=7.02 sys=0.08, real=3.35 secs] > 2010-09-05T14:16:59.509+0800: 742.172: [GC[YG occupancy: 1311433 K > (2403008 K)]742.173: [Rescan (parallel) , 0.0650310 secs]742.238: > [weak refs processing, 0.0000140 secs]742.238: [class unloading, > 0.0146320 secs]742.252: [scrub symbol & string tables, 0.0109040 secs] > [1 CMS-remark: 647338K(1572864K)] 1958771K(3975872K), 0.0973620 secs] > [Times: user=0.27 sys=0.00, real=0.10 secs] > 2010-09-05T14:16:59.608+0800: 742.271: [CMS-concurrent-sweep-start] > 2010-09-05T14:17:00.061+0800: 742.724: [CMS-concurrent-sweep: > 0.453/0.453 secs] [Times: user=1.13 sys=0.03, real=0.45 secs] > 2010-09-05T14:17:00.061+0800: 742.724: [CMS-concurrent-reset-start] > 2010-09-05T14:17:00.065+0800: 742.728: [CMS-concurrent-reset: > 0.004/0.004 secs] [Times: user=0.01 sys=0.00, real=0.01 secs] > 2010-09-05T14:17:00.948+0800: 743.611: [GC 743.612: [ParNew: > 1462330K->52761K(2403008K), 0.1786850 secs] > 2090139K->1255261K(3975872K), 0.1791020 secs] [Times: user=0.43 > sys=0.00, real=0.18 secs] > 2010-09-05T14:17:01.325+0800: 743.989: [GC [1 CMS-initial-mark: > 1202500K(1572864K)] 2304040K(3975872K), 0.0081610 secs] [Times: > user=0.01 sys=0.00, real=0.01 secs] > 2010-09-05T14:17:01.334+0800: 743.997: [CMS-concurrent-mark-start] > 2010-09-05T14:17:02.514+0800: 745.177: [CMS-concurrent-mark: > 1.162/1.180 secs] [Times: user=2.82 sys=0.06, real=1.18 secs] > 2010-09-05T14:17:02.514+0800: 745.177: [CMS-concurrent-preclean-start] > 2010-09-05T14:17:02.528+0800: 745.191: [CMS-concurrent-preclean: > 0.012/0.014 secs] [Times: user=0.04 sys=0.00, real=0.01 secs] > 2010-09-05T14:17:02.528+0800: 745.191: [CMS-concurrent-abortable-preclean-start] > CMS: abort preclean due to time 2010-09-05T14:17:07.576+0800: > 750.239: [CMS-concurrent-abortable-preclean: 2.221/5.047 secs] [Times: > user=9.10 sys=0.30, real=5.05 secs] > 2010-09-05T14:17:07.602+0800: 750.265: [GC[YG occupancy: 1713121 K > (2403008 K)]750.265: [Rescan (parallel) , 0.4983770 secs]750.763: > [weak refs processing, 0.0000300 secs]750.763: [class unloading, > 0.0316270 secs]750.795: [scrub symbol & string tables, 0.0106300 secs] > [1 CMS-remark: 1202500K(1572864K)] 2915621K(3975872K), 0.5473800 secs] > [Times: user=0.84 sys=0.00, real=0.55 secs] > 2010-09-05T14:17:08.150+0800: 750.813: [CMS-concurrent-sweep-start] > 2010-09-05T14:17:08.613+0800: 751.276: [CMS-concurrent-sweep: > 0.463/0.463 secs] [Times: user=1.07 sys=0.06, real=0.47 secs] > 2010-09-05T14:17:08.613+0800: 751.276: [CMS-concurrent-reset-start] > 2010-09-05T14:17:08.617+0800: 751.280: [CMS-concurrent-reset: > 0.004/0.004 secs] [Times: user=0.00 sys=0.00, real=0.00 secs] > 2010-09-05T14:17:08.964+0800: 751.627: [GC 751.627: [ParNew: > 1791951K->1791951K(2403008K), 0.0000280 secs]751.627: [CMS: > 1187947K->650228K(1572864K), 2.6818560 secs] > 2979898K->1752988K(3975872K), [CMS Perm : 96066K->96052K(262144K)], > 2.6823340 secs] [Times: user=2.68 sys=0.00, real=2.68 secs] > 2010-09-05T14:17:11.647+0800: 754.310: [Full GC 754.310: [CMS: > 650228K->648975K(1572864K), 2.2741560 secs] > 1752988K->1751698K(3975872K), [CMS Perm : 96052K->94725K(262144K)], > 2.2744930 secs] [Times: user=2.28 sys=0.00, real=2.27 secs] > 2010-09-05T14:17:13.931+0800: 756.594: [GC [1 CMS-initial-mark: > 648975K(1572864K)] 1752021K(3975872K), 0.0096910 secs] [Times: > user=0.02 sys=0.00, real=0.01 secs] > 2010-09-05T14:17:13.941+0800: 756.604: [CMS-concurrent-mark-start] > 2010-09-05T14:17:16.221+0800: 758.884: [CMS-concurrent-mark: > 1.747/2.279 secs] [Times: user=4.71 sys=0.97, real=2.28 secs] > 2010-09-05T14:17:16.221+0800: 758.884: [CMS-concurrent-preclean-start] > 2010-09-05T14:17:17.333+0800: 759.996: [CMS-concurrent-preclean: > 1.094/1.112 secs] [Times: user=1.48 sys=0.03, real=1.12 secs] > 2010-09-05T14:17:17.333+0800: 759.996: [CMS-concurrent-abortable-preclean-start] > 2010-09-05T14:17:21.890+0800: 764.553: [GC 764.553: [ParNew (promotion > failed): 2184576K->2295598K(2403008K), 0.4990260 secs]765.052: [CMS > CMS: abort preclean due to time 2010-09-05T14:17:23.477+0800: 766.140: > [CMS-concurrent-abortable-preclean: 2.000/6.144 secs] [Times: > user=4.47 sys=0.21, real=6.14 secs] > (concurrent mode failure): 648978K->709070K(1572864K), 4.0372860 > secs] 2833551K->709070K(3975872K), [CMS Perm : > 96317K->95399K(262144K)], 4.5369600 secs] [Times: user=4.99 sys=0.00, > real=4.54 secs] > 2010-09-05T14:17:48.656+0800: 791.319: [GC 791.320: [ParNew: > 2184563K->147456K(2403008K), 0.0281760 secs] > 2893633K->856526K(3975872K), 0.0287130 secs] [Times: user=0.09 > sys=0.00, real=0.03 secs] > 2010-09-05T14:18:14.627+0800: 817.290: [GC 817.290: [ParNew: > 2332032K->152747K(2403008K), 0.0383970 secs] > 3041102K->861817K(3975872K), 0.0387980 secs] [Times: user=0.08 > sys=0.00, real=0.04 secs] > From y.s.ramakrishna at oracle.com Wed Sep 8 15:59:20 2010 From: y.s.ramakrishna at oracle.com (Y. S. Ramakrishna) Date: Wed, 08 Sep 2010 08:59:20 -0700 Subject: strange gc log In-Reply-To: References: <4C86B7B7.6070602@oracle.com> Message-ID: <4C87B2D8.9010407@oracle.com> Thanks; I'll take a look at yr more complete log and see if it sheds further light on the problem. -- ramki On 09/07/10 18:22, BlueDavy Lin wrote: > The more complete log is attached. > > I can understand the full gc when concurrent mode failure,but I'm not > understand why the below full gc occurs,such as: > > 2010-09-05T14:11:50.853+0800: 433.517: [GC 433.517: [ParNew: > 2321294K->174080K(2403008K), 0.0337420 secs] > 2999673K->855426K(3975872K), 0.0340840 secs] [Times: user=0.11 > sys=0.00, real=0.04 secs] > 2010-09-05T14:12:09.941+0800: 452.604: [Full GC 452.604: [CMS: > 681345K->669781K(1572864K), 3.0214780 secs] > 2485669K->669781K(3975872K), [CMS Perm : 94825K->94800K(262144K)], > 3.0217260 secs] [Times: user=3.03 sys=0.00, real=3.03 secs] > > From the log,I think even if I decrease the > CMSInitiatingOccupancyFraction,it'll cause the cms gc more > frequency,and cannot work for current situation. > > ps: this is a gc presentation I wrote for my company,if somebody are > interested in it,u can see it from this url: > http://www.slideshare.net/BlueDavy/sun-jdk-16-gc-english-version > > 2010/9/8 Y. S. Ramakrishna : >> Do you have a longer/more complete GC log, or is >> this all of the log you have? >> >> It is possible that you have some rather large objects that >> survive for a short while and then die. This seems to be fragmenting >> the old generation quite considerably. Did you try to use a heap >> say twice as large to see if the behaviour is any better? >> >> Running with -XX:PrintFLSStatistics=1 -XX:PrintCMSStatistics=1 >> -XX:+PrintHeapAtGC >> might provide a bit more information. >> (PS: can you send the log file as an attachment, so that your >> editor does not insert line-breaks into the log file?) >> >> -- ramki >> From john.coomes at oracle.com Wed Sep 8 22:57:26 2010 From: john.coomes at oracle.com (john.coomes at oracle.com) Date: Wed, 08 Sep 2010 22:57:26 +0000 Subject: hg: jdk7/hotspot-gc: 9 new changesets Message-ID: <20100908225726.B5D94477FF@hg.openjdk.java.net> Changeset: 86a3df41c0c7 Author: mikejwre Date: 2010-07-23 16:42 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/rev/86a3df41c0c7 Added tag jdk7-b102 for changeset a136a51f5113 ! .hgtags Changeset: f1ba69da5003 Author: ohair Date: 2010-07-26 14:14 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/rev/f1ba69da5003 6972274: Fix the use of egrep -ci in the top level makefile sanity checks Reviewed-by: prr ! make/sanity-rules.gmk Changeset: be2aedc4e3b1 Author: mikejwre Date: 2010-07-28 21:03 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/rev/be2aedc4e3b1 Merge Changeset: f8be576feefc Author: cl Date: 2010-07-29 13:33 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/rev/f8be576feefc Added tag jdk7-b103 for changeset be2aedc4e3b1 ! .hgtags Changeset: 9f96a4269d77 Author: cl Date: 2010-08-06 12:51 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/rev/9f96a4269d77 Added tag jdk7-b104 for changeset f8be576feefc ! .hgtags Changeset: 43096cccf1ce Author: cl Date: 2010-08-13 11:38 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/rev/43096cccf1ce Added tag jdk7-b105 for changeset 9f96a4269d77 ! .hgtags Changeset: 7d396ad455c3 Author: cl Date: 2010-08-19 15:12 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/rev/7d396ad455c3 Added tag jdk7-b106 for changeset 43096cccf1ce ! .hgtags Changeset: 140fdef4ddf5 Author: cl Date: 2010-08-26 16:16 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/rev/140fdef4ddf5 Added tag jdk7-b107 for changeset 7d396ad455c3 ! .hgtags Changeset: 0df9c57eb80d Author: cl Date: 2010-09-03 12:49 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/rev/0df9c57eb80d Added tag jdk7-b108 for changeset 140fdef4ddf5 ! .hgtags From john.coomes at oracle.com Wed Sep 8 22:57:33 2010 From: john.coomes at oracle.com (john.coomes at oracle.com) Date: Wed, 08 Sep 2010 22:57:33 +0000 Subject: hg: jdk7/hotspot-gc/corba: 7 new changesets Message-ID: <20100908225740.3EE2E47800@hg.openjdk.java.net> Changeset: 11e7678c3eb1 Author: mikejwre Date: 2010-07-23 16:42 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/corba/rev/11e7678c3eb1 Added tag jdk7-b102 for changeset 78561a957790 ! .hgtags Changeset: 9607213481d4 Author: cl Date: 2010-07-29 13:33 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/corba/rev/9607213481d4 Added tag jdk7-b103 for changeset 11e7678c3eb1 ! .hgtags Changeset: 6f21b030092f Author: cl Date: 2010-08-06 12:51 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/corba/rev/6f21b030092f Added tag jdk7-b104 for changeset 9607213481d4 ! .hgtags Changeset: 519daea48888 Author: cl Date: 2010-08-13 11:38 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/corba/rev/519daea48888 Added tag jdk7-b105 for changeset 6f21b030092f ! .hgtags Changeset: 232adb83eae8 Author: cl Date: 2010-08-19 15:12 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/corba/rev/232adb83eae8 Added tag jdk7-b106 for changeset 519daea48888 ! .hgtags Changeset: 8d810527b499 Author: cl Date: 2010-08-26 16:16 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/corba/rev/8d810527b499 Added tag jdk7-b107 for changeset 232adb83eae8 ! .hgtags Changeset: 74d57b218468 Author: cl Date: 2010-09-03 12:49 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/corba/rev/74d57b218468 Added tag jdk7-b108 for changeset 8d810527b499 ! .hgtags From john.coomes at oracle.com Wed Sep 8 23:00:52 2010 From: john.coomes at oracle.com (john.coomes at oracle.com) Date: Wed, 08 Sep 2010 23:00:52 +0000 Subject: hg: jdk7/hotspot-gc/jaxp: 7 new changesets Message-ID: <20100908230053.117E647802@hg.openjdk.java.net> Changeset: b7722e878864 Author: mikejwre Date: 2010-07-23 16:42 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jaxp/rev/b7722e878864 Added tag jdk7-b102 for changeset 15573625af97 ! .hgtags Changeset: d42c4acb6424 Author: cl Date: 2010-07-29 13:33 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jaxp/rev/d42c4acb6424 Added tag jdk7-b103 for changeset b7722e878864 ! .hgtags Changeset: 3233b9a4c12e Author: cl Date: 2010-08-06 12:51 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jaxp/rev/3233b9a4c12e Added tag jdk7-b104 for changeset d42c4acb6424 ! .hgtags Changeset: 5ba8469212a6 Author: cl Date: 2010-08-13 11:38 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jaxp/rev/5ba8469212a6 Added tag jdk7-b105 for changeset 3233b9a4c12e ! .hgtags Changeset: 20ee37c1372a Author: cl Date: 2010-08-19 15:13 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jaxp/rev/20ee37c1372a Added tag jdk7-b106 for changeset 5ba8469212a6 ! .hgtags Changeset: 7d379f8934ca Author: cl Date: 2010-08-26 16:16 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jaxp/rev/7d379f8934ca Added tag jdk7-b107 for changeset 20ee37c1372a ! .hgtags Changeset: 840d6acde4e8 Author: cl Date: 2010-09-03 12:49 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jaxp/rev/840d6acde4e8 Added tag jdk7-b108 for changeset 7d379f8934ca ! .hgtags From john.coomes at oracle.com Wed Sep 8 23:00:59 2010 From: john.coomes at oracle.com (john.coomes at oracle.com) Date: Wed, 08 Sep 2010 23:00:59 +0000 Subject: hg: jdk7/hotspot-gc/jaxws: 7 new changesets Message-ID: <20100908230059.98EFF47803@hg.openjdk.java.net> Changeset: 267386d6b923 Author: mikejwre Date: 2010-07-23 16:42 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jaxws/rev/267386d6b923 Added tag jdk7-b102 for changeset d8580443d181 ! .hgtags Changeset: bbc4cce6c20a Author: cl Date: 2010-07-29 13:33 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jaxws/rev/bbc4cce6c20a Added tag jdk7-b103 for changeset 267386d6b923 ! .hgtags Changeset: 39eb4f3031f4 Author: cl Date: 2010-08-06 12:52 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jaxws/rev/39eb4f3031f4 Added tag jdk7-b104 for changeset bbc4cce6c20a ! .hgtags Changeset: bc45ccc5bcca Author: cl Date: 2010-08-13 11:38 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jaxws/rev/bc45ccc5bcca Added tag jdk7-b105 for changeset 39eb4f3031f4 ! .hgtags Changeset: 017612ea6af4 Author: cl Date: 2010-08-19 15:13 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jaxws/rev/017612ea6af4 Added tag jdk7-b106 for changeset bc45ccc5bcca ! .hgtags Changeset: b1ca39340238 Author: cl Date: 2010-08-26 16:16 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jaxws/rev/b1ca39340238 Added tag jdk7-b107 for changeset 017612ea6af4 ! .hgtags Changeset: ef7838f988c5 Author: cl Date: 2010-09-03 12:49 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jaxws/rev/ef7838f988c5 Added tag jdk7-b108 for changeset b1ca39340238 ! .hgtags From john.coomes at oracle.com Wed Sep 8 23:03:52 2010 From: john.coomes at oracle.com (john.coomes at oracle.com) Date: Wed, 08 Sep 2010 23:03:52 +0000 Subject: hg: jdk7/hotspot-gc/jdk: 94 new changesets Message-ID: <20100908231927.D03D347809@hg.openjdk.java.net> Changeset: 6488b70a23cc Author: mikejwre Date: 2010-07-23 16:42 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/6488b70a23cc Added tag jdk7-b102 for changeset 13029a61b16b ! .hgtags Changeset: b839344245a9 Author: cl Date: 2010-07-29 13:33 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/b839344245a9 Added tag jdk7-b103 for changeset 6488b70a23cc ! .hgtags Changeset: 6950da80c75c Author: ohair Date: 2010-08-02 16:31 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/6950da80c75c 6973616: Update minimum boot jdk from 1.5 to 1.6 Reviewed-by: igor, jjg ! make/common/shared/Defs-versions.gmk Changeset: dd48c78218a7 Author: ohair Date: 2010-08-02 16:31 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/dd48c78218a7 6971426: jdk/make/docs docs target does not work on windows Reviewed-by: igor, jjg ! make/docs/Makefile Changeset: f46ec75b1663 Author: ohair Date: 2010-08-03 10:53 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/f46ec75b1663 6974239: Correct reference to jdk document site in javadoc Reviewed-by: skannan ! make/docs/Makefile Changeset: 1a92820132a0 Author: cl Date: 2010-08-04 22:02 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/1a92820132a0 Merge Changeset: d967f8507d9d Author: cl Date: 2010-08-06 12:52 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/d967f8507d9d Added tag jdk7-b104 for changeset 1a92820132a0 ! .hgtags Changeset: 539528c5d395 Author: lana Date: 2010-07-14 09:12 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/539528c5d395 Merge Changeset: cf0c23a99823 Author: lana Date: 2010-07-29 17:12 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/cf0c23a99823 Merge - src/linux/doc/man/ja/kinit.1 - src/linux/doc/man/ja/klist.1 - src/linux/doc/man/ja/ktab.1 - test/java/nio/channels/ServerSocketChannel/AcceptAddress.java - test/java/nio/charset/coders/Surrogate.java - test/tools/launcher/Makefile.SolarisRunpath - test/tools/launcher/lib/i386/lib32/lib32/liblibrary.so - test/tools/launcher/lib/i386/lib32/liblibrary.so - test/tools/launcher/lib/sparc/lib32/lib32/liblibrary.so - test/tools/launcher/lib/sparc/lib32/liblibrary.so - test/tools/launcher/lib/sparc/lib64/lib64/liblibrary.so - test/tools/launcher/lib/sparc/lib64/liblibrary.so Changeset: c6f443c3d96a Author: lana Date: 2010-08-02 19:41 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/c6f443c3d96a Merge Changeset: c38803ce0560 Author: uta Date: 2010-07-23 18:59 +0400 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/c38803ce0560 6969851: VM hangs/crashes in FileDialog test (VS2008/2010 build) Reviewed-by: prr, art ! src/windows/native/sun/windows/awt.h Changeset: 9bb8d5c093fc Author: lana Date: 2010-07-29 13:48 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/9bb8d5c093fc Merge - src/linux/doc/man/ja/kinit.1 - src/linux/doc/man/ja/klist.1 - src/linux/doc/man/ja/ktab.1 - test/java/nio/channels/ServerSocketChannel/AcceptAddress.java - test/java/nio/charset/coders/Surrogate.java - test/tools/launcher/Makefile.SolarisRunpath - test/tools/launcher/lib/i386/lib32/lib32/liblibrary.so - test/tools/launcher/lib/i386/lib32/liblibrary.so - test/tools/launcher/lib/sparc/lib32/lib32/liblibrary.so - test/tools/launcher/lib/sparc/lib32/liblibrary.so - test/tools/launcher/lib/sparc/lib64/lib64/liblibrary.so - test/tools/launcher/lib/sparc/lib64/liblibrary.so Changeset: 8a72583dc41d Author: lana Date: 2010-08-02 19:42 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/8a72583dc41d Merge Changeset: 65403b9bcb58 Author: peterz Date: 2010-07-13 17:26 +0400 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/65403b9bcb58 6462562: InternationalFormatter inserts text incorrectly 6578432: Currency format instance does not work with Swing's NumberFormatter Reviewed-by: rupashka ! src/share/classes/javax/swing/text/DefaultFormatter.java ! src/share/classes/javax/swing/text/InternationalFormatter.java + test/javax/swing/JFormattedTextField/Test6462562.java Changeset: a0d7b76abcd3 Author: alexp Date: 2010-07-29 19:34 +0400 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/a0d7b76abcd3 4743225: Size of JComboBox list is wrong when list is populated via PopupMenuListener Reviewed-by: rupashka ! src/share/classes/javax/swing/plaf/basic/BasicComboPopup.java + test/javax/swing/JComboBox/4743225/bug4743225.java Changeset: 0e8acbf12695 Author: lana Date: 2010-07-29 13:22 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/0e8acbf12695 Merge - src/linux/doc/man/ja/kinit.1 - src/linux/doc/man/ja/klist.1 - src/linux/doc/man/ja/ktab.1 - test/java/nio/channels/ServerSocketChannel/AcceptAddress.java - test/java/nio/charset/coders/Surrogate.java - test/tools/launcher/Makefile.SolarisRunpath - test/tools/launcher/lib/i386/lib32/lib32/liblibrary.so - test/tools/launcher/lib/i386/lib32/liblibrary.so - test/tools/launcher/lib/sparc/lib32/lib32/liblibrary.so - test/tools/launcher/lib/sparc/lib32/liblibrary.so - test/tools/launcher/lib/sparc/lib64/lib64/liblibrary.so - test/tools/launcher/lib/sparc/lib64/liblibrary.so Changeset: 951e46d93af0 Author: malenkov Date: 2010-07-30 19:21 +0400 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/951e46d93af0 6199676: REGRESSION: ColorChooser loses preview when change LandF in Java5 Reviewed-by: alexp, peterz ! src/share/classes/javax/swing/plaf/basic/BasicColorChooserUI.java + test/javax/swing/JColorChooser/Test6199676.java Changeset: f40de306ab66 Author: malenkov Date: 2010-07-30 19:40 +0400 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/f40de306ab66 6972468: Security manager should be used for tests in java/beans/XMLEncoder Reviewed-by: peterz ! test/java/beans/XMLEncoder/Test4631471.java ! test/java/beans/XMLEncoder/Test4903007.java ! test/java/beans/XMLEncoder/javax_swing_JLayeredPane.java Changeset: ce1e26600ab7 Author: lana Date: 2010-08-02 19:44 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/ce1e26600ab7 Merge Changeset: 25050030a320 Author: dsamersoff Date: 2010-07-13 15:32 +0400 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/25050030a320 6964714: NetworkInterface getInetAddresses enumerates IPv6 addresses if java.net.preferIPvStack property set Summary: User can disable ipv6 explicitly, have to check it Reviewed-by: chegar, alanb ! src/solaris/native/java/net/NetworkInterface.c + test/java/net/NetworkInterface/IPv4Only.java Changeset: f3a4c1947fd1 Author: weijun Date: 2010-07-13 20:27 +0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/f3a4c1947fd1 6670889: Keystore created under Hindi Locale causing ArrayIndexOutOfBoundsException Reviewed-by: chegar ! src/share/classes/sun/security/util/DerOutputStream.java + test/sun/security/util/DerOutputStream/LocaleInTime.java Changeset: ab65f46ae092 Author: darcy Date: 2010-07-15 18:02 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/ab65f46ae092 6963622: Project Coin: Refinements to suppressed exceptions Reviewed-by: alanb, forax, jjb ! src/share/classes/java/lang/AutoCloseable.java ! src/share/classes/java/lang/Throwable.java ! test/java/lang/Throwable/SuppressedExceptions.java Changeset: a3747592bdf7 Author: sherman Date: 2010-07-16 16:45 -0400 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/a3747592bdf7 6964313: Find sun/nio/cs/ext issue with CreateSymbols, then move sun/nio/cs/ext to charset.jar Summary: Removed the duplicate sun.nio.cs.ext entries from rt.jar and moved X11 charsets into charsets.jar Reviewed-by: ohair ! make/common/Release.gmk ! make/sun/nio/cs/Makefile Changeset: 9a1bd20fc71c Author: weijun Date: 2010-07-19 10:02 +0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/9a1bd20fc71c 6969683: Generify ResolverConfiguration codes Reviewed-by: alanb, chegar ! src/share/classes/com/sun/jndi/dns/DnsContextFactory.java ! src/share/classes/sun/net/dns/ResolverConfiguration.java ! src/share/classes/sun/net/spi/nameservice/dns/DNSNameService.java ! src/solaris/classes/sun/net/dns/ResolverConfigurationImpl.java ! src/windows/classes/sun/net/dns/ResolverConfigurationImpl.java Changeset: 4022e0c84507 Author: weijun Date: 2010-07-19 10:02 +0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/4022e0c84507 6969292: make DNS lookup for realm/kdc really work Reviewed-by: alanb, valeriep ! src/share/classes/sun/security/krb5/Config.java Changeset: 9d1994d53a67 Author: mullan Date: 2010-07-20 10:41 -0400 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/9d1994d53a67 6870553: X509Certificate.getSigAlgName method description uses non-standard algorithm name as example Reviewed-by: xuelei ! src/share/classes/java/security/cert/X509CRL.java ! src/share/classes/java/security/cert/X509Certificate.java Changeset: 58f325ba3e27 Author: chegar Date: 2010-07-21 13:29 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/58f325ba3e27 6969395: TEST_BUG: Tests in java/net sun/net problems Reviewed-by: alanb ! test/ProblemList.txt ! test/com/sun/net/httpserver/Test1.java ! test/com/sun/net/httpserver/Test11.java ! test/com/sun/net/httpserver/Test12.java ! test/com/sun/net/httpserver/Test13.java ! test/com/sun/net/httpserver/Test6a.java ! test/com/sun/net/httpserver/Test7a.java ! test/com/sun/net/httpserver/Test8a.java ! test/com/sun/net/httpserver/Test9.java ! test/com/sun/net/httpserver/Test9a.java ! test/com/sun/net/httpserver/bugs/B6361557.java ! test/com/sun/net/httpserver/bugs/B6373555.java ! test/java/net/DatagramSocket/DatagramTimeout.java ! test/java/net/DatagramSocket/SendSize.java ! test/java/net/Inet6Address/B6558853.java ! test/java/net/Inet6Address/serialize/Serialize.java ! test/java/net/InetAddress/CheckJNI.java ! test/java/net/MulticastSocket/SetOutgoingIf.java ! test/java/net/ResponseCache/B6181108.java ! test/java/net/ResponseCache/ResponseCacheTest.java ! test/java/net/ResponseCache/getResponseCode.java - test/java/net/Socket/AccurateTimeout.java ! test/java/net/Socket/CloseAvailable.java ! test/java/net/Socket/DeadlockTest.java ! test/java/net/Socket/LingerTest.java ! test/java/net/Socket/LinkLocal.java ! test/java/net/Socket/ProxyCons.java ! test/java/net/Socket/ReadTimeout.java ! test/java/net/Socket/SetReceiveBufferSize.java ! test/java/net/Socket/SetSoLinger.java ! test/java/net/Socket/ShutdownBoth.java ! test/java/net/Socket/SoTimeout.java ! test/java/net/Socket/Timeout.java ! test/java/net/Socket/UrgentDataTest.java ! test/java/net/Socket/asyncClose/BrokenPipe.java ! test/java/net/Socket/setReuseAddress/Restart.java ! test/java/net/SocketInputStream/SocketClosedException.java ! test/java/net/SocketInputStream/SocketTimeout.java ! test/java/net/URL/GetContent.java ! test/java/net/URLClassLoader/ClassLoad.java ! test/java/net/URLConnection/DisconnectAfterEOF.java ! test/java/net/URLConnection/HandleContentTypeWithAttrs.java ! test/java/net/URLConnection/HttpContinueStackOverflow.java ! test/java/net/URLConnection/Redirect307Test.java ! test/java/net/URLConnection/RedirectLimit.java ! test/java/net/URLConnection/ResendPostBody.java ! test/java/net/URLConnection/SetIfModifiedSince.java ! test/java/net/URLConnection/TimeoutTest.java ! test/java/net/URLConnection/URLConnectionHeaders.java ! test/java/net/URLConnection/ZeroContentLength.java ! test/java/net/ipv6tests/B6521014.java ! test/java/net/ipv6tests/TcpTest.java ! test/java/net/ipv6tests/Tests.java ! test/sun/net/ftp/FtpGetContent.java ! test/sun/net/ftp/FtpURL.java ! test/sun/net/www/http/ChunkedInputStream/ChunkedEncodingWithProgressMonitorTest.java ! test/sun/net/www/http/ChunkedOutputStream/Test.java ! test/sun/net/www/http/HttpClient/B6726695.java ! test/sun/net/www/http/HttpClient/MultiThreadTest.java ! test/sun/net/www/http/HttpClient/ProxyTest.java ! test/sun/net/www/http/KeepAliveCache/KeepAliveTimerThread.java ! test/sun/net/www/http/KeepAliveStream/KeepAliveStreamCloseWithWrongContentLength.java ! test/sun/net/www/httptest/HttpServer.java ! test/sun/net/www/protocol/http/DigestTest.java Changeset: f90999d7c404 Author: chegar Date: 2010-07-21 13:52 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/f90999d7c404 6970262: TEST_BUG: test/java/net/NetworkInterface/IPv4Only.java has wrong test name in @run tag Reviewed-by: alanb, dsamersoff ! test/java/net/NetworkInterface/IPv4Only.java Changeset: 3902c742b5b1 Author: alanb Date: 2010-07-21 18:08 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/3902c742b5b1 6963907: (so) Socket adapter need to implement sendUrgentData Reviewed-by: chegar ! make/java/nio/mapfile-linux ! make/java/nio/mapfile-solaris ! src/share/classes/sun/nio/ch/SocketAdaptor.java ! src/share/classes/sun/nio/ch/SocketChannelImpl.java ! src/solaris/native/sun/nio/ch/SocketChannelImpl.c ! src/windows/native/sun/nio/ch/SocketChannelImpl.c + test/java/nio/channels/SocketChannel/OutOfBand.java Changeset: d899526a187a Author: dcubed Date: 2010-07-21 16:58 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/d899526a187a 6941287: 4/4 jrunscriptTest.sh test does not work right under Cygwin Summary: Add golden_diff variable for doing proper golden file diffs on Cygwin. Reviewed-by: ohair, dholmes ! test/sun/tools/jrunscript/common.sh ! test/sun/tools/jrunscript/jrunscript-eTest.sh ! test/sun/tools/jrunscript/jrunscript-fTest.sh ! test/sun/tools/jrunscript/jrunscriptTest.sh Changeset: 946236dc5c96 Author: dcubed Date: 2010-07-21 16:59 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/946236dc5c96 6962804: 4/4 ShellScaffold tests can fail without a specific reason Summary: Add more diagnostics for failures. Only copy target file in grepForString when NL is missing. Reviewed-by: ohair, dholmes ! test/com/sun/jdi/ShellScaffold.sh Changeset: 9cb77130999f Author: dcubed Date: 2010-07-21 17:01 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/9cb77130999f 6964018: 3/4 AnonLoggerWeakRefLeak and LoggerWeakRefLeak can fail in JPRT Summary: Refactor test/sun/tools/common/* code and refactor AnonLoggerWeakRefLeak and LoggerWeakRefLeak to use it. Reviewed-by: ohair, alanb ! test/java/util/logging/AnonLoggerWeakRefLeak.java ! test/java/util/logging/AnonLoggerWeakRefLeak.sh ! test/java/util/logging/LoggerWeakRefLeak.java ! test/java/util/logging/LoggerWeakRefLeak.sh ! test/sun/tools/common/ApplicationSetup.sh ! test/sun/tools/common/CommonSetup.sh + test/sun/tools/common/CommonTests.sh ! test/sun/tools/common/ShutdownSimpleApplication.java ! test/sun/tools/common/SimpleApplication.java + test/sun/tools/common/SleeperApplication.java ! test/sun/tools/jhat/ParseTest.sh ! test/sun/tools/jinfo/Basic.sh ! test/sun/tools/jmap/Basic.sh ! test/sun/tools/jstack/Basic.sh Changeset: 748f004aeb5c Author: vinnie Date: 2010-07-23 17:41 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/748f004aeb5c 6676075: RegistryContext (com.sun.jndi.url.rmi.rmiURLContext) coding problem Reviewed-by: mullan ! src/share/classes/com/sun/jndi/rmi/registry/RegistryContext.java + test/com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java Changeset: 56217857ccd7 Author: xuelei Date: 2010-07-24 22:59 +0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/56217857ccd7 6867345: Turkish regional options cause NPE in sun.security.x509.AlgorithmId.algOID Reviewed-by: mullan, weijun ! src/share/classes/sun/security/krb5/Credentials.java ! src/share/classes/sun/security/pkcs/PKCS9Attribute.java ! src/share/classes/sun/security/pkcs11/P11Cipher.java ! src/share/classes/sun/security/pkcs11/P11RSACipher.java ! src/share/classes/sun/security/provider/certpath/URICertStore.java ! src/share/classes/sun/security/util/Debug.java ! src/share/classes/sun/security/x509/AVA.java ! src/share/classes/sun/security/x509/AlgorithmId.java ! src/share/classes/sun/security/x509/DNSName.java ! src/share/classes/sun/security/x509/RFC822Name.java + test/sun/security/x509/AlgorithmId/TurkishRegion.java Changeset: 402ff3e81922 Author: weijun Date: 2010-07-26 17:21 +0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/402ff3e81922 6972005: ConfPlusProp.java test failure when DNS has info for realm Reviewed-by: xuelei ! test/sun/security/krb5/ConfPlusProp.java ! test/sun/security/krb5/confplusprop.conf ! test/sun/security/krb5/confplusprop2.conf Changeset: db21b420d038 Author: martin Date: 2010-07-26 08:17 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/db21b420d038 6717780: (coll spec) LinkedList api documentation provides the wrong method name Summary: Cleanup by simply making Deque equal status with List Reviewed-by: darcy ! src/share/classes/java/util/LinkedList.java Changeset: 1bfa1c864553 Author: dcubed Date: 2010-07-26 09:06 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/1bfa1c864553 6971847: 4/4 jmap '-histo:live' option is necessary for proper leak detection Summary: Add work around for 6971851. Abort if 'histo:live' option isn't supported. Reviewed-by: alanb, darcy ! test/java/util/logging/AnonLoggerWeakRefLeak.sh ! test/java/util/logging/LoggerWeakRefLeak.sh Changeset: 83be262e654c Author: xuelei Date: 2010-07-27 16:07 +0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/83be262e654c 6870947: 15 sec delay detecting "socket closed" condition when a TCP connection is reset by an LDAP server Reviewed-by: weijun ! src/share/classes/com/sun/jndi/ldap/Connection.java Changeset: 5ff8b884a92c Author: vinnie Date: 2010-07-27 11:40 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/5ff8b884a92c 6972409: Cease emitting LDAP filter debug messages Reviewed-by: xuelei ! src/share/classes/com/sun/jndi/ldap/Filter.java Changeset: 24741c4bf300 Author: alanb Date: 2010-07-29 13:08 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/24741c4bf300 6934977: (bf) MappedByteBuffer.load can SIGBUS if file is truncated 6799037: (fs) MappedByteBuffer.load crash with unaligned file-mapping (sol) Reviewed-by: chegar, forax ! src/share/classes/java/nio/Bits.java ! src/share/classes/java/nio/MappedByteBuffer.java ! src/solaris/native/java/nio/MappedByteBuffer.c ! src/windows/native/java/nio/MappedByteBuffer.c ! test/java/nio/MappedByteBuffer/Basic.java + test/java/nio/MappedByteBuffer/Truncate.java Changeset: a8a79f5b669e Author: chegar Date: 2010-07-29 10:02 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/a8a79f5b669e 6972374: NetworkInterface.getNetworkInterfaces throws "java.net.SocketException" on Solaris zone Reviewed-by: alanb, dsamersoff ! src/solaris/native/java/net/NetworkInterface.c Changeset: d82ed433304e Author: chegar Date: 2010-07-29 17:04 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/d82ed433304e Merge Changeset: 48e6f4807e5f Author: lana Date: 2010-07-29 22:02 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/48e6f4807e5f Merge - src/linux/doc/man/ja/kinit.1 - src/linux/doc/man/ja/klist.1 - src/linux/doc/man/ja/ktab.1 ! test/ProblemList.txt Changeset: 4d72d0ec83f5 Author: michaelm Date: 2010-07-30 18:16 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/4d72d0ec83f5 6510892: com/sun/net/httpserver/bugs/B6361557.java fails Reviewed-by: chegar ! test/com/sun/net/httpserver/bugs/B6361557.java Changeset: 10e7e04d1e96 Author: lana Date: 2010-08-02 19:45 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/10e7e04d1e96 Merge - test/java/net/Socket/AccurateTimeout.java Changeset: 3b0abcb51280 Author: lana Date: 2010-08-09 16:02 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/3b0abcb51280 Merge - test/java/net/Socket/AccurateTimeout.java Changeset: 9ad95be9deae Author: cl Date: 2010-08-13 11:38 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/9ad95be9deae Added tag jdk7-b105 for changeset 3b0abcb51280 ! .hgtags Changeset: f8bbf376595c Author: yhuang Date: 2010-08-11 02:22 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/f8bbf376595c 6959252: convert the anonymous arrays to named arrays in Java List Resource files Reviewed-by: katakai, psun ! src/share/classes/com/sun/tools/example/debug/tty/TTYResources.java ! src/share/classes/sun/applet/resources/MsgAppletViewer.java ! src/share/classes/sun/tools/jconsole/resources/JConsoleResources.java ! src/share/classes/sun/tools/native2ascii/resources/MsgNative2ascii.java Changeset: 413cede85120 Author: yhuang Date: 2010-08-13 01:09 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/413cede85120 Merge - test/java/net/Socket/AccurateTimeout.java Changeset: b91ef6b60f4e Author: cl Date: 2010-08-16 14:47 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/b91ef6b60f4e Merge Changeset: 882103f334bb Author: cl Date: 2010-08-19 15:13 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/882103f334bb Added tag jdk7-b106 for changeset b91ef6b60f4e ! .hgtags Changeset: 17a5d84b7561 Author: cl Date: 2010-08-26 16:17 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/17a5d84b7561 Added tag jdk7-b107 for changeset 882103f334bb ! .hgtags Changeset: d47bd9d94ba4 Author: dlila Date: 2010-08-10 13:19 -0400 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/d47bd9d94ba4 6967436: lines longer than 2^15 can fill window. 6967433: dashed lines broken when using scaling transforms. Summary: converted pisces to floating point. Also, using better AA algorithm Reviewed-by: flar ! src/share/classes/sun/java2d/pisces/Dasher.java ! src/share/classes/sun/java2d/pisces/LineSink.java - src/share/classes/sun/java2d/pisces/PiscesMath.java ! src/share/classes/sun/java2d/pisces/PiscesRenderingEngine.java ! src/share/classes/sun/java2d/pisces/Renderer.java ! src/share/classes/sun/java2d/pisces/Stroker.java - src/share/classes/sun/java2d/pisces/Transform4.java Changeset: 4285edea9ddb Author: dlila Date: 2010-08-11 10:05 -0400 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/4285edea9ddb 6976265: No STROKE_CONTROL Summary: implemented it in sun.java2d.pisces by adding a PathIterator. Reviewed-by: flar ! src/share/classes/sun/java2d/pisces/PiscesRenderingEngine.java Changeset: 0576f6cc0463 Author: lana Date: 2010-08-12 19:55 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/0576f6cc0463 Merge - test/java/net/Socket/AccurateTimeout.java Changeset: 654145d6560a Author: lana Date: 2010-08-23 19:12 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/654145d6560a Merge - src/share/classes/sun/java2d/pisces/PiscesMath.java - src/share/classes/sun/java2d/pisces/Transform4.java Changeset: d0e314d59f84 Author: malenkov Date: 2010-08-10 19:29 +0400 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/d0e314d59f84 6960267: JTable.getRowHeight() returns value different from the specified default (16.0) with GTK L&F Reviewed-by: peterz ! src/share/classes/javax/swing/JTable.java Changeset: 58626b4eedcb Author: lana Date: 2010-08-12 11:23 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/58626b4eedcb Merge - test/java/net/Socket/AccurateTimeout.java Changeset: 23f72ec0d8e8 Author: peytoia Date: 2010-08-23 14:14 +0900 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/23f72ec0d8e8 6977550: (tz) Support tzdata2010l Reviewed-by: okutsu ! make/sun/javazic/tzdata/VERSION ! make/sun/javazic/tzdata/africa ! make/sun/javazic/tzdata/asia ! make/sun/javazic/tzdata/australasia ! make/sun/javazic/tzdata/backward ! make/sun/javazic/tzdata/europe ! make/sun/javazic/tzdata/leapseconds ! make/sun/javazic/tzdata/northamerica ! make/sun/javazic/tzdata/zone.tab ! src/share/classes/sun/util/resources/TimeZoneNames.java ! src/share/classes/sun/util/resources/TimeZoneNames_de.java ! src/share/classes/sun/util/resources/TimeZoneNames_es.java ! src/share/classes/sun/util/resources/TimeZoneNames_fr.java ! src/share/classes/sun/util/resources/TimeZoneNames_it.java ! src/share/classes/sun/util/resources/TimeZoneNames_ja.java ! src/share/classes/sun/util/resources/TimeZoneNames_ko.java ! src/share/classes/sun/util/resources/TimeZoneNames_sv.java ! src/share/classes/sun/util/resources/TimeZoneNames_zh_CN.java ! src/share/classes/sun/util/resources/TimeZoneNames_zh_TW.java Changeset: a18a82d2d506 Author: lana Date: 2010-08-23 19:13 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/a18a82d2d506 Merge Changeset: 367b90ed38b1 Author: chegar Date: 2010-08-03 12:03 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/367b90ed38b1 6973030: NTLM proxy authentication fails with https Reviewed-by: michaelm ! src/share/classes/sun/net/www/protocol/http/HttpURLConnection.java ! test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/B6226610.java Changeset: a21c46dac6cf Author: mullan Date: 2010-08-03 09:39 -0400 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/a21c46dac6cf 6653372: Error in java.security.KeyStore example code Reviewed-by: weijun ! src/share/classes/java/security/KeyStore.java Changeset: 2feeefb45a44 Author: mullan Date: 2010-08-03 09:55 -0400 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/2feeefb45a44 Merge Changeset: 3b63e506b57e Author: martin Date: 2010-08-03 12:22 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/3b63e506b57e 6955504: (str) String[Builder/Buffer].append(char[],int,int) throws OutOfMemoryError in b94 Summary: let arraycopy throw AIOOBE for invalid negative length Reviewed-by: chegar, forax ! src/share/classes/java/lang/AbstractStringBuilder.java Changeset: 188f156148ea Author: apangin Date: 2010-08-04 20:25 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/188f156148ea 6945961: SIGSEGV in memcpy() during class loading on linux-i586 Summary: Check the result of strchr() in Bytecode Verifier Reviewed-by: kamg, acorn ! src/share/native/common/check_code.c Changeset: d47f5dcda481 Author: dcubed Date: 2010-08-06 11:07 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/d47f5dcda481 6962604: 3/3 Testcase sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.sh failure Summary: Disable MonitorVmStartTerminate.sh until 6543856 is fixed. Reviewed-by: ohair ! test/sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.sh Changeset: 3e239fe92832 Author: lancea Date: 2010-08-10 10:07 -0400 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/3e239fe92832 6898593: java.sql.Date.valueOf no exception if date given is not in the JDBC date escape syntax Reviewed-by: minqi ! src/share/classes/java/sql/Date.java Changeset: 1f996198877b Author: chegar Date: 2010-08-10 17:30 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/1f996198877b 6882910: Unexplained lack of IP4 network ability when transparent IP6 to IP4 is disabled. Reviewed-by: alanb ! src/solaris/native/java/net/PlainDatagramSocketImpl.c ! src/solaris/native/java/net/PlainSocketImpl.c ! src/solaris/native/sun/nio/ch/Net.c Changeset: da5b67ac7755 Author: sherman Date: 2010-08-10 13:15 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/da5b67ac7755 6923794: About 40 JCK test case fail with AssertionError if -esa option is specified Summary: removed the assert Reviewed-by: alanb ! src/solaris/classes/java/io/UnixFileSystem.java ! src/windows/classes/java/io/Win32FileSystem.java Changeset: 11ee8b471f9c Author: alanb Date: 2010-08-12 19:53 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/11ee8b471f9c 6971825: (so) improve scatter/gather implementation Reviewed-by: chegar, sherman ! src/share/classes/sun/nio/ch/DatagramChannelImpl.java ! src/share/classes/sun/nio/ch/FileChannelImpl.java ! src/share/classes/sun/nio/ch/IOUtil.java ! src/share/classes/sun/nio/ch/IOVecWrapper.java ! src/share/classes/sun/nio/ch/SocketChannelImpl.java ! src/share/classes/sun/nio/ch/Util.java Changeset: 389bc53d0945 Author: mchung Date: 2010-08-12 16:36 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/389bc53d0945 6973831: NPE when printing stack trace of OOME Summary: Initialize suppressedExceptions field to null Reviewed-by: briangoetz, dholmes, forax ! src/share/classes/java/lang/Throwable.java Changeset: cdd6d518f47e Author: mchung Date: 2010-08-12 16:47 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/cdd6d518f47e Merge Changeset: 041997c49f15 Author: lana Date: 2010-08-12 19:58 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/041997c49f15 Merge Changeset: 0cdd73548292 Author: gbenson Date: 2010-08-13 22:26 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/0cdd73548292 6976186: Integrate Shark Summary: Shark is a JIT compiler for Zero that uses the LLVM compiler infrastructure. Reviewed-by: ohair ! make/jdk_generic_profile.sh Changeset: 8329ebeabc10 Author: mchung Date: 2010-08-16 15:36 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/8329ebeabc10 6921234: TEST_BUG: java/lang/ClassLoader/deadlock/TestCrossDelegate.sh needs to be modified for Cygwin Summary: Add check for CYGWIN Reviewed-by: ohair ! test/java/lang/ClassLoader/deadlock/TestCrossDelegate.sh Changeset: 42eaa082a4e6 Author: michaelm Date: 2010-08-17 14:49 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/42eaa082a4e6 6339649: URI.create should include a detail message when throwing IllegalArgumentException Summary: create enclosing exception with message of enclosed Reviewed-by: alanb, chegar ! src/share/classes/java/net/URI.java ! test/java/net/URI/Test.java Changeset: bfc3855a9341 Author: sherman Date: 2010-08-17 16:01 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/bfc3855a9341 6969651: TEST_BUG: tools/jar/JarEntryTime.java failed on JDK7 when run on NFS Summary: changed to use more appropriate nfs file time Reviewed-by: martin ! test/tools/jar/JarEntryTime.java Changeset: 01dec49e95c4 Author: ohair Date: 2010-08-18 13:46 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/01dec49e95c4 6974005: Use of cygpath in Makefile logic needs to silence error messages Reviewed-by: mchung ! make/common/shared/Defs-windows.gmk Changeset: 42bfa43f2ae1 Author: ohair Date: 2010-08-18 13:46 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/42bfa43f2ae1 6932743: Makefiles not parsing version strings with - from uname -r Reviewed-by: mchung ! make/common/shared/Defs.gmk Changeset: 4abd65f04638 Author: weijun Date: 2010-08-19 11:26 +0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/4abd65f04638 6976536: Solaris JREs do not have the krb5.kdc.bad.policy configured by default. Reviewed-by: valeriep ! src/share/lib/security/java.security-solaris ! src/share/lib/security/java.security-windows + test/sun/security/krb5/BadKdcDefaultValue.java Changeset: 95bb147c7c33 Author: weijun Date: 2010-08-19 12:24 +0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/95bb147c7c33 6921610: 1.6 update 17 and 18 throw java.lang.IndexOutOfBoundsException Reviewed-by: vinnie, xuelei ! src/share/classes/com/sun/jndi/ldap/Connection.java Changeset: 1ce9c1690080 Author: ksrini Date: 2010-08-19 14:08 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/1ce9c1690080 6888127: java.util.jar.Pack200.Packer Memory Leak Reviewed-by: jrose ! src/share/classes/com/sun/java/util/jar/pack/Attribute.java ! src/share/classes/com/sun/java/util/jar/pack/ConstantPool.java ! src/share/classes/com/sun/java/util/jar/pack/Driver.java ! src/share/classes/com/sun/java/util/jar/pack/NativeUnpack.java ! src/share/classes/com/sun/java/util/jar/pack/Package.java ! src/share/classes/com/sun/java/util/jar/pack/PackerImpl.java + src/share/classes/com/sun/java/util/jar/pack/TLGlobals.java ! src/share/classes/com/sun/java/util/jar/pack/UnpackerImpl.java ! src/share/classes/com/sun/java/util/jar/pack/Utils.java Changeset: 16e43f336262 Author: ksrini Date: 2010-08-20 08:18 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/16e43f336262 6966737: (pack200) the pack200 regression tests need to be more robust. Reviewed-by: jrose, ohair + test/tools/pack200/CommandLineTests.java - test/tools/pack200/Pack200Simple.sh ! test/tools/pack200/Pack200Test.java ! test/tools/pack200/PackageVersionTest.java ! test/tools/pack200/SegmentLimit.java + test/tools/pack200/Utils.java + test/tools/pack200/pack200-verifier/data/README + test/tools/pack200/pack200-verifier/data/golden.jar + test/tools/pack200/pack200-verifier/make/build.xml + test/tools/pack200/pack200-verifier/src/sun/tools/pack/verify/ClassCompare.java + test/tools/pack200/pack200-verifier/src/sun/tools/pack/verify/Globals.java + test/tools/pack200/pack200-verifier/src/sun/tools/pack/verify/JarFileCompare.java + test/tools/pack200/pack200-verifier/src/sun/tools/pack/verify/Main.java + test/tools/pack200/pack200-verifier/src/sun/tools/pack/verify/VerifyTreeSet.java + test/tools/pack200/pack200-verifier/src/xmlkit/ClassReader.java + test/tools/pack200/pack200-verifier/src/xmlkit/ClassSyntax.java + test/tools/pack200/pack200-verifier/src/xmlkit/ClassWriter.java + test/tools/pack200/pack200-verifier/src/xmlkit/CommandLineParser.java + test/tools/pack200/pack200-verifier/src/xmlkit/InstructionAssembler.java + test/tools/pack200/pack200-verifier/src/xmlkit/InstructionSyntax.java + test/tools/pack200/pack200-verifier/src/xmlkit/TokenList.java + test/tools/pack200/pack200-verifier/src/xmlkit/XMLKit.java Changeset: db1b7c10de61 Author: ksrini Date: 2010-08-20 08:49 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/db1b7c10de61 Merge Changeset: fd28003bc1d6 Author: chegar Date: 2010-08-23 14:35 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/fd28003bc1d6 6968584: Thread should not be Cloneable Reviewed-by: dholmes ! src/share/classes/java/lang/Thread.java Changeset: 03218163f4d5 Author: chegar Date: 2010-08-23 16:27 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/03218163f4d5 6965924: java.net.HttpCookie using static SimpleDateFormat which is not thread safe Reviewed-by: michaelm ! src/share/classes/java/net/HttpCookie.java Changeset: 47ab0dcec3e8 Author: alanb Date: 2010-08-23 17:11 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/47ab0dcec3e8 6978511: (file) Path.toRealPath should fail if not resolving links and file does not exist Reviewed-by: forax, chegar ! src/solaris/classes/sun/nio/fs/UnixPath.java ! test/java/nio/file/Path/Misc.java Changeset: f4a2b4e7a831 Author: alanb Date: 2010-08-23 17:35 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/f4a2b4e7a831 6431344: (fc) FileChannel.transferTo() doesn't work if address space runs out Reviewed-by: forax, chegar ! src/share/classes/sun/nio/ch/FileChannelImpl.java Changeset: 6317f7e2c4fd Author: ksrini Date: 2010-08-23 08:18 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/6317f7e2c4fd 6531345: Memory leak in unpack200 Reviewed-by: jrose ! src/share/classes/com/sun/java/util/jar/pack/NativeUnpack.java + test/tools/pack200/UnpackerMemoryTest.java ! test/tools/pack200/Utils.java Changeset: cb67f0263bd4 Author: chegar Date: 2010-08-23 21:59 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/cb67f0263bd4 6977851: NPE from FileURLConnection.connect Reviewed-by: michaelm ! src/share/classes/sun/net/www/protocol/file/FileURLConnection.java + test/sun/net/www/protocol/file/DirPermissionDenied.java + test/sun/net/www/protocol/file/DirPermissionDenied.sh Changeset: 2585368bfc7c Author: ksrini Date: 2010-08-23 10:19 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/2585368bfc7c 6969063: (pack200) The default value of Pack200.Packer.SEGMENT_LIMIT property is empty string instead of -1 Reviewed-by: jrose ! src/share/classes/com/sun/java/util/jar/pack/PropMap.java + test/tools/pack200/Pack200Props.java - test/tools/pack200/SegmentLimit.java Changeset: 732f59013e78 Author: ksrini Date: 2010-08-23 10:47 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/732f59013e78 6966740: (pack200) need to add the timezone regression test Reviewed-by: jrose + test/tools/pack200/TimeStamp.java ! test/tools/pack200/Utils.java Changeset: 62d37c19c213 Author: lana Date: 2010-08-23 19:14 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/62d37c19c213 Merge - test/tools/pack200/Pack200Simple.sh - test/tools/pack200/SegmentLimit.java Changeset: 043d2736d44c Author: lana Date: 2010-08-29 22:41 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/jdk/rev/043d2736d44c Merge - src/share/classes/sun/java2d/pisces/PiscesMath.java - src/share/classes/sun/java2d/pisces/Transform4.java - test/tools/pack200/Pack200Simple.sh - test/tools/pack200/SegmentLimit.java From john.coomes at oracle.com Thu Sep 9 01:59:03 2010 From: john.coomes at oracle.com (john.coomes at oracle.com) Date: Thu, 09 Sep 2010 01:59:03 +0000 Subject: hg: jdk7/hotspot-gc/langtools: 45 new changesets Message-ID: <20100909020025.D089847824@hg.openjdk.java.net> Changeset: bd85271c580c Author: mikejwre Date: 2010-07-23 16:42 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/bd85271c580c Added tag jdk7-b102 for changeset ff9c0a0bf7ed ! .hgtags Changeset: fc7219517ec1 Author: cl Date: 2010-07-29 13:33 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/fc7219517ec1 Added tag jdk7-b103 for changeset bd85271c580c ! .hgtags Changeset: 49489c1d8fae Author: cl Date: 2010-08-06 12:52 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/49489c1d8fae Added tag jdk7-b104 for changeset fc7219517ec1 ! .hgtags Changeset: a5454419dd46 Author: jjg Date: 2010-07-13 19:14 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/a5454419dd46 6966732: replace use of static Log.getLocalizedString with non-static alternative where possible Reviewed-by: darcy ! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java ! src/share/classes/com/sun/tools/javac/jvm/ClassWriter.java ! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java ! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java ! src/share/classes/com/sun/tools/javac/util/Log.java Changeset: 0e1fab5cffc8 Author: jjg Date: 2010-07-13 19:17 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/0e1fab5cffc8 6968434: test CheckResourceKeys fails on control builds Reviewed-by: darcy ! test/tools/javac/diags/CheckResourceKeys.java Changeset: e57b27703e8b Author: jjg Date: 2010-07-13 19:20 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/e57b27703e8b 6968789: incorrect text in "diamond not supported" message Reviewed-by: darcy ! src/share/classes/com/sun/tools/javac/resources/compiler.properties Changeset: b49b0d72c071 Author: mcimadamore Date: 2010-07-15 16:31 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/b49b0d72c071 6967002: JDK7 b99 javac compilation error (java.lang.AssertionError) Summary: bug in JavacParser related to parsing of type annotations in varargs position Reviewed-by: jjg Contributed-by: mahmood at notnoop.com ! src/share/classes/com/sun/tools/javac/parser/JavacParser.java + test/tools/javac/typeAnnotations/6967002/T6967002.java + test/tools/javac/typeAnnotations/6967002/T6967002.out Changeset: 472e74211e11 Author: mcimadamore Date: 2010-07-15 16:31 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/472e74211e11 6964669: javac reports error on miranda methods Summary: synthetic name clash check should not apply to miranda methods Reviewed-by: jjg Contributed-by: tomas.zezula at sun.com ! src/share/classes/com/sun/tools/javac/comp/Check.java + test/tools/javac/miranda/6964669/T6964669.java + test/tools/javac/miranda/6964669/pkg/A.java + test/tools/javac/miranda/6964669/pkg/B.java + test/tools/javac/miranda/6964669/pkg/C.java Changeset: 13354e1abba7 Author: darcy Date: 2010-07-16 19:35 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/13354e1abba7 6911256: Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler 6964740: Project Coin: More tests for ARM compiler changes 6965277: Project Coin: Correctness issues in ARM implementation 6967065: add -Xlint warning category for Automatic Resource Management (ARM) Reviewed-by: jjb, darcy, mcimadamore, jjg, briangoetz Contributed-by: tball at google.com ! make/build.properties ! src/share/classes/com/sun/source/tree/TryTree.java ! src/share/classes/com/sun/source/util/TreeScanner.java ! src/share/classes/com/sun/tools/javac/code/Lint.java ! src/share/classes/com/sun/tools/javac/code/Source.java ! src/share/classes/com/sun/tools/javac/code/Symbol.java ! src/share/classes/com/sun/tools/javac/code/Symtab.java ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/comp/Check.java ! src/share/classes/com/sun/tools/javac/comp/Flow.java ! src/share/classes/com/sun/tools/javac/comp/Lower.java ! src/share/classes/com/sun/tools/javac/comp/TransTypes.java ! src/share/classes/com/sun/tools/javac/jvm/CRTable.java ! src/share/classes/com/sun/tools/javac/parser/JavacParser.java ! src/share/classes/com/sun/tools/javac/resources/compiler.properties ! src/share/classes/com/sun/tools/javac/tree/JCTree.java ! src/share/classes/com/sun/tools/javac/tree/Pretty.java ! src/share/classes/com/sun/tools/javac/tree/TreeCopier.java ! src/share/classes/com/sun/tools/javac/tree/TreeMaker.java ! src/share/classes/com/sun/tools/javac/tree/TreeScanner.java ! src/share/classes/com/sun/tools/javac/tree/TreeTranslator.java ! src/share/classes/com/sun/tools/javac/util/Names.java + test/tools/javac/TryWithResources/ArmLint.java + test/tools/javac/TryWithResources/ArmLint.out + test/tools/javac/TryWithResources/BadTwr.java + test/tools/javac/TryWithResources/BadTwr.out + test/tools/javac/TryWithResources/BadTwrSyntax.java + test/tools/javac/TryWithResources/BadTwrSyntax.out + test/tools/javac/TryWithResources/DuplicateResource.java + test/tools/javac/TryWithResources/DuplicateResourceDecl.java + test/tools/javac/TryWithResources/DuplicateResourceDecl.out + test/tools/javac/TryWithResources/ImplicitFinal.java + test/tools/javac/TryWithResources/ImplicitFinal.out + test/tools/javac/TryWithResources/PlainTry.java + test/tools/javac/TryWithResources/PlainTry.out + test/tools/javac/TryWithResources/PlainTry6.out + test/tools/javac/TryWithResources/ResourceOutsideTry.java + test/tools/javac/TryWithResources/ResourceOutsideTry.out + test/tools/javac/TryWithResources/ResourceTypeVar.java + test/tools/javac/TryWithResources/TwrFlow.java + test/tools/javac/TryWithResources/TwrFlow.out + test/tools/javac/TryWithResources/TwrInference.java + test/tools/javac/TryWithResources/TwrIntersection.java + test/tools/javac/TryWithResources/TwrIntersection02.java + test/tools/javac/TryWithResources/TwrIntersection02.out + test/tools/javac/TryWithResources/TwrMultiCatch.java + test/tools/javac/TryWithResources/TwrOnNonResource.java + test/tools/javac/TryWithResources/TwrOnNonResource.out + test/tools/javac/TryWithResources/TwrTests.java + test/tools/javac/TryWithResources/WeirdTwr.java + test/tools/javac/processing/model/element/TestResourceVariable.java Changeset: 3640b60bd0f6 Author: jjg Date: 2010-07-22 11:02 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/3640b60bd0f6 6968063: provide examples of code that generate diagnostics Reviewed-by: mcimadamore ! make/build.xml + test/tools/javac/diags/CheckExamples.java + test/tools/javac/diags/Example.java + test/tools/javac/diags/FileManager.java + test/tools/javac/diags/HTMLWriter.java + test/tools/javac/diags/README.examples.txt + test/tools/javac/diags/RunExamples.java + test/tools/javac/diags/examples.not-yet.txt + test/tools/javac/diags/examples/AbstractCantBeAccessed.java + test/tools/javac/diags/examples/AbstractCantBeInstantiated.java + test/tools/javac/diags/examples/AbstractMethodCantHaveBody.java + test/tools/javac/diags/examples/AlreadyDefined.java + test/tools/javac/diags/examples/AlreadyDefinedImport.java + test/tools/javac/diags/examples/AlreadyDefinedStaticImport/AlreadDefinedStaticImport.java + test/tools/javac/diags/examples/AlreadyDefinedStaticImport/p/E1.java + test/tools/javac/diags/examples/AlreadyDefinedStaticImport/p/E2.java + test/tools/javac/diags/examples/AnnoNotApplicable.java + test/tools/javac/diags/examples/AnnoNotValidForType.java + test/tools/javac/diags/examples/AnnoValueMustBeAnnotation.java + test/tools/javac/diags/examples/AnnoValueMustBeClassLiteral.java + test/tools/javac/diags/examples/AnnosWithoutProcessors/AnnosWithoutProcessors.java + test/tools/javac/diags/examples/AnnosWithoutProcessors/processors/AnnoProc.java + test/tools/javac/diags/examples/AnnotationMissingValue.java + test/tools/javac/diags/examples/AnnotationMustBeNameValue.java + test/tools/javac/diags/examples/AnnotationsNotSupported.java + test/tools/javac/diags/examples/AnonClassImplInterfaceNoArgs.java + test/tools/javac/diags/examples/AnonClassImplInterfaceNoQualForNew.java + test/tools/javac/diags/examples/AnonClassImplInterfaceNoTypeArgs.java + test/tools/javac/diags/examples/AnonymousClass.java + test/tools/javac/diags/examples/ArrayAndVarargs.java + test/tools/javac/diags/examples/ArrayDimMissing.java + test/tools/javac/diags/examples/ArrayRequired.java + test/tools/javac/diags/examples/AssertAsIdentifier.java + test/tools/javac/diags/examples/AssertAsIdentifier2.java + test/tools/javac/diags/examples/AttrMustBeConstant.java + test/tools/javac/diags/examples/BadSourceFileHeader/BadSourceFileHeader.java + test/tools/javac/diags/examples/BadSourceFileHeader/sourcepath/p/A.java + test/tools/javac/diags/examples/BreakOutsideSwitchLoop.java + test/tools/javac/diags/examples/CallMustBeFirst.java + test/tools/javac/diags/examples/CannotCreateArrayWithTypeArgs.java + test/tools/javac/diags/examples/CantApplyDiamond.java + test/tools/javac/diags/examples/CantAssignToFinal.java + test/tools/javac/diags/examples/CantDeref.java + test/tools/javac/diags/examples/CantExtendIntfAnno.java + test/tools/javac/diags/examples/CantImplement.java + test/tools/javac/diags/examples/CantInheritDiffArg.java + test/tools/javac/diags/examples/CantRefBeforeConstr.java + test/tools/javac/diags/examples/CantResolve.java + test/tools/javac/diags/examples/CantResolveArgs.java + test/tools/javac/diags/examples/CantResolveArgsParams.java + test/tools/javac/diags/examples/CantResolveLocation.java + test/tools/javac/diags/examples/CantResolveLocationArgs.java + test/tools/javac/diags/examples/CantResolveLocationArgsParams.java + test/tools/javac/diags/examples/CantReturnValueForVoid.java + test/tools/javac/diags/examples/CatchWithoutTry.java + test/tools/javac/diags/examples/ClashesWith.java + test/tools/javac/diags/examples/ClassCantWrite.java + test/tools/javac/diags/examples/ClassPublicInFile.java + test/tools/javac/diags/examples/ConcreteInheritanceConflict.java + test/tools/javac/diags/examples/ConstExprRequired.java + test/tools/javac/diags/examples/ConstantSVUID.java + test/tools/javac/diags/examples/ContinueOutsideLoop.java + test/tools/javac/diags/examples/CountError.java + test/tools/javac/diags/examples/CountErrorPlural.java + test/tools/javac/diags/examples/CountWarn.java + test/tools/javac/diags/examples/CountWarnPlural.java + test/tools/javac/diags/examples/CyclicAnnoElement.java + test/tools/javac/diags/examples/CyclicInheritance.java + test/tools/javac/diags/examples/DefaultAllowedInIntfAnnotationMember.java + test/tools/javac/diags/examples/DeprecatedFilename.java + test/tools/javac/diags/examples/DeprecatedFilenameAdditional.java + test/tools/javac/diags/examples/DeprecatedPlural/DeprecatedClass.java + test/tools/javac/diags/examples/DeprecatedPlural/DeprecatedFilename.java + test/tools/javac/diags/examples/DeprecatedPlural/DeprecatedPlural.java + test/tools/javac/diags/examples/DeprecatedPluralAdditional/DeprecatedClass.java + test/tools/javac/diags/examples/DeprecatedPluralAdditional/DeprecatedFilename.java + test/tools/javac/diags/examples/DeprecatedPluralAdditional/DeprecatedPlural.java + test/tools/javac/diags/examples/DeprecatedPluralAdditional/DeprecatedPluralAdditional.java + test/tools/javac/diags/examples/DiamondInvalidArg.java + test/tools/javac/diags/examples/DiamondInvalidArgs.java + test/tools/javac/diags/examples/DiamondNotSupported.java + test/tools/javac/diags/examples/DirPathElementNotFound.java + test/tools/javac/diags/examples/DivZero.java + test/tools/javac/diags/examples/DoesNotOverride.java + test/tools/javac/diags/examples/DoesntExist.java + test/tools/javac/diags/examples/DotClassExpected.java + test/tools/javac/diags/examples/DuplicateAnnotation.java + test/tools/javac/diags/examples/DuplicateAnnotationMemberValue.java + test/tools/javac/diags/examples/DuplicateCaseLabel.java + test/tools/javac/diags/examples/DuplicateClass.java + test/tools/javac/diags/examples/DuplicateDefaultLabel.java + test/tools/javac/diags/examples/ElseWithoutIf.java + test/tools/javac/diags/examples/EmptyBytecodeIdent.java + test/tools/javac/diags/examples/EmptyCharLiteral.java + test/tools/javac/diags/examples/EmptyIf.java + test/tools/javac/diags/examples/EnclClassRequired.java + test/tools/javac/diags/examples/EnumAnnoValueMustBeEnumConst.java + test/tools/javac/diags/examples/EnumAsIdentifier.java + test/tools/javac/diags/examples/EnumAsIdentifier2.java + test/tools/javac/diags/examples/EnumCantBeInstantiated.java + test/tools/javac/diags/examples/EnumConstRequired.java + test/tools/javac/diags/examples/EnumLabelUnqualified.java + test/tools/javac/diags/examples/EnumNoFinalize.java + test/tools/javac/diags/examples/EnumNoSubclassing.java + test/tools/javac/diags/examples/EnumTypesNotExtensible.java + test/tools/javac/diags/examples/EnumsMustBeStatic.java + test/tools/javac/diags/examples/EnumsNotSupported.java + test/tools/javac/diags/examples/ErrProcMessager/ErrProcMessager.java + test/tools/javac/diags/examples/ErrProcMessager/processors/AnnoProc.java + test/tools/javac/diags/examples/ErrSyntheticNameConflict.java + test/tools/javac/diags/examples/Error.java + test/tools/javac/diags/examples/ErrorReadingFile.java + test/tools/javac/diags/examples/ExceptAlreadyCaught.java + test/tools/javac/diags/examples/ExceptNeverThrown.java + test/tools/javac/diags/examples/Expected2.java + test/tools/javac/diags/examples/Expected3.java + test/tools/javac/diags/examples/FinalParamCantBeAssigned.java + test/tools/javac/diags/examples/FinallyCannotComplete.java + test/tools/javac/diags/examples/FinallyWithoutTry.java + test/tools/javac/diags/examples/FloatNumberTooLarge.java + test/tools/javac/diags/examples/FloatNumberTooSmall.java + test/tools/javac/diags/examples/ForeachNotApplicable.java + test/tools/javac/diags/examples/ForeachNotSupported.java + test/tools/javac/diags/examples/GenericArrayCreation.java + test/tools/javac/diags/examples/GenericThrowable.java + test/tools/javac/diags/examples/GenericsNotSupported.java + test/tools/javac/diags/examples/HasBeenDeprecated.java + test/tools/javac/diags/examples/IdentifierExpected.java + test/tools/javac/diags/examples/IllegalBytecodeIdentChar.java + test/tools/javac/diags/examples/IllegalChar.java + test/tools/javac/diags/examples/IllegalComboModifiers.java + test/tools/javac/diags/examples/IllegalEnumStaticRef.java + test/tools/javac/diags/examples/IllegalEscapeChar.java + test/tools/javac/diags/examples/IllegalForwardRef.java + test/tools/javac/diags/examples/IllegalInitializer.java + test/tools/javac/diags/examples/IllegalLineEndInCharLit.java + test/tools/javac/diags/examples/IllegalNonAsciiDigit.java + test/tools/javac/diags/examples/IllegalQualNotIcls.java + test/tools/javac/diags/examples/IllegalSelfRef.java + test/tools/javac/diags/examples/IllegalStartOfExpr.java + test/tools/javac/diags/examples/IllegalUnderscore.java + test/tools/javac/diags/examples/IllegalUnicodeEscape.java + test/tools/javac/diags/examples/ImportRequiresCanonical/ImportRequiresCanonical.java + test/tools/javac/diags/examples/ImportRequiresCanonical/p/Base.java + test/tools/javac/diags/examples/ImportRequiresCanonical/p/ExtendsBase.java + test/tools/javac/diags/examples/ImproperSVUID.java + test/tools/javac/diags/examples/ImproperTypeInnerRawParam.java + test/tools/javac/diags/examples/ImproperTypeParamMissing.java + test/tools/javac/diags/examples/IncomparableTypes.java + test/tools/javac/diags/examples/IncompatibleTypes1.java + test/tools/javac/diags/examples/InconvertibleTypes.java + test/tools/javac/diags/examples/InexactVarargsCall.java + test/tools/javac/diags/examples/InferredDoNotConformToBounds.java + test/tools/javac/diags/examples/InheritFromFinal.java + test/tools/javac/diags/examples/InitializerMustComplete.java + test/tools/javac/diags/examples/InnerClassCantHaveStatic.java + test/tools/javac/diags/examples/IntNumberTooLarge.java + test/tools/javac/diags/examples/InterfaceExpected.java + test/tools/javac/diags/examples/InterfaceNotAllowed.java + test/tools/javac/diags/examples/IntfAnnotationCantHaveTypeParams.java + test/tools/javac/diags/examples/IntfAnnotationMemberClash.java + test/tools/javac/diags/examples/IntfAnnotationsCantHaveParams.java + test/tools/javac/diags/examples/IntfAnnotationsCantHaveTypeParams.java + test/tools/javac/diags/examples/IntfMethodCantHaveBody.java + test/tools/javac/diags/examples/InvalidAnnoMemberType.java + test/tools/javac/diags/examples/InvalidBinaryNumber.java + test/tools/javac/diags/examples/InvalidHexNumber.java + test/tools/javac/diags/examples/InvalidInferredTypes.java + test/tools/javac/diags/examples/InvalidInstanceof.java + test/tools/javac/diags/examples/InvalidMethodDecl.java + test/tools/javac/diags/examples/KindnameClass.java + test/tools/javac/diags/examples/KindnameConstructor.java + test/tools/javac/diags/examples/KindnameMethod.java + test/tools/javac/diags/examples/KindnameVariable.java + test/tools/javac/diags/examples/LabelInUse.java + test/tools/javac/diags/examples/LocalEnum.java + test/tools/javac/diags/examples/LocalVarNeedsFinal.java + test/tools/javac/diags/examples/LongSVUID.java + test/tools/javac/diags/examples/MalformedFpLit.java + test/tools/javac/diags/examples/MalformedSupported/MalformedSupported.java + test/tools/javac/diags/examples/MalformedSupported/processors/AnnoProc.java + test/tools/javac/diags/examples/MethodDoesNotOverride.java + test/tools/javac/diags/examples/MightBeAssignedInLoop.java + test/tools/javac/diags/examples/MissingDeprecatedAnnotation.java + test/tools/javac/diags/examples/MissingMethodBody.java + test/tools/javac/diags/examples/MissingReturnStatement.java + test/tools/javac/diags/examples/MissingReturnValue.java + test/tools/javac/diags/examples/MissingSVUID.java + test/tools/javac/diags/examples/ModifierNotAllowed.java + test/tools/javac/diags/examples/MulticatchCantBeAssigned.java + test/tools/javac/diags/examples/MulticatchMustBeFinal.java + test/tools/javac/diags/examples/MulticatchNotSupported.java + test/tools/javac/diags/examples/NameClashSameErasure.java + test/tools/javac/diags/examples/NameClashSameErasureNoOverride.java + test/tools/javac/diags/examples/NativeMethodCantHaveBody.java + test/tools/javac/diags/examples/NeitherConditionalSubtype.java + test/tools/javac/diags/examples/NewNotAllowedInAnno.java + test/tools/javac/diags/examples/NoArgs.java + test/tools/javac/diags/examples/NoExplicitAnnoProcRequested.java + test/tools/javac/diags/examples/NoInterfaceExpected.java + test/tools/javac/diags/examples/NoInterfaceHere.java + test/tools/javac/diags/examples/NoJavaLang.java + test/tools/javac/diags/examples/NoSuperclass.java + test/tools/javac/diags/examples/NonStaticCantBeRef.java + test/tools/javac/diags/examples/NotDefAccessClassIntfCantAccess/NotDefAccessClassIntfCantAccess.java + test/tools/javac/diags/examples/NotDefAccessClassIntfCantAccess/p/C.java + test/tools/javac/diags/examples/NotDefPublicCantAccess/NotDefPublicCantAccess.java + test/tools/javac/diags/examples/NotDefPublicCantAccess/p/C.java + test/tools/javac/diags/examples/NotEnclClass.java + test/tools/javac/diags/examples/NotLoopLabel.java + test/tools/javac/diags/examples/NotWithinBounds.java + test/tools/javac/diags/examples/Note.java + test/tools/javac/diags/examples/NoteProcMessager/NoteProcMessager.java + test/tools/javac/diags/examples/NoteProcMessager/processors/AnnoProc.java + test/tools/javac/diags/examples/OperatorCantBeApplied.java + test/tools/javac/diags/examples/Orphaned.java + test/tools/javac/diags/examples/OverrideDoesntThrow.java + test/tools/javac/diags/examples/OverrideIncompatibleReturn.java + test/tools/javac/diags/examples/OverrideMeth.java + test/tools/javac/diags/examples/OverrideStatic.java + test/tools/javac/diags/examples/OverrideUncheckedReturn.java + test/tools/javac/diags/examples/OverrideUncheckedThrown.java + test/tools/javac/diags/examples/OverrideVarargsExtra.java + test/tools/javac/diags/examples/OverrideVarargsMissing.java + test/tools/javac/diags/examples/OverrideWeakerAccess.java + test/tools/javac/diags/examples/PackageAnnos.java + test/tools/javac/diags/examples/PackageInfoAlreadySeen/p/package-info.java + test/tools/javac/diags/examples/PackageInfoAlreadySeen/package-info.java + test/tools/javac/diags/examples/PathElementNotFound.java + test/tools/javac/diags/examples/PkgClashWithClass/p/q.java + test/tools/javac/diags/examples/PkgClashWithClass/p/q/C.java + test/tools/javac/diags/examples/PossibleFallThrough.java + test/tools/javac/diags/examples/PossibleLossPrecision.java + test/tools/javac/diags/examples/PrematureEOF.java + test/tools/javac/diags/examples/PrintProcessorInfo/PrintProcessorInfo.java + test/tools/javac/diags/examples/PrintProcessorInfo/processors/AnnoProc.java + test/tools/javac/diags/examples/PrintRounds/PrintRounds.java + test/tools/javac/diags/examples/PrintRounds/processors/AnnoProc.java + test/tools/javac/diags/examples/ProcCantFindClass/ProcCantFindClass.java + test/tools/javac/diags/examples/ProcCantFindClass/processors/AnnoProc.java + test/tools/javac/diags/examples/ProcFileReopening/ProcFileReopening.java + test/tools/javac/diags/examples/ProcFileReopening/processors/AnnoProc.java + test/tools/javac/diags/examples/ProcIllegalFileName/ProcIllegalFileName.java + test/tools/javac/diags/examples/ProcIllegalFileName/processors/AnnoProc.java + test/tools/javac/diags/examples/ProcIncompatibleSourceVersion/ProcIncompatibleSourceVersion.java + test/tools/javac/diags/examples/ProcIncompatibleSourceVersion/processors/AnnoProc.java + test/tools/javac/diags/examples/ProcOnlyNoProcs.java + test/tools/javac/diags/examples/ProcPackageDoesNotExist/ProcPackageDoesNotExist.java + test/tools/javac/diags/examples/ProcPackageDoesNotExist/processors/AnnoProc.java + test/tools/javac/diags/examples/ProcTypeRecreate/ProcTypeRecreate.java + test/tools/javac/diags/examples/ProcTypeRecreate/processors/AnnoProc.java + test/tools/javac/diags/examples/ProcUnclosedTypeFiles/ProcUnclosedTypeFiles.java + test/tools/javac/diags/examples/ProcUnclosedTypeFiles/processors/AnnoProc.java + test/tools/javac/diags/examples/ProcUseImplicit/ProcUseImplicit.java + test/tools/javac/diags/examples/ProcUseImplicit/processors/AnnoProc.java + test/tools/javac/diags/examples/ProcUseImplicit/sourcepath/p/SomeClass.java + test/tools/javac/diags/examples/ProcUseProcOrImplicit/ProcUseProcOrImplicit.java + test/tools/javac/diags/examples/ProcUseProcOrImplicit/processors/AnnoProc.java + test/tools/javac/diags/examples/ProcUseProcOrImplicit/sourcepath/p/SomeClass.java + test/tools/javac/diags/examples/ProcessorCantInstantiate/ProcessorCantInstantiate.java + test/tools/javac/diags/examples/ProcessorCantInstantiate/processors/AnnoProc.java + test/tools/javac/diags/examples/ProcessorNotFound.java + test/tools/javac/diags/examples/ProcessorWrongType/ProcessorWrongType.java + test/tools/javac/diags/examples/ProcessorWrongType/processors/AnnoProc.java + test/tools/javac/diags/examples/QualifiedNewStaticClass.java + test/tools/javac/diags/examples/RawClassUse.java + test/tools/javac/diags/examples/RecursiveConstrInvocation.java + test/tools/javac/diags/examples/RedundantCast.java + test/tools/javac/diags/examples/RefAmbiguous.java + test/tools/javac/diags/examples/RepeatedAnnotationTarget.java + test/tools/javac/diags/examples/RepeatedInterface.java + test/tools/javac/diags/examples/RepeatedModifier.java + test/tools/javac/diags/examples/ReportAccess.java + test/tools/javac/diags/examples/ResourceClosed.java + test/tools/javac/diags/examples/ResourceMayNotBeAssigned.java + test/tools/javac/diags/examples/ResourceNotApplicableToType.java + test/tools/javac/diags/examples/ResourceNotReferenced.java + test/tools/javac/diags/examples/ReturnOutsideMethod.java + test/tools/javac/diags/examples/StaticImportNotSupported.java + test/tools/javac/diags/examples/StaticImportOnlyClassesAndInterfaces/Other.java + test/tools/javac/diags/examples/StaticImportOnlyClassesAndInterfaces/StaticImportOnlyClassesAndInterfaces.java + test/tools/javac/diags/examples/StaticNotQualifiedByType.java + test/tools/javac/diags/examples/StringConstRequired.java + test/tools/javac/diags/examples/StringSwitchNotSupported.java + test/tools/javac/diags/examples/SunApiFilename.java + test/tools/javac/diags/examples/SunApiFilenameAdditional.java + test/tools/javac/diags/examples/SunApiPlural/SunApiFilename.java + test/tools/javac/diags/examples/SunApiPlural/SunApiPlural.java + test/tools/javac/diags/examples/SunApiPluralAdditional/SunApiFilename.java + test/tools/javac/diags/examples/SunApiPluralAdditional/SunApiPlural.java + test/tools/javac/diags/examples/SunApiPluralAdditional/SunApiPluralAdditional.java + test/tools/javac/diags/examples/SunProprietary.java + test/tools/javac/diags/examples/SuperNotAllowedInEnum.java + test/tools/javac/diags/examples/ThrowsNotAllowedInAnno.java + test/tools/javac/diags/examples/TryResourceNotSupported.java + test/tools/javac/diags/examples/TryWithoutCatchOrFinally.java + test/tools/javac/diags/examples/TryWithoutCatchOrFinallyOrResource.java + test/tools/javac/diags/examples/TypeAnnotationsNotSupported.java + test/tools/javac/diags/examples/TypeFoundRequired.java + test/tools/javac/diags/examples/TypeNoParams.java + test/tools/javac/diags/examples/TypeReqClassArray.java + test/tools/javac/diags/examples/TypeReqRef.java + test/tools/javac/diags/examples/TypeVarCantBeDeref.java + test/tools/javac/diags/examples/TypeVarMayNotBeFollowedByOtherBounds.java + test/tools/javac/diags/examples/TypesIncompatible.java + test/tools/javac/diags/examples/UncheckedAssign.java + test/tools/javac/diags/examples/UncheckedAssignToVar.java + test/tools/javac/diags/examples/UncheckedCall.java + test/tools/javac/diags/examples/UncheckedCast.java + test/tools/javac/diags/examples/UncheckedClash.java + test/tools/javac/diags/examples/UncheckedFilename.java + test/tools/javac/diags/examples/UncheckedFilenameAdditional.java + test/tools/javac/diags/examples/UncheckedGenericArrayCreation.java + test/tools/javac/diags/examples/UncheckedImplement.java + test/tools/javac/diags/examples/UncheckedMethodInvocation.java + test/tools/javac/diags/examples/UncheckedPlural/UncheckedFilename.java + test/tools/javac/diags/examples/UncheckedPlural/UncheckedPlural.java + test/tools/javac/diags/examples/UncheckedPluralAdditional/UncheckedFilename1.java + test/tools/javac/diags/examples/UncheckedPluralAdditional/UncheckedFilename2.java + test/tools/javac/diags/examples/UncheckedPluralAdditional/UncheckedPluralAdditional.java + test/tools/javac/diags/examples/UnclosedBytecodeIdent.java + test/tools/javac/diags/examples/UnclosedCharLiteral.java + test/tools/javac/diags/examples/UnclosedComment.java + test/tools/javac/diags/examples/UnclosedStringLiteral.java + test/tools/javac/diags/examples/UndefinedLabel.java + test/tools/javac/diags/examples/UndeterminedType1.java + test/tools/javac/diags/examples/UnmatchedProcessorOptions/UnmatchedProcessorOptions.java + test/tools/javac/diags/examples/UnmatchedProcessorOptions/processors/AnnoProc.java + test/tools/javac/diags/examples/UnnamedPackage.java + test/tools/javac/diags/examples/UnreachableStatement.java + test/tools/javac/diags/examples/UnreportedException.java + test/tools/javac/diags/examples/UnreportedExceptionDefaultConstructor.java + test/tools/javac/diags/examples/UnsupportedBinaryLiteral.java + test/tools/javac/diags/examples/UnsupportedEncoding.java + test/tools/javac/diags/examples/UnsupportedFpLit.java + test/tools/javac/diags/examples/UnsupportedUnderscoreLiteral.java + test/tools/javac/diags/examples/VarMightAlreadyBeAssigned.java + test/tools/javac/diags/examples/VarMightNotHaveBeenInitialized.java + test/tools/javac/diags/examples/VarargsClash.java + test/tools/javac/diags/examples/VarargsFilename.java + test/tools/javac/diags/examples/VarargsFilenameAdditional.java + test/tools/javac/diags/examples/VarargsImplement.java + test/tools/javac/diags/examples/VarargsNonReifiableType.java + test/tools/javac/diags/examples/VarargsNotSupported.java + test/tools/javac/diags/examples/VarargsOverride.java + test/tools/javac/diags/examples/VarargsPlural/VarargsFilename.java + test/tools/javac/diags/examples/VarargsPlural/VarargsPlural.java + test/tools/javac/diags/examples/VarargsPluralAdditional/VarargsFilename.java + test/tools/javac/diags/examples/VarargsPluralAdditional/VarargsPlural.java + test/tools/javac/diags/examples/VarargsPluralAdditional/VarargsPluralAdditional.java + test/tools/javac/diags/examples/Verbose.java + test/tools/javac/diags/examples/VoidNotAllowed.java + test/tools/javac/diags/examples/WarnForwardRef.java + test/tools/javac/diags/examples/WarnProcMessager/WarnProcMessager.java + test/tools/javac/diags/examples/WarnProcMessager/processors/AnnoProc.java + test/tools/javac/diags/examples/WarnSelfRef.java + test/tools/javac/diags/examples/WarnSyntheticNameConflict.java + test/tools/javac/diags/examples/WarningAndWerror.java + test/tools/javac/diags/examples/WhereCaptured.java + test/tools/javac/diags/examples/WhereCaptured1.java + test/tools/javac/diags/examples/WhereIntersection.java + test/tools/javac/diags/examples/WhereTypeVar.java + test/tools/javac/diags/examples/WrongNumberTypeArgs.java Changeset: 4172cfff05f0 Author: jjg Date: 2010-07-26 14:18 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/4172cfff05f0 6971882: Remove -XDstdout from javac test Reviewed-by: darcy ! test/tools/javac/4980495/static/Test.java ! test/tools/javac/4980495/std/Test.java ! test/tools/javac/6304921/T6304921.java ! test/tools/javac/6330920/T6330920.java ! test/tools/javac/6491592/T6491592.java ! test/tools/javac/6717241/T6717241a.java ! test/tools/javac/6717241/T6717241b.java ! test/tools/javac/ClassFileModifiers/ClassModifiers.java ! test/tools/javac/ClassFileModifiers/MemberModifiers.java ! test/tools/javac/CyclicInheritance.java ! test/tools/javac/Digits.java ! test/tools/javac/ExtendArray.java ! test/tools/javac/ExtendsAccess/ExtendsAccess.java ! test/tools/javac/FloatingPointChanges/BadConstructorModifiers.java ! test/tools/javac/IllegalAnnotation.java ! test/tools/javac/InnerNamedConstant_2.java ! test/tools/javac/InterfaceMemberClassModifiers.java ! test/tools/javac/LocalClasses_2.java ! test/tools/javac/NameCollision.java ! test/tools/javac/NestedInnerClassNames.java ! test/tools/javac/NonStaticFieldExpr1.java ! test/tools/javac/NonStaticFieldExpr2.java ! test/tools/javac/NonStaticFieldExpr3.java ! test/tools/javac/OverridePosition.java ! test/tools/javac/QualifiedAccess/QualifiedAccess_1.java ! test/tools/javac/QualifiedAccess/QualifiedAccess_2.java ! test/tools/javac/QualifiedAccess/QualifiedAccess_3.java ! test/tools/javac/StringsInSwitch/BadlyTypedLabel1.java ! test/tools/javac/StringsInSwitch/BadlyTypedLabel2.java ! test/tools/javac/StringsInSwitch/NonConstantLabel.java ! test/tools/javac/StringsInSwitch/RepeatedStringCaseLabels1.java ! test/tools/javac/StringsInSwitch/RepeatedStringCaseLabels2.java ! test/tools/javac/SynchronizedClass.java ! test/tools/javac/T4093617/T4093617.java ! test/tools/javac/T4906100.java ! test/tools/javac/T4994049/T4994049.java ! test/tools/javac/T5003235/T5003235a.java ! test/tools/javac/T5003235/T5003235b.java ! test/tools/javac/T5003235/T5003235c.java ! test/tools/javac/T5024091/T5024091.java ! test/tools/javac/T5048776.java ! test/tools/javac/T6214885.java ! test/tools/javac/T6224167.java ! test/tools/javac/T6227617.java ! test/tools/javac/T6230128.java ! test/tools/javac/T6231847.java ! test/tools/javac/T6241723.java ! test/tools/javac/T6245591.java ! test/tools/javac/T6247324.java ! test/tools/javac/T6394563.java ! test/tools/javac/annotations/6214965/T6214965.java ! test/tools/javac/annotations/6365854/T6365854.java ! test/tools/javac/danglingDep/DepX.java ! test/tools/javac/danglingDep/NoDepX.java ! test/tools/javac/danglingDep/Test1.java ! test/tools/javac/depDocComment/DeprecatedDocComment.java ! test/tools/javac/depDocComment/SuppressDeprecation.java ! test/tools/javac/depOverrides/annotation/Test1.java ! test/tools/javac/depOverrides/annotation/Test2.java ! test/tools/javac/depOverrides/annotation/Test3.java ! test/tools/javac/depOverrides/doccomment/Test1.java ! test/tools/javac/depOverrides/doccomment/Test2.java ! test/tools/javac/depOverrides/doccomment/Test3.java ! test/tools/javac/enum/6384542/T6384542.java ! test/tools/javac/enum/6384542/T6384542a.java ! test/tools/javac/enum/forwardRef/T6425594.java ! test/tools/javac/generics/5009937/T5009937.java ! test/tools/javac/generics/6207386/T6207386.java ! test/tools/javac/generics/6359951/T6359951.java ! test/tools/javac/generics/6677785/T6677785.java ! test/tools/javac/generics/6723444/T6723444.java ! test/tools/javac/generics/inference/6611449/T6611449.java ! test/tools/javac/generics/inference/6718364/T6718364.java ! test/tools/javac/generics/wildcards/6437894/T6437894.java ! test/tools/javac/lint/NoWarn.java ! test/tools/javac/mandatoryWarnings/deprecated/Test.java ! test/tools/javac/mandatoryWarnings/unchecked/Test.java ! test/tools/javac/miranda/T4666866.java ! test/tools/javac/missingSuperRecovery/MissingSuperRecovery.java ! test/tools/javac/policy/test1/Test1a.java ! test/tools/javac/policy/test2/Test.java ! test/tools/javac/positions/T6253161.java ! test/tools/javac/positions/T6253161a.java ! test/tools/javac/positions/T6264029.java ! test/tools/javac/processing/messager/6362067/T6362067.java ! test/tools/javac/processing/warnings/TestSourceVersionWarnings.java ! test/tools/javac/protectedAccess/ProtectedMemberAccess2.java ! test/tools/javac/protectedAccess/ProtectedMemberAccess3.java ! test/tools/javac/protectedAccess/ProtectedMemberAccess4.java ! test/tools/javac/rawDiags/Error.java ! test/tools/javac/rawDiags/Note.java ! test/tools/javac/rawDiags/Warning.java ! test/tools/javac/unicode/UnicodeNewline.java ! test/tools/javac/warnings/Deprecation.java ! test/tools/javac/warnings/DivZero.java ! test/tools/javac/warnings/FallThrough.java ! test/tools/javac/warnings/Unchecked.java Changeset: d1bd93028447 Author: jjg Date: 2010-07-26 14:25 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/d1bd93028447 6957438: improve code for generating warning messages containing option names Reviewed-by: mcimadamore ! src/share/classes/com/sun/tools/javac/code/Lint.java ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/comp/Check.java ! src/share/classes/com/sun/tools/javac/comp/Flow.java ! src/share/classes/com/sun/tools/javac/comp/Resolve.java ! src/share/classes/com/sun/tools/javac/file/Paths.java ! src/share/classes/com/sun/tools/javac/resources/compiler.properties ! src/share/classes/com/sun/tools/javac/util/AbstractDiagnosticFormatter.java ! src/share/classes/com/sun/tools/javac/util/AbstractLog.java ! src/share/classes/com/sun/tools/javac/util/BasicDiagnosticFormatter.java ! src/share/classes/com/sun/tools/javac/util/JCDiagnostic.java ! src/share/classes/com/sun/tools/javac/util/MandatoryWarningHandler.java ! test/tools/javac/diags/examples/CountWarn.java ! test/tools/javac/diags/examples/CountWarnPlural.java ! test/tools/javac/diags/examples/Error.java Changeset: b29160d1b3e0 Author: jjg Date: 2010-07-27 11:32 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/b29160d1b3e0 6972327: JCTree.pos incorrect for annotations without modifiers and package Reviewed-by: mcimadamore Contributed-by: jan.lahoda at sun.com ! src/share/classes/com/sun/tools/javac/parser/JavacParser.java ! src/share/classes/com/sun/tools/javac/tree/TreeMaker.java + test/tools/javac/T6972327.java Changeset: ed354a00f76b Author: jjg Date: 2010-07-27 11:52 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/ed354a00f76b 6403456: -Werror should work with annotation processing Reviewed-by: darcy ! src/share/classes/com/sun/tools/javac/processing/JavacMessager.java ! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java + test/tools/javac/processing/werror/WError1.java + test/tools/javac/processing/werror/WError1.out + test/tools/javac/processing/werror/WErrorGen.java + test/tools/javac/processing/werror/WErrorGen.out + test/tools/javac/processing/werror/WErrorLast.java + test/tools/javac/processing/werror/WErrorLast.out Changeset: 36c4ec4525b4 Author: mcimadamore Date: 2010-07-29 15:56 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/36c4ec4525b4 6938454: Unable to determine generic type in program that compiles under Java 6 Summary: a redundant dubtyping check causes spurious inference failure Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/comp/Infer.java + test/tools/javac/generics/inference/6938454/T6938454a.java + test/tools/javac/generics/inference/6938454/T6938454b.java Changeset: e79e8efe1b3e Author: mcimadamore Date: 2010-07-29 15:57 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/e79e8efe1b3e 6972747: CheckExamples fail when assertions are enabled Summary: The test calls the wrong version of JavacMessage constructor Reviewed-by: jjg ! test/tools/javac/diags/Example.java Changeset: 62f3f07002ea Author: mcimadamore Date: 2010-07-29 15:57 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/62f3f07002ea 6970833: Try-with-resource implementation throws an NPE during Flow analysis Summary: Updated logic not to rely upon Symbol.implementation (which check in superinterfaces) Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/comp/Flow.java ! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java + test/tools/javac/TryWithResources/ResourceInterface.java + test/tools/javac/TryWithResources/ResourceInterface.out Changeset: 4a7979c3ce15 Author: jjg Date: 2010-07-29 18:06 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/4a7979c3ce15 6972556: warning for using a file name instead of a binary name for Filer.createSourceFile Reviewed-by: darcy ! src/share/classes/com/sun/tools/javac/processing/JavacFiler.java ! src/share/classes/com/sun/tools/javac/resources/compiler.properties + test/tools/javac/diags/examples/ProcSuspiciousClassName/ProcSuspiciousClassName.java + test/tools/javac/diags/examples/ProcSuspiciousClassName/processors/AnnoProc.java Changeset: 8a5c98a695ae Author: jjg Date: 2010-07-29 19:27 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/8a5c98a695ae 6340549: javax.tools.JavaCompilerTool.getStandardFileManager().list() includes directories Reviewed-by: darcy + test/tools/javac/T6340549.java Changeset: 2cf925ad67ab Author: jjg Date: 2010-07-29 19:30 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/2cf925ad67ab 6966604: JavacFiler not correctly notified of lastRound Reviewed-by: darcy ! src/share/classes/com/sun/tools/javac/processing/JavacFiler.java ! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java ! test/tools/javac/diags/examples.not-yet.txt + test/tools/javac/diags/examples/ProcFileCreateLastRound/ProcFileCreateLastRound.java + test/tools/javac/diags/examples/ProcFileCreateLastRound/processors/AnnoProc.java + test/tools/javac/processing/filer/TestLastRound.java + test/tools/javac/processing/filer/TestLastRound.out ! test/tools/javac/processing/werror/WErrorGen.java Changeset: 077eb94c912d Author: lana Date: 2010-07-29 22:04 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/077eb94c912d Merge Changeset: 38e2c23309f1 Author: darcy Date: 2010-08-02 13:35 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/38e2c23309f1 6971877: Project Coin: improve semantics of suppressed exceptions in try-with-resources Reviewed-by: jjb + test/tools/javac/TryWithResources/TwrSuppression.java Changeset: 6318230cdb82 Author: jjg Date: 2010-08-02 16:29 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/6318230cdb82 6973626: test/tools/javac/processing/* tests fail with assertions enabled Reviewed-by: darcy ! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java Changeset: 186feb2042f0 Author: lana Date: 2010-08-02 19:46 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/186feb2042f0 Merge Changeset: aaecac256d39 Author: lana Date: 2010-08-09 16:03 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/aaecac256d39 Merge Changeset: 112fcc00659d Author: cl Date: 2010-08-13 11:38 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/112fcc00659d Added tag jdk7-b105 for changeset aaecac256d39 ! .hgtags Changeset: 2c1c657f69a4 Author: cl Date: 2010-08-19 15:13 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/2c1c657f69a4 Added tag jdk7-b106 for changeset 112fcc00659d ! .hgtags Changeset: a408ebb8b3d4 Author: cl Date: 2010-08-26 16:17 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/a408ebb8b3d4 Added tag jdk7-b107 for changeset 2c1c657f69a4 ! .hgtags Changeset: 0fe472f4a332 Author: mcimadamore Date: 2010-08-05 09:44 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/0fe472f4a332 6881115: javac permits nested anno w/o mandatory attrs => IncompleteAnnotationException Summary: default annotation value is not attributed Reviewed-by: jjg, darcy ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/comp/Check.java + test/tools/javac/annotations/6881115/T6881115.java + test/tools/javac/annotations/6881115/T6881115.out Changeset: 237f3bd52242 Author: mcimadamore Date: 2010-08-05 09:45 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/237f3bd52242 6857948: Calling a constructor with a doubly bogus argument causes an internal error Summary: problem when constructor resolution returns an erroneous symbol Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/comp/Attr.java + test/tools/javac/6857948/T6857948.java + test/tools/javac/6857948/T6857948.out Changeset: a2d8c7071f24 Author: mcimadamore Date: 2010-08-10 14:52 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/a2d8c7071f24 6975275: diamond implementation needs some cleanup Summary: resolution issues during diamond inference should be reported through Resolve.logResolveError() Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/comp/Resolve.java Changeset: ea1930f4b789 Author: mcimadamore Date: 2010-08-10 14:53 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/ea1930f4b789 6975231: Regression test for 6881115 is failing with compiler output not matching expected output Summary: missing symbols are collected in an HashSet which doesn't preserve ordering Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/comp/Check.java ! src/share/classes/com/sun/tools/javac/resources/compiler.properties ! test/tools/javac/annotations/6881115/T6881115.out + test/tools/javac/diags/examples/AnnotationMissingValues1.java Changeset: c04ae2714f52 Author: lana Date: 2010-08-12 19:59 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/c04ae2714f52 Merge Changeset: 27bae58329d5 Author: mcimadamore Date: 2010-08-16 14:56 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/27bae58329d5 6976649: javac does not enforce required annotation elements in arrays Summary: type annotation should take advantage of recursive annotation checking Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/comp/Check.java ! test/tools/javac/annotations/6881115/T6881115.java ! test/tools/javac/annotations/6881115/T6881115.out ! test/tools/javac/annotations/pos/TrailingComma.java Changeset: dc550520ed6f Author: mcimadamore Date: 2010-08-16 14:58 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/dc550520ed6f 6369605: Unconstrained type variables fails to include bounds Summary: unconstrained type-variables with recursive bounds are not inferred properly Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/code/Type.java ! src/share/classes/com/sun/tools/javac/comp/Infer.java ! test/tools/javac/Diagnostics/6862608/T6862608a.out ! test/tools/javac/diags/examples.not-yet.txt ! test/tools/javac/diags/examples/InvalidInferredTypes.java + test/tools/javac/generics/inference/6369605/T6369605a.java + test/tools/javac/generics/inference/6369605/T6369605b.java ! test/tools/javac/generics/inference/6638712/T6638712a.out Changeset: a31c511db424 Author: jjg Date: 2010-08-16 14:59 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/a31c511db424 6976833: options included twice in Example SimpleCompiler Reviewed-by: darcy ! test/tools/javac/diags/Example.java Changeset: c655e0280bdc Author: mcimadamore Date: 2010-08-19 11:50 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/c655e0280bdc 6886247: regression: javac crashes with an assertion error in Attr.java Summary: capture conversion does not work on nested types Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/code/Types.java + test/tools/javac/generics/wildcards/6886247/T6886247_1.java + test/tools/javac/generics/wildcards/6886247/T6886247_2.java + test/tools/javac/generics/wildcards/6886247/T6886247_2.out Changeset: d6fe0ea070aa Author: mcimadamore Date: 2010-08-19 11:52 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/d6fe0ea070aa 6885255: Improve usability of raw warnings Summary: raw warnings should be disabled in (i) instanceof expressions and (ii) when java.lang.Class is not parameterized Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/comp/Check.java ! test/tools/javac/warnings/6747671/T6747671.java ! test/tools/javac/warnings/6747671/T6747671.out + test/tools/javac/warnings/6885255/T6885255.java + test/tools/javac/warnings/6885255/T6885255.out Changeset: a75770c0d7f6 Author: mcimadamore Date: 2010-08-19 11:54 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/a75770c0d7f6 6977800: Regression: invalid resolution of supertype for local class Summary: resolution of superclass/superinterfaces in extends/implements clause skips local classes Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/comp/Check.java ! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java + test/tools/javac/T6977800.java ! test/tools/javac/generics/typevars/5060485/Compatibility.java + test/tools/javac/generics/typevars/5060485/Compatibility.out + test/tools/javac/generics/typevars/5060485/Compatibility02.java + test/tools/javac/generics/typevars/5060485/Compatibility02.out Changeset: 995bcdb9a41d Author: mcimadamore Date: 2010-08-23 16:59 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/995bcdb9a41d 6932571: Compiling Generics causing Inconvertible types Summary: Types.rewriteQuantifiers() does not work well with recursive type-variable bounds Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/code/Type.java ! src/share/classes/com/sun/tools/javac/code/Types.java + test/tools/javac/cast/6270087/T6270087.java + test/tools/javac/cast/6270087/T6270087neg.java + test/tools/javac/cast/6270087/T6270087neg.out + test/tools/javac/cast/6507317/T6507317.java + test/tools/javac/cast/6569057/T6569057.java + test/tools/javac/cast/6932571/T6932571a.java + test/tools/javac/cast/6932571/T6932571b.java + test/tools/javac/cast/6932571/T6932571neg.java + test/tools/javac/cast/6932571/T6932571neg.out Changeset: 594b3c2ef585 Author: mcimadamore Date: 2010-08-23 17:00 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/594b3c2ef585 6978574: return statement in try block with multi-catch causes ClassFormatError Summary: Wrong nested loops in Gen.java causes javac to generate bad bytecode Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/jvm/Gen.java + test/tools/javac/multicatch/T6978574.java Changeset: 6b95dd682538 Author: jjg Date: 2010-08-23 11:56 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/6b95dd682538 6975005: improve JavacProcessingEnvironment.Round abstraction Reviewed-by: darcy ! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java ! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java ! test/tools/javac/T6358024.java ! test/tools/javac/T6403466.out ! test/tools/javac/processing/filer/TestLastRound.out Changeset: a626d8c1de6e Author: jjg Date: 2010-08-23 15:13 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/a626d8c1de6e 6976747: JCDiagnostic: replace "boolean mandatory" with new "Set" Reviewed-by: mcimadamore ! src/share/classes/com/sun/tools/javac/comp/Resolve.java ! src/share/classes/com/sun/tools/javac/util/JCDiagnostic.java Changeset: 0c81bff15ced Author: lana Date: 2010-08-23 19:14 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/0c81bff15ced Merge Changeset: ba774f919ad0 Author: lana Date: 2010-08-29 22:42 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/ba774f919ad0 Merge From bluedavy at gmail.com Thu Sep 9 05:36:34 2010 From: bluedavy at gmail.com (BlueDavy Lin) Date: Thu, 9 Sep 2010 13:36:34 +0800 Subject: My test for G1,the result seems disappointed Message-ID: hi! Recently I did a test for G1 in on-site application,the env is: CPU: 5 core Memory: 7.5g OS: Redhat 5,kernel: 2.6.18, 64 bit JDK: 1.6.0_21 64 bit The test result shows: when use CMS,application stopped about 80ms every minute by parnew gc,the avg response time about 113ms. when use G1 and set MaxGCPauseMillis=100, GCPauseIntervalMillis=60000,full gc occurs about 2 every minute and parallel gc occurs about 1 every minute,application stopped about 2850ms every minute,the avg response time slows down to 170ms. when use G1 and only set MaxGCPauseMillis=50,then no full gc,but parallel gc executes about 45 every minute(about 40ms per parallel gc),the avg response time slows down to 118ms. I hope the application stopped time cause by gc can de decreased when use g1,but from this two tries for G1,it seems G1 not work well,does I need adjust some other args? below is the more detail test infos. ==========CMS================ The one use below startup args: -server -Xms4g -Xmx4g -XX:PermSize=96m -XX:MaxPermSize=256m -Xmn2560m -XX:SurvivorRatio=10 -XX:+UseConcMarkSweepGC --XX:CMSMaxAbortablePrecleanTime=5000 -XX:+CMSClassUnloadingEnabled -XX:CMSInitiatingOccupancyFraction=80 -XX:+DisableExplicitGC-XX:+UseCompressedOops its gc log always like this: 2010-09-09T11:26:04.102+0800: 5151.386: [GC 5151.386: [ParNew: 2195092K->9457K(2403008K), 0.0129360 secs] 2378366K->193170K(3975872K), 0.0131550 secs] [Times: user=0.02 sys=0.00, real=0.01 secs] 2010-09-09T11:26:14.541+0800: 5161.825: [GC 5161.825: [ParNew: 2194033K->7772K(2403008K), 0.0095720 secs] 2377746K->191506K(3975872K), 0.0097820 secs] [Times: user=0.02 sys=0.00, real=0.01 secs] 2010-09-09T11:26:26.636+0800: 5173.920: [GC 5173.920: [ParNew: 2192348K->8644K(2403008K), 0.0133990 secs] 2376082K->192395K(3975872K), 0.0135990 secs] [Times: user=0.03 sys=0.00, real=0.02 secs] 2010-09-09T11:26:36.498+0800: 5183.782: [GC 5183.782: [ParNew: 2193220K->9069K(2403008K), 0.0122710 secs] 2376971K->192841K(3975872K), 0.0124720 secs] [Times: user=0.03 sys=0.00, real=0.01 secs] 2010-09-09T11:26:45.935+0800: 5193.219: [GC 5193.219: [ParNew: 2193645K->10580K(2403008K), 0.0118440 secs] 2377417K->194372K(3975872K), 0.0120420 secs] [Times: user=0.03 sys=0.00, real=0.01 secs] 2010-09-09T11:26:54.682+0800: 5201.965: [GC 5201.965: [ParNew: 2195156K->13065K(2403008K), 0.0124290 secs] 2378948K->196935K(3975872K), 0.0126630 secs] [Times: user=0.03 sys=0.00, real=0.01 secs] System response time is about: 113ms. ==========G1 First try============ From this result,we can see application stopped about 80ms every minute by parnew gc. So I first set the goal:every minute max gc pause 100ms for G1,use below startup args: -server -Xms4g -Xmx4g -XX:PermSize=96m -XX:MaxPermSize=256m -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:MaxGCPauseMillis=100 -XX:GCPauseIntervalMillis=60000 -XX:+DisableExplicitGC its gc log always like this: 2010-09-09T13:10:00.361+0800: 174.381: [GC pause (young), 0.08201400 secs] [Parallel Time: 63.6 ms] [Update RS (Start) (ms): 174409.8 174414.8 174407.7 174409.8] [Update RS (ms): 2.8 0.0 5.3 2.8 Avg: 2.7, Min: 0.0, Max: 5.3] [Processed Buffers : 24 0 48 57 Sum: 129, Avg: 32, Min: 0, Max: 57] [Ext Root Scanning (ms): 20.5 24.5 18.4 20.5 Avg: 21.0, Min: 18.4, Max: 24.5] [Mark Stack Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Regions : 0 0 0 0 Sum: 0, Avg: 0, Min: 0, Max: 0] [Scan RS (ms): 2.4 0.3 2.0 2.3 Avg: 1.7, Min: 0.3, Max: 2.4] [Object Copy (ms): 37.4 38.3 37.4 37.4 Avg: 37.6, Min: 37.4, Max: 38.3] [Termination (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Other: 0.5 ms] [Clear CT: 1.1 ms] [Other: 17.4 ms] [ 3311M->142M(4096M)] [Times: user=0.25 sys=0.00, real=0.08 secs] 2010-09-09T13:10:21.523+0800: 195.543: [Full GC 4046M->134M(4096M), 1.4183880 secs] [Times: user=1.55 sys=0.00, real=1.42 secs] 2010-09-09T13:10:40.664+0800: 214.684: [Full GC 4037M->134M(4096M), 1.3687460 secs] [Times: user=1.56 sys=0.00, real=1.37 secs] 2010-09-09T13:10:58.700+0800: 232.721: [GC pause (young), 0.06309300 secs] [Parallel Time: 44.2 ms] [Update RS (Start) (ms): 232753.3 232749.4 232750.4 232750.4] [Update RS (ms): 0.0 4.1 2.9 3.0 Avg: 2.5, Min: 0.0, Max: 4.1] [Processed Buffers : 1 40 57 40 Sum: 138, Avg: 34, Min: 1, Max: 57] [Ext Root Scanning (ms): 22.9 19.9 21.0 20.8 Avg: 21.1, Min: 19.9, Max: 22.9] [Mark Stack Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Regions : 0 0 0 0 Sum: 0, Avg: 0, Min: 0, Max: 0] [Scan RS (ms): 2.0 1.7 1.9 1.9 Avg: 1.9, Min: 1.7, Max: 2.0] [Object Copy (ms): 19.0 18.1 18.0 18.1 Avg: 18.3, Min: 18.0, Max: 19.0] [Termination (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Other: 0.4 ms] [Clear CT: 0.7 ms] [Other: 18.2 ms] [ 3615M->141M(4096M)] [Times: user=0.16 sys=0.01, real=0.07 secs] 2010-09-09T13:11:18.905+0800: 252.926: [Full GC 4036M->134M(4096M), 1.4136770 secs] [Times: user=1.58 sys=0.00, real=1.41 secs] 2010-09-09T13:11:38.433+0800: 272.453: [Full GC 4044M->135M(4096M), 1.3858410 secs] [Times: user=1.56 sys=0.00, real=1.38 secs] 2010-09-09T13:11:58.365+0800: 292.385: [GC pause (young), 0.08650100 secs] [Parallel Time: 64.7 ms] [Update RS (Start) (ms): 292417.1 292414.8 292414.3 292420.5] [Update RS (ms): 1.7 4.2 4.5 0.0 Avg: 2.6, Min: 0.0, Max: 4.5] [Processed Buffers : 31 49 69 0 Sum: 149, Avg: 37, Min: 0, Max: 69] [Ext Root Scanning (ms): 22.2 20.0 19.5 24.7 Avg: 21.6, Min: 19.5, Max: 24.7] [Mark Stack Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Regions : 0 0 0 0 Sum: 0, Avg: 0, Min: 0, Max: 0] [Scan RS (ms): 2.5 2.2 2.4 0.8 Avg: 2.0, Min: 0.8, Max: 2.5] [Object Copy (ms): 38.0 37.8 37.8 38.8 Avg: 38.1, Min: 37.8, Max: 38.8] [Termination (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Other: 0.5 ms] [Clear CT: 1.0 ms] [Other: 20.8 ms] [ 3946M->143M(4096M)] [Times: user=0.27 sys=0.00, real=0.09 secs] 2010-09-09T13:12:18.393+0800: 312.414: [Full GC 4045M->136M(4096M), 1.4378720 secs] [Times: user=1.63 sys=0.00, real=1.43 secs] 2010-09-09T13:12:39.868+0800: 333.889: [Full GC 4048M->137M(4096M), 1.3862310 secs] [Times: user=1.57 sys=0.00, real=1.38 secs] 2010-09-09T13:12:57.555+0800: 351.576: [GC pause (young), 0.07091500 secs] [Parallel Time: 48.1 ms] [Update RS (Start) (ms): 351612.2 351607.3 351610.8 351608.4] [Update RS (ms): 0.0 4.8 1.2 3.5 Avg: 2.4, Min: 0.0, Max: 4.8] [Processed Buffers : 0 55 17 69 Sum: 141, Avg: 35, Min: 0, Max: 69] [Ext Root Scanning (ms): 26.1 21.4 24.7 21.7 Avg: 23.5, Min: 21.4, Max: 26.1] [Mark Stack Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Regions : 0 0 0 0 Sum: 0, Avg: 0, Min: 0, Max: 0] [Scan RS (ms): 1.8 1.8 2.1 2.0 Avg: 1.9, Min: 1.8, Max: 2.1] [Object Copy (ms): 19.7 19.5 19.7 20.3 Avg: 19.8, Min: 19.5, Max: 20.3] [Termination (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Other: 0.5 ms] [Clear CT: 1.8 ms] [Other: 21.0 ms] [ 3697M->144M(4096M)] [Times: user=0.19 sys=0.00, real=0.07 secs] System response time slows down to 170ms. I even if try to set -XX:MaxGCPauseMillis=1000,but the result still like above. From the above test result,G1 seems not work well,then I adjust the args. ==========G1 Second try============ use below startup args to test: -server -Xms4g -Xmx4g -XX:PermSize=96m -XX:MaxPermSize=256m -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:MaxGCPauseMillis=50 -XX:+DisableExplicitGC its gc log always like this: 2010-09-09T13:24:02.078+0800: 113.627: [GC pause (young), 0.04145200 secs] [Parallel Time: 39.2 ms] [Update RS (Start) (ms): 113636.9 113634.5 113634.2 113634.4] [Update RS (ms): 2.3 4.7 5.0 4.8 Avg: 4.2, Min: 2.3, Max: 5.0] [Processed Buffers : 14 41 36 24 Sum: 115, Avg: 28, Min: 14, Max: 41] [Ext Root Scanning (ms): 8.4 5.5 5.8 6.1 Avg: 6.5, Min: 5.5, Max: 8.4] [Mark Stack Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Regions : 0 0 0 0 Sum: 0, Avg: 0, Min: 0, Max: 0] [Scan RS (ms): 0.3 0.1 0.1 0.1 Avg: 0.1, Min: 0.1, Max: 0.3] [Object Copy (ms): 27.7 28.2 27.6 27.6 Avg: 27.8, Min: 27.6, Max: 28.2] [Termination (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Other: 0.6 ms] [Clear CT: 0.2 ms] [Other: 2.1 ms] [ 650M->310M(4096M)] [Times: user=0.13 sys=0.00, real=0.04 secs] 2010-09-09T13:24:03.411+0800: 114.960: [GC pause (young), 0.03899600 secs] [Parallel Time: 36.8 ms] [Update RS (Start) (ms): 114967.1 114967.1 114966.7 114969.4] [Update RS (ms): 3.8 3.8 4.2 1.5 Avg: 3.3, Min: 1.5, Max: 4.2] [Processed Buffers : 19 21 57 15 Sum: 112, Avg: 28, Min: 15, Max: 57] [Ext Root Scanning (ms): 6.1 5.4 5.7 8.2 Avg: 6.4, Min: 5.4, Max: 8.2] [Mark Stack Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Regions : 0 0 0 0 Sum: 0, Avg: 0, Min: 0, Max: 0] [Scan RS (ms): 0.1 0.0 0.1 0.3 Avg: 0.1, Min: 0.0, Max: 0.3] [Object Copy (ms): 26.6 27.2 26.5 26.6 Avg: 26.7, Min: 26.5, Max: 27.2] [Termination (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Other: 0.3 ms] [Clear CT: 0.2 ms] [Other: 2.0 ms] [ 650M->309M(4096M)] [Times: user=0.11 sys=0.00, real=0.04 secs] 2010-09-09T13:24:05.167+0800: 116.716: [GC pause (young), 0.04297900 secs] [Parallel Time: 40.6 ms] [Update RS (Start) (ms): 116723.5 116724.2 116723.3 116725.5] [Update RS (ms): 4.4 3.8 4.7 2.5 Avg: 3.8, Min: 2.5, Max: 4.7] [Processed Buffers : 20 41 17 29 Sum: 107, Avg: 26, Min: 17, Max: 41] [Ext Root Scanning (ms): 5.6 6.9 6.1 8.1 Avg: 6.7, Min: 5.6, Max: 8.1] [Mark Stack Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Regions : 0 0 0 0 Sum: 0, Avg: 0, Min: 0, Max: 0] [Scan RS (ms): 0.1 0.1 0.1 0.2 Avg: 0.1, Min: 0.1, Max: 0.2] [Object Copy (ms): 30.1 29.4 29.4 29.5 Avg: 29.6, Min: 29.4, Max: 30.1] [Termination (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Other: 0.4 ms] [Clear CT: 0.3 ms] [Other: 2.1 ms] [ 662M->310M(4096M)] [Times: user=0.16 sys=0.00, real=0.04 secs] Disabling Explicit GC 2010-09-09T13:24:06.506+0800: 118.055: [GC pause (young), 0.04068000 secs] [Parallel Time: 38.4 ms] [Update RS (Start) (ms): 118066.3 118065.8 118065.1 118063.3] [Update RS (ms): 3.0 3.6 4.2 6.1 Avg: 4.2, Min: 3.0, Max: 6.1] [Processed Buffers : 20 31 31 37 Sum: 119, Avg: 29, Min: 20, Max: 37] [Ext Root Scanning (ms): 10.0 8.5 8.7 0.1 Avg: 6.8, Min: 0.1, Max: 10.0] [Mark Stack Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Regions : 0 0 0 0 Sum: 0, Avg: 0, Min: 0, Max: 0] [Scan RS (ms): 0.2 0.1 0.1 0.1 Avg: 0.1, Min: 0.1, Max: 0.2] [Object Copy (ms): 25.1 26.0 25.1 24.4 Avg: 25.1, Min: 24.4, Max: 26.0] [Termination (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Other: 2.2 ms] [Clear CT: 0.3 ms] [Other: 2.0 ms] [ 634M->311M(4096M)] [Times: user=0.12 sys=0.01, real=0.05 secs] 2010-09-09T13:24:08.787+0800: 120.336: [GC pause (young), 0.04042800 secs] [Parallel Time: 38.0 ms] [Update RS (Start) (ms): 120346.4 120344.4 120344.2 120344.4] [Update RS (ms): 3.0 4.9 5.1 5.0 Avg: 4.5, Min: 3.0, Max: 5.1] [Processed Buffers : 36 37 26 32 Sum: 131, Avg: 32, Min: 26, Max: 37] [Ext Root Scanning (ms): 9.0 7.0 5.9 7.0 Avg: 7.2, Min: 5.9, Max: 9.0] [Mark Stack Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Regions : 0 0 0 0 Sum: 0, Avg: 0, Min: 0, Max: 0] [Scan RS (ms): 0.2 0.1 0.1 0.1 Avg: 0.1, Min: 0.1, Max: 0.2] [Object Copy (ms): 25.4 25.3 26.2 25.3 Avg: 25.6, Min: 25.3, Max: 26.2] [Termination (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Other: 0.6 ms] [Clear CT: 0.3 ms] [Other: 2.2 ms] [ 651M->310M(4096M)] [Times: user=0.12 sys=0.01, real=0.04 secs] 2010-09-09T13:24:10.686+0800: 122.235: [GC pause (young), 0.03933000 secs] [Parallel Time: 37.0 ms] [Update RS (Start) (ms): 122242.6 122242.2 122243.2 122245.1] [Update RS (ms): 5.0 5.4 4.4 2.5 Avg: 4.3, Min: 2.5, Max: 5.4] [Processed Buffers : 25 23 36 16 Sum: 100, Avg: 25, Min: 16, Max: 36] [Ext Root Scanning (ms): 6.2 5.9 6.1 8.6 Avg: 6.7, Min: 5.9, Max: 8.6] [Mark Stack Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Regions : 0 0 0 0 Sum: 0, Avg: 0, Min: 0, Max: 0] [Scan RS (ms): 0.1 0.0 0.2 0.3 Avg: 0.1, Min: 0.0, Max: 0.3] [Object Copy (ms): 25.2 25.1 25.8 25.3 Avg: 25.4, Min: 25.1, Max: 25.8] [Termination (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Other: 0.5 ms] [Clear CT: 0.1 ms] [Other: 2.2 ms] [ 686M->311M(4096M)] [Times: user=0.13 sys=0.00, real=0.04 secs] 2010-09-09T13:24:12.074+0800: 123.623: [GC pause (young), 0.04201300 secs] [Parallel Time: 39.6 ms] [Update RS (Start) (ms): 123633.2 123630.1 123630.1 123630.4] [Update RS (ms): 1.7 4.8 4.8 4.4 Avg: 3.9, Min: 1.7, Max: 4.8] [Processed Buffers : 25 36 22 35 Sum: 118, Avg: 29, Min: 22, Max: 36] [Ext Root Scanning (ms): 8.8 5.9 6.0 5.5 Avg: 6.5, Min: 5.5, Max: 8.8] [Mark Stack Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Regions : 0 0 0 0 Sum: 0, Avg: 0, Min: 0, Max: 0] [Scan RS (ms): 0.3 0.1 0.1 0.1 Avg: 0.1, Min: 0.1, Max: 0.3] [Object Copy (ms): 28.5 28.3 28.2 28.9 Avg: 28.5, Min: 28.2, Max: 28.9] [Termination (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Other: 0.6 ms] [Clear CT: 0.3 ms] [Other: 2.1 ms] [ 687M->312M(4096M)] [Times: user=0.14 sys=0.00, real=0.05 secs] 2010-09-09T13:24:14.181+0800: 125.730: [GC pause (young), 0.04815900 secs] [Parallel Time: 45.8 ms] [Update RS (Start) (ms): 125736.9 125737.7 125737.1 125739.5] [Update RS (ms): 5.5 4.7 5.3 2.9 Avg: 4.6, Min: 2.9, Max: 5.5] [Processed Buffers : 34 22 34 31 Sum: 121, Avg: 30, Min: 22, Max: 34] [Ext Root Scanning (ms): 5.9 6.8 5.5 8.4 Avg: 6.7, Min: 5.5, Max: 8.4] [Mark Stack Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Regions : 0 0 0 0 Sum: 0, Avg: 0, Min: 0, Max: 0] [Scan RS (ms): 0.1 0.1 0.1 0.3 Avg: 0.1, Min: 0.1, Max: 0.3] [Object Copy (ms): 33.6 33.6 34.2 33.7 Avg: 33.8, Min: 33.6, Max: 34.2] [Termination (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Other: 0.6 ms] [Clear CT: 0.2 ms] [Other: 2.1 ms] [ 661M->314M(4096M)] [Times: user=0.18 sys=0.00, real=0.05 secs] 2010-09-09T13:24:14.966+0800: 126.514: [GC pause (young), 0.04331000 secs] [Parallel Time: 42.1 ms] [Update RS (Start) (ms): 126521.9 126521.9 126522.3 126523.7] [Update RS (ms): 3.4 3.4 3.1 1.6 Avg: 2.9, Min: 1.6, Max: 3.4] [Processed Buffers : 11 17 13 22 Sum: 63, Avg: 15, Min: 11, Max: 22] [Ext Root Scanning (ms): 6.4 5.8 6.7 8.0 Avg: 6.7, Min: 5.8, Max: 8.0] [Mark Stack Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Regions : 0 0 0 0 Sum: 0, Avg: 0, Min: 0, Max: 0] [Scan RS (ms): 0.0 0.0 0.0 0.2 Avg: 0.1, Min: 0.0, Max: 0.2] [Object Copy (ms): 31.7 32.3 31.7 31.8 Avg: 31.9, Min: 31.7, Max: 32.3] [Termination (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Other: 0.5 ms] [Clear CT: 0.1 ms] [Other: 1.1 ms] [ 495M->314M(4096M)] [Times: user=0.17 sys=0.00, real=0.05 secs] 2010-09-09T13:24:15.796+0800: 127.345: [GC pause (young), 0.04752200 secs] [Parallel Time: 45.9 ms] [Update RS (Start) (ms): 127354.5 127354.9 127352.2 127352.7] [Update RS (ms): 2.5 2.1 4.8 4.3 Avg: 3.4, Min: 2.1, Max: 4.8] [Processed Buffers : 13 21 22 30 Sum: 86, Avg: 21, Min: 13, Max: 30] [Ext Root Scanning (ms): 7.4 9.0 6.3 5.3 Avg: 7.0, Min: 5.3, Max: 9.0] [Mark Stack Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Regions : 0 0 0 0 Sum: 0, Avg: 0, Min: 0, Max: 0] [Scan RS (ms): 0.1 0.2 0.0 0.0 Avg: 0.1, Min: 0.0, Max: 0.2] [Object Copy (ms): 35.6 34.4 34.2 34.1 Avg: 34.6, Min: 34.1, Max: 35.6] [Termination (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Other: 0.8 ms] [Clear CT: 0.5 ms] [Other: 1.2 ms] [ 495M->315M(4096M)] [Times: user=0.16 sys=0.00, real=0.04 secs] 2010-09-09T13:24:16.482+0800: 128.030: [GC pause (young), 0.04810400 secs] [Parallel Time: 47.2 ms] [Update RS (Start) (ms): 128042.6 128041.2 128043.8 128042.1] [Update RS (ms): 2.9 4.4 1.8 3.5 Avg: 3.2, Min: 1.8, Max: 4.4] [Processed Buffers : 21 11 16 13 Sum: 61, Avg: 15, Min: 11, Max: 21] [Ext Root Scanning (ms): 11.0 9.0 12.5 10.6 Avg: 10.8, Min: 9.0, Max: 12.5] [Mark Stack Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Regions : 0 0 0 0 Sum: 0, Avg: 0, Min: 0, Max: 0] [Scan RS (ms): 0.1 0.0 0.1 0.0 Avg: 0.0, Min: 0.0, Max: 0.1] [Object Copy (ms): 32.9 33.3 32.5 32.3 Avg: 32.7, Min: 32.3, Max: 33.3] [Termination (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Other: 0.4 ms] [Clear CT: 0.2 ms] [Other: 0.8 ms] [ 424M->313M(4096M)] [Times: user=0.15 sys=0.00, real=0.05 secs] 2010-09-09T13:24:17.117+0800: 128.665: [GC pause (young), 0.04878500 secs] [Parallel Time: 47.4 ms] [Update RS (Start) (ms): 128675.2 128677.3 128674.6 128675.1] [Update RS (ms): 3.8 1.7 4.4 3.9 Avg: 3.4, Min: 1.7, Max: 4.4] [Processed Buffers : 13 30 34 19 Sum: 96, Avg: 24, Min: 13, Max: 34] [Ext Root Scanning (ms): 8.7 10.7 7.1 3.8 Avg: 7.6, Min: 3.8, Max: 10.7] [Mark Stack Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Regions : 0 0 0 0 Sum: 0, Avg: 0, Min: 0, Max: 0] [Scan RS (ms): 0.1 0.2 0.0 0.0 Avg: 0.1, Min: 0.0, Max: 0.2] [Object Copy (ms): 34.2 34.2 35.0 33.7 Avg: 34.3, Min: 33.7, Max: 35.0] [Termination (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Other: 2.0 ms] [Clear CT: 0.2 ms] [Other: 1.2 ms] [ 500M->314M(4096M)] [Times: user=0.16 sys=0.01, real=0.05 secs] 2010-09-09T13:24:17.624+0800: 129.173: [GC pause (young), 0.04827900 secs] [Parallel Time: 47.2 ms] [Update RS (Start) (ms): 129182.1 129182.7 129182.1 129180.8] [Update RS (ms): 2.4 1.8 2.4 3.7 Avg: 2.6, Min: 1.8, Max: 3.7] [Processed Buffers : 14 20 12 14 Sum: 60, Avg: 15, Min: 12, Max: 20] [Ext Root Scanning (ms): 8.3 8.9 7.4 5.3 Avg: 7.5, Min: 5.3, Max: 8.9] [Mark Stack Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Regions : 0 0 0 0 Sum: 0, Avg: 0, Min: 0, Max: 0] [Scan RS (ms): 0.1 0.1 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.1] [Object Copy (ms): 35.8 35.8 36.7 35.4 Avg: 35.9, Min: 35.4, Max: 36.7] [Termination (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Other: 1.1 ms] [Clear CT: 0.2 ms] [Other: 0.9 ms] [ 436M->315M(4096M)] [Times: user=0.17 sys=0.00, real=0.04 secs] 2010-09-09T13:24:18.295+0800: 129.843: [GC pause (young), 0.04680800 secs] [Parallel Time: 45.8 ms] [Update RS (Start) (ms): 129853.1 129852.9 129853.4 129852.4] [Update RS (ms): 2.6 2.7 2.2 3.3 Avg: 2.7, Min: 2.2, Max: 3.3] [Processed Buffers : 17 15 18 8 Sum: 58, Avg: 14, Min: 8, Max: 18] [Ext Root Scanning (ms): 8.6 8.5 8.2 0.0 Avg: 6.3, Min: 0.0, Max: 8.6] [Mark Stack Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Regions : 0 0 0 0 Sum: 0, Avg: 0, Min: 0, Max: 0] [Scan RS (ms): 0.1 0.0 0.1 0.0 Avg: 0.0, Min: 0.0, Max: 0.1] [Object Copy (ms): 34.1 34.1 34.7 33.4 Avg: 34.1, Min: 33.4, Max: 34.7] [Termination (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Other: 2.7 ms] [Clear CT: 0.1 ms] [Other: 0.8 ms] [ 437M->314M(4096M)] [Times: user=0.15 sys=0.00, real=0.04 secs] 2010-09-09T13:24:19.062+0800: 130.611: [GC pause (young), 0.04281800 secs] [Parallel Time: 41.9 ms] [Update RS (Start) (ms): 130618.4 130620.4 130620.3 130620.3] [Update RS (ms): 4.4 2.4 2.5 2.4 Avg: 2.9, Min: 2.4, Max: 4.4] [Processed Buffers : 19 14 18 12 Sum: 63, Avg: 15, Min: 12, Max: 19] [Ext Root Scanning (ms): 5.9 8.6 8.5 8.5 Avg: 7.9, Min: 5.9, Max: 8.6] [Mark Stack Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Regions : 0 0 0 0 Sum: 0, Avg: 0, Min: 0, Max: 0] [Scan RS (ms): 0.0 0.0 0.1 0.1 Avg: 0.0, Min: 0.0, Max: 0.1] [Object Copy (ms): 30.8 30.1 30.0 30.1 Avg: 30.2, Min: 30.0, Max: 30.8] [Termination (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Other: 0.8 ms] [Clear CT: 0.1 ms] [Other: 0.8 ms] [ 431M->314M(4096M)] [Times: user=0.15 sys=0.00, real=0.05 secs] 2010-09-09T13:24:20.416+0800: 131.965: [GC pause (young), 0.04591200 secs] [Parallel Time: 43.6 ms] [Update RS (Start) (ms): 131972.9 131972.7 131975.2 131972.6] [Update RS (ms): 4.2 4.5 1.9 4.5 Avg: 3.8, Min: 1.9, Max: 4.5] [Processed Buffers : 18 24 23 26 Sum: 91, Avg: 22, Min: 18, Max: 26] [Ext Root Scanning (ms): 6.5 6.2 8.6 5.5 Avg: 6.7, Min: 5.5, Max: 8.6] [Mark Stack Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Regions : 0 0 0 0 Sum: 0, Avg: 0, Min: 0, Max: 0] [Scan RS (ms): 0.1 0.1 0.2 0.1 Avg: 0.1, Min: 0.1, Max: 0.2] [Object Copy (ms): 32.5 32.5 32.7 33.2 Avg: 32.7, Min: 32.5, Max: 33.2] [Termination (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Other: 0.3 ms] [Clear CT: 0.3 ms] [Other: 2.0 ms] [ 635M->314M(4096M)] [Times: user=0.15 sys=0.00, real=0.05 secs] 2010-09-09T13:24:20.948+0800: 132.497: [GC pause (young), 0.03678800 secs] [Parallel Time: 35.6 ms] [Update RS (Start) (ms): 132506.5 132504.1 132504.4 132504.1] [Update RS (ms): 0.9 3.3 3.0 3.3 Avg: 2.6, Min: 0.9, Max: 3.3] [Processed Buffers : 12 20 15 16 Sum: 63, Avg: 15, Min: 12, Max: 20] [Ext Root Scanning (ms): 8.7 5.8 6.6 6.3 Avg: 6.8, Min: 5.8, Max: 8.7] [Mark Stack Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Scanning (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Scan-Only Regions : 0 0 0 0 Sum: 0, Avg: 0, Min: 0, Max: 0] [Scan RS (ms): 0.1 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.1] [Object Copy (ms): 25.8 26.1 25.7 25.7 Avg: 25.8, Min: 25.7, Max: 26.1] [Termination (ms): 0.0 0.0 0.0 0.0 Avg: 0.0, Min: 0.0, Max: 0.0] [Other: 0.3 ms] [Clear CT: 0.1 ms] [Other: 1.1 ms] [ 423M->314M(4096M)] [Times: user=0.13 sys=0.01, real=0.04 secs] System response time slows down to 118ms. -- ============================= bluedavy http://www.bluedavy.com ============================= From peter.schuller at infidyne.com Fri Sep 10 19:32:25 2010 From: peter.schuller at infidyne.com (Peter Schuller) Date: Fri, 10 Sep 2010 21:32:25 +0200 Subject: My test for G1,the result seems disappointed In-Reply-To: References: Message-ID: > ? ? when use G1 and set MaxGCPauseMillis=100, > GCPauseIntervalMillis=60000,full gc occurs about 2 every minute and This is unreasonable. You're telling G1 to do at most 100 ms worth of work per minute. In other words you're asking it to collect all data generated in a full minute, in 100 ms. Unless you have reason to do otherwise, I'd suggest scaling down MaxGCPauseMillis and GCPauseIntervalMillis with similar factors. So for example, one example to start with might be 100/150. > parallel gc occurs about 1 every minute,application stopped about > 2850ms every minute,the avg response time slows down to 170ms. Sounds like fallback to full GC. Adjust GC pause requirements to something reasonable as above to hopefully avoid it. > ? ? when use G1 and only set MaxGCPauseMillis=50,then no full gc,but > parallel gc executes about 45 every minute(about 40ms per parallel > gc),the avg response time slows down to 118ms. It is fully expected that g1 performs GC:s often, assuming the application does a reasonable amount of allocation. The GC pause time mnemonics are used, in part, to determine how much to GC at once. In general, lower pause time requirements mean shorter but more frequent pauses. -- / Peter Schuller From john.cuthbertson at oracle.com Sat Sep 11 08:33:34 2010 From: john.cuthbertson at oracle.com (john.cuthbertson at oracle.com) Date: Sat, 11 Sep 2010 08:33:34 +0000 Subject: hg: jdk7/hotspot-gc/hotspot: 9 new changesets Message-ID: <20100911083351.1612B478C9@hg.openjdk.java.net> Changeset: 6ee479178066 Author: ikrylov Date: 2010-08-31 03:14 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/6ee479178066 6979444: add command line option to print command line flags descriptions Summary: Implementation of a nonproduct boolean flag XX:PrintFlagsWithComments Reviewed-by: kamg, dholmes, dsamersoff ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/globals.cpp ! src/share/vm/runtime/globals.hpp ! src/share/vm/utilities/macros.hpp Changeset: 1ab9e2cbfa0e Author: kamg Date: 2010-09-03 14:47 -0400 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/1ab9e2cbfa0e 6870851: Bad frame_chop in StackMapTable crashes JVM Summary: Must check locals for null when processing chop frame Reviewed-by: dholmes, dcubed ! src/share/vm/classfile/stackMapTable.cpp Changeset: 40d7b43b6fe0 Author: kamg Date: 2010-09-07 11:38 -0400 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/40d7b43b6fe0 Merge ! src/share/vm/runtime/arguments.cpp Changeset: 07551f490c76 Author: kamg Date: 2010-09-07 11:50 -0400 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/07551f490c76 6982851: Add b107 machine classifications to jprt.properties file. Summary: See synopsis Reviewed-by: ohair ! make/jprt.properties Changeset: e44a93947ccb Author: cl Date: 2010-08-26 16:16 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/e44a93947ccb Added tag jdk7-b107 for changeset bf496cbe9b74 ! .hgtags Changeset: 6c43216df135 Author: trims Date: 2010-08-31 16:48 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/6c43216df135 Merge ! .hgtags Changeset: 0803c0f69b51 Author: trims Date: 2010-08-31 17:23 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/0803c0f69b51 Added tag hs19-b06 for changeset 6c43216df135 ! .hgtags Changeset: 40b1534a1dab Author: trims Date: 2010-09-08 18:33 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/40b1534a1dab Merge Changeset: 93193e632121 Author: trims Date: 2010-09-08 18:33 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/93193e632121 6983320: Fork HS19 to HS20 - renumber Major and build numbers of JVM Summary: Update the Major and Build numbers for HS20 Reviewed-by: jcoomes ! make/hotspot_version From y.s.ramakrishna at oracle.com Sat Sep 11 21:13:09 2010 From: y.s.ramakrishna at oracle.com (y.s.ramakrishna at oracle.com) Date: Sat, 11 Sep 2010 21:13:09 +0000 Subject: hg: jdk7/hotspot-gc/hotspot: 2 new changesets Message-ID: <20100911211313.3C2D5478E2@hg.openjdk.java.net> Changeset: 179464550c7d Author: ysr Date: 2010-09-10 17:07 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/179464550c7d 6983930: CMS: Various small cleanups ca September 2010 Summary: Fixed comment/documentation typos; converted some guarantee()s to assert()s. Reviewed-by: jmasa ! src/share/vm/gc_implementation/concurrentMarkSweep/binaryTreeDictionary.cpp ! src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.cpp ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp ! src/share/vm/gc_implementation/concurrentMarkSweep/freeList.cpp ! src/share/vm/gc_implementation/concurrentMarkSweep/promotionInfo.cpp ! src/share/vm/runtime/globals.hpp Changeset: eeade8e89248 Author: ysr Date: 2010-09-11 11:42 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/eeade8e89248 Merge ! src/share/vm/runtime/globals.hpp From john.cuthbertson at oracle.com Mon Sep 13 19:11:47 2010 From: john.cuthbertson at oracle.com (john.cuthbertson at oracle.com) Date: Mon, 13 Sep 2010 19:11:47 +0000 Subject: hg: jdk7/hotspot-gc/hotspot: 6981746: G1: SEGV with -XX:+TraceGen0Time Message-ID: <20100913191149.37C054794A@hg.openjdk.java.net> Changeset: 6eddcbe17c83 Author: johnc Date: 2010-09-13 10:00 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/6eddcbe17c83 6981746: G1: SEGV with -XX:+TraceGen0Time Summary: Pass correct value for length to NumberSeq constructor. Guard dereferences of "body_summary" pointer with a NULL check. Reviewed-by: tonyp, ysr ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp From john.coomes at oracle.com Wed Sep 15 21:32:35 2010 From: john.coomes at oracle.com (john.coomes at oracle.com) Date: Wed, 15 Sep 2010 21:32:35 +0000 Subject: hg: jdk7/hotspot-gc/hotspot: 6985022: update make/jprt.properties for new jdk7 tools Message-ID: <20100915213237.7DFF5479D4@hg.openjdk.java.net> Changeset: 432d823638f7 Author: jcoomes Date: 2010-09-15 10:39 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/432d823638f7 6985022: update make/jprt.properties for new jdk7 tools Reviewed-by: ohair, kvn ! make/jprt.properties From jon.masamitsu at oracle.com Thu Sep 16 22:59:36 2010 From: jon.masamitsu at oracle.com (Jon Masamitsu) Date: Thu, 16 Sep 2010 15:59:36 -0700 Subject: Request for review (M) - 6984287 Message-ID: <4C92A158.50004@oracle.com> Fixed 6984287: Clean up how GC parallel workers are specified. The significant changes are to move toward making the number of GC workers part of the workgang and not part of the task. Also made some changes to balancing queues for parallel Reference processing. Many, many of the other changes are a name change or a call to a function instead of the direct use of a command line flag. http://cr.openjdk.java.net/~jmasa/6984287/webrev.00/ From john.cuthbertson at oracle.com Fri Sep 17 04:06:21 2010 From: john.cuthbertson at oracle.com (john.cuthbertson at oracle.com) Date: Fri, 17 Sep 2010 04:06:21 +0000 Subject: hg: jdk7/hotspot-gc/hotspot: 4 new changesets Message-ID: <20100917040631.8569547A35@hg.openjdk.java.net> Changeset: ea175c1b79ce Author: dcubed Date: 2010-09-08 08:34 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/ea175c1b79ce 6561870: 3/3 Long javac compile lines fail due to command line length issues (agent compiles?) Summary: Use javac's @filename construct to avoid long compile lines Reviewed-by: ohair, twisti, never Contributed-by: doko at ubuntu.com ! make/linux/makefiles/sa.make ! make/solaris/makefiles/sa.make Changeset: 30f67acf635d Author: thurka Date: 2010-09-11 08:18 +0200 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/30f67acf635d 6765718: Indicate which thread throwing OOME when generating the heap dump at OOME Summary: Emit a fake frame that makes it look like the thread is in the OutOfMemoryError zero-parameter constructor Reviewed-by: dcubed ! src/share/vm/services/heapDumper.cpp ! src/share/vm/services/heapDumper.hpp ! src/share/vm/utilities/debug.cpp Changeset: 8a8a7a014a12 Author: kamg Date: 2010-09-13 07:38 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/8a8a7a014a12 Merge Changeset: 97fbf5beff7b Author: johnc Date: 2010-09-16 13:45 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/97fbf5beff7b Merge From jon.masamitsu at oracle.com Tue Sep 21 03:20:18 2010 From: jon.masamitsu at oracle.com (jon.masamitsu at oracle.com) Date: Tue, 21 Sep 2010 03:20:18 +0000 Subject: hg: jdk7/hotspot-gc/hotspot: 6984287: Regularize how GC parallel workers are specified. Message-ID: <20100921032024.6B5A847B11@hg.openjdk.java.net> Changeset: 8b10f48633dc Author: jmasa Date: 2010-09-20 14:38 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/8b10f48633dc 6984287: Regularize how GC parallel workers are specified. Summary: Associate number of GC workers with the workgang as opposed to the task. Reviewed-by: johnc, ysr ! src/share/vm/gc_implementation/concurrentMarkSweep/cmsCollectorPolicy.cpp ! src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.cpp ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp ! src/share/vm/gc_implementation/g1/concurrentMark.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp ! src/share/vm/gc_implementation/g1/g1RemSet.cpp ! src/share/vm/gc_implementation/parNew/parCardTableModRefBS.cpp ! src/share/vm/gc_implementation/parNew/parNewGeneration.cpp ! src/share/vm/gc_implementation/parNew/parNewGeneration.hpp ! src/share/vm/gc_implementation/parallelScavenge/pcTasks.hpp ! src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp ! src/share/vm/gc_interface/collectedHeap.cpp ! src/share/vm/gc_interface/collectedHeap.hpp ! src/share/vm/includeDB_core ! src/share/vm/memory/genCollectedHeap.cpp ! src/share/vm/memory/genCollectedHeap.hpp ! src/share/vm/memory/referenceProcessor.cpp ! src/share/vm/memory/referenceProcessor.hpp ! src/share/vm/memory/sharedHeap.cpp ! src/share/vm/memory/sharedHeap.hpp ! src/share/vm/utilities/taskqueue.cpp ! src/share/vm/utilities/taskqueue.hpp ! src/share/vm/utilities/workgroup.cpp ! src/share/vm/utilities/workgroup.hpp ! src/share/vm/utilities/yieldingWorkgroup.cpp ! src/share/vm/utilities/yieldingWorkgroup.hpp From nileader4dev at gmail.com Fri Sep 24 13:14:51 2010 From: nileader4dev at gmail.com (=?gb2312?B?bmlsZWFkZXItv6q3og==?=) Date: Fri, 24 Sep 2010 21:14:51 +0800 Subject: A Java Developer From China has a question. Message-ID: <000601cb5bea$7c0a3630$741ea290$@com> Hello everyone: I am java developer from China, and I want to learn more about hotspot. Now,I have a question that : Is there a tool, can help me to know the runtime environment of jvm. -------------- next part -------------- An HTML attachment was scrubbed... URL: From john.coomes at oracle.com Sat Sep 25 02:26:00 2010 From: john.coomes at oracle.com (john.coomes at oracle.com) Date: Sat, 25 Sep 2010 02:26:00 +0000 Subject: hg: jdk7/hotspot-gc/hotspot: 6983296: build sanity checks for jdk7 should require SS12u1 Message-ID: <20100925022602.95A3447C14@hg.openjdk.java.net> Changeset: 22cace5e30b5 Author: jcoomes Date: 2010-09-08 16:10 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/22cace5e30b5 6983296: build sanity checks for jdk7 should require SS12u1 Reviewed-by: ohair ! make/solaris/makefiles/sparcWorks.make From john.cuthbertson at oracle.com Tue Sep 28 19:40:50 2010 From: john.cuthbertson at oracle.com (john.cuthbertson at oracle.com) Date: Tue, 28 Sep 2010 19:40:50 +0000 Subject: hg: jdk7/hotspot-gc/hotspot: 6941395: G1: Use only lock-free versions of region stack push() and pop() Message-ID: <20100928194052.435D247CED@hg.openjdk.java.net> Changeset: 4805b9f4779e Author: johnc Date: 2010-09-28 09:51 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/4805b9f4779e 6941395: G1: Use only lock-free versions of region stack push() and pop() Summary: Re-enable use of the lock-free versions of region stack push() and pop() by recording aborted regions in a thread-local structure, which are then processed when scanning of the region stack restarts. The previous locking versions of these routines are retained for diagnostic purposes. Reviewed-by: tonyp, ysr ! src/share/vm/gc_implementation/g1/concurrentMark.cpp ! src/share/vm/gc_implementation/g1/concurrentMark.hpp From psockali at gmail.com Tue Sep 28 21:15:33 2010 From: psockali at gmail.com (Pressenna Sockalingasamy) Date: Tue, 28 Sep 2010 23:15:33 +0200 Subject: GC Message-ID: <4CA25AF5.3060802@gmail.com> Hello, I'm trying to implement a (so far) simple heap, which stops the world and compacts spaces. It is all working, but as soon as I compact spaces and get new oop addresses to be used, the JVM SIGSEGVs. For some reasons, the backtrace (via DDD) shows me that the VM is executing code in the heap address space. Is there something special I have to do / consider when adjusting pointers during a safepoint? Currently I am just using the same approach as the SharedHeap::process_strong_roots(...). My code base is based on the b20 source drop. Regards, Pressenna Sockalingasamy From psockali at gmail.com Tue Sep 28 22:50:52 2010 From: psockali at gmail.com (Pressenna Sockalingasamy) Date: Wed, 29 Sep 2010 00:50:52 +0200 Subject: custom compacting GC implementation Message-ID: <4CA2714C.3090403@gmail.com> Hi, I'm trying to implement a (so far) simple heap, which stops the world and compacts spaces. It is all working, but as soon as I compact spaces and get new oop addresses to be used, the JVM SIGSEGVs. For some reasons, the backtrace (via DDD) shows me that the VM is executing code in the heap address space. Is there something special I have to do / consider when adjusting pointers during a safepoint? Currently I am just using the same approach as the SharedHeap::process_strong_roots(...). My code base is the b20 source drop. Current code is as follows: rmsAdjustClosure rac(_adjustmentMap); Universe::oops_do(&rac); ReferenceProcessor::oops_do(&rac); JNIHandles::oops_do(&rac); Threads::oops_do(&rac, NULL); ObjectSynchronizer::oops_do(&rac); FlatProfiler::oops_do(&rac); Management::oops_do(&rac); JvmtiExport::oops_do(&rac); SystemDictionary::oops_do(&rac); vmSymbols::oops_do(&rac); JNIHandles::oops_do(&rac); CodeCache::oops_do(&rac); SymbolTable::oops_do(&rac); StringTable::oops_do(&rac); // adjust pointers in the permanent space / generation _heap->permanent_oop_iterate(&rac); Regards, Pressenna Sockalingasamy PS: sorry for the double post... forgot the sample code From john.coomes at oracle.com Wed Sep 29 01:11:41 2010 From: john.coomes at oracle.com (john.coomes at oracle.com) Date: Wed, 29 Sep 2010 01:11:41 +0000 Subject: hg: jdk7/hotspot-gc/hotspot: 6423256: GC stacks should use a better data structure; ... Message-ID: <20100929011143.128E247D05@hg.openjdk.java.net> Changeset: 894b1d7c7e01 Author: jcoomes Date: 2010-09-28 15:56 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/894b1d7c7e01 6423256: GC stacks should use a better data structure 6942771: SEGV in ParScanThreadState::take_from_overflow_stack Reviewed-by: apetrusenko, ysr, pbk ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp ! src/share/vm/gc_implementation/g1/g1MarkSweep.cpp ! src/share/vm/gc_implementation/includeDB_gc_concurrentMarkSweep ! src/share/vm/gc_implementation/includeDB_gc_parallelScavenge ! src/share/vm/gc_implementation/includeDB_gc_serial ! src/share/vm/gc_implementation/parNew/parNewGeneration.cpp ! src/share/vm/gc_implementation/parNew/parNewGeneration.hpp ! src/share/vm/gc_implementation/parallelScavenge/pcTasks.cpp ! src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.cpp ! src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.hpp ! src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.cpp ! src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp ! src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.cpp ! src/share/vm/gc_implementation/parallelScavenge/psScavenge.cpp ! src/share/vm/gc_implementation/parallelScavenge/psScavenge.hpp ! src/share/vm/gc_implementation/shared/markSweep.cpp ! src/share/vm/gc_implementation/shared/markSweep.hpp ! src/share/vm/gc_implementation/shared/markSweep.inline.hpp ! src/share/vm/includeDB_core ! src/share/vm/memory/allocation.hpp ! src/share/vm/memory/defNewGeneration.cpp ! src/share/vm/memory/defNewGeneration.hpp ! src/share/vm/memory/genMarkSweep.cpp ! src/share/vm/runtime/globals.hpp ! src/share/vm/runtime/thread.cpp + src/share/vm/utilities/stack.hpp + src/share/vm/utilities/stack.inline.hpp ! src/share/vm/utilities/taskqueue.hpp From y.s.ramakrishna at oracle.com Thu Sep 30 09:08:44 2010 From: y.s.ramakrishna at oracle.com (y.s.ramakrishna at oracle.com) Date: Thu, 30 Sep 2010 09:08:44 +0000 Subject: hg: jdk7/hotspot-gc/hotspot: 6692906: CMS: parallel concurrent marking may be prone to hanging or stalling mutators for periods of time Message-ID: <20100930090847.8CB8B47D56@hg.openjdk.java.net> Changeset: c99c53f07c14 Author: ysr Date: 2010-09-29 16:17 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/c99c53f07c14 6692906: CMS: parallel concurrent marking may be prone to hanging or stalling mutators for periods of time Summary: Inserted missing yield(check)s in closures used during the work-stealing phase of parallel concurrent marking, a missing synchronous yield-request in the cms perm gen allocation path, and a terminator-terminator for the offer_termination invocation that monitors the yield status of the concurrent marking task. Elaborated some documentation comments and made some task queue termination loop flags configurable at start-up to aid debugging in the field. Reviewed-by: jmasa, johnc, poonam ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.hpp ! src/share/vm/runtime/globals.hpp ! src/share/vm/utilities/yieldingWorkgroup.hpp From John.Coomes at oracle.com Thu Sep 30 17:59:09 2010 From: John.Coomes at oracle.com (John Coomes) Date: Thu, 30 Sep 2010 10:59:09 -0700 Subject: review request (XXS): 6988678 fatal error deadlock handling Message-ID: <19620.53229.666635.393661@oracle.com> Hi all, I need to undo an unintentional change that disabled deadlock handling after a fatal error occurred: http://cr.openjdk.java.net/~jcoomes/6988678-fatal-err-deadlock-detection/ -John