From lana.steuck at oracle.com Wed Jul 6 11:31:35 2011 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Wed, 06 Jul 2011 18:31:35 +0000 Subject: hg: jdk8/jdk8/langtools: 9 new changesets Message-ID: <20110706183157.BC1AD47215@hg.openjdk.java.net> Changeset: defdd98cb7ce Author: darcy Date: 2011-06-01 23:56 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/langtools/rev/defdd98cb7ce 7025784: Add SourceVersion.RELEASE_8 7025786: Add -source 8 and -target 8 to javac 7025789: Change javac source and target default to 8 Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/code/Source.java ! src/share/classes/com/sun/tools/javac/jvm/Target.java ! src/share/classes/com/sun/tools/javac/processing/PrintingProcessor.java ! src/share/classes/javax/lang/model/SourceVersion.java ! test/tools/javac/6330997/T6330997.java ! test/tools/javac/api/T6395981.java ! test/tools/javac/processing/warnings/TestSourceVersionWarnings.java ! test/tools/javac/quid/T6999438.java ! test/tools/javac/versions/check.sh Changeset: 3b1fd4ac2e71 Author: darcy Date: 2011-06-13 12:17 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/langtools/rev/3b1fd4ac2e71 7052122: Update JDK_MINOR_VERSION for JDK 8 Reviewed-by: mr, katleman + test/tools/javac/processing/model/TestSourceVersion.java Changeset: 4844a9fd3a62 Author: darcy Date: 2011-06-22 17:07 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/langtools/rev/4844a9fd3a62 6449184: Provide JavacProcessingEnvironment.getWriter Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java ! test/tools/javac/util/T6597678.java Changeset: 18002d039806 Author: jjg Date: 2011-06-23 11:49 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/langtools/rev/18002d039806 7058174: Reduce langtools build warnings Reviewed-by: jjg Contributed-by: alexandre.boulgakov at oracle.com ! make/build.xml ! make/tools/CompileProperties/CompileProperties.java Changeset: d59414955614 Author: lana Date: 2011-06-22 23:26 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/langtools/rev/d59414955614 Merge - src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/inherit.gif Changeset: 9eb36cac6b64 Author: lana Date: 2011-06-23 17:30 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/langtools/rev/9eb36cac6b64 Merge Changeset: f74e4269a50a Author: darcy Date: 2011-06-24 13:52 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/langtools/rev/f74e4269a50a 6575445: Update annotation processor to only use java.util.ServiceLoader Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java ! src/share/classes/com/sun/tools/javac/resources/compiler.properties ! test/tools/javac/diags/examples.not-yet.txt Changeset: 858ae8fec72f Author: jjg Date: 2011-06-30 12:00 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/langtools/rev/858ae8fec72f 7060926: Attr.PostAttrAnalyzer misses a case Reviewed-by: mcimadamore ! src/share/classes/com/sun/tools/javac/comp/Attr.java + test/tools/javac/failover/FailOver15.java + test/tools/javac/failover/FailOver15.out Changeset: 469e3bec9b27 Author: lana Date: 2011-06-30 14:19 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/langtools/rev/469e3bec9b27 Merge From lana.steuck at oracle.com Wed Jul 6 11:31:46 2011 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Wed, 06 Jul 2011 18:31:46 +0000 Subject: hg: jdk8/jdk8/jdk: 37 new changesets Message-ID: <20110706183802.A403647217@hg.openjdk.java.net> Changeset: 685a01aa8cd2 Author: prr Date: 2011-05-25 19:53 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/685a01aa8cd2 7044394: TrueTypeFont inner class DirectoryEntry should be static Reviewed-by: bae, jgodinez ! src/share/classes/sun/font/TrueTypeFont.java Changeset: 73d420a7199b Author: dlila Date: 2011-06-24 16:22 -0400 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/73d420a7199b 7049339: AnyBlit is broken with non-rectangular clips. Reviewed-by: flar ! src/share/classes/sun/java2d/loops/Blit.java + test/sun/java2d/loops/Bug7049339.java Changeset: bb481604e929 Author: lana Date: 2011-06-30 14:16 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/bb481604e929 Merge Changeset: b8bcb12acea6 Author: weijun Date: 2011-05-27 09:01 +0800 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/b8bcb12acea6 7048466: Move sun.misc.JavaxSecurityAuthKerberosAccess to sun.security.krb5 package Reviewed-by: weijun, alanb Contributed-by: Mandy Chung ! src/share/classes/javax/security/auth/kerberos/JavaxSecurityAuthKerberosAccessImpl.java ! src/share/classes/javax/security/auth/kerberos/KeyTab.java - src/share/classes/sun/misc/JavaxSecurityAuthKerberosAccess.java ! src/share/classes/sun/misc/SharedSecrets.java ! src/share/classes/sun/security/jgss/krb5/Krb5Util.java + src/share/classes/sun/security/krb5/JavaxSecurityAuthKerberosAccess.java + src/share/classes/sun/security/krb5/KerberosSecrets.java Changeset: 0da0a4d22fba Author: dcubed Date: 2011-06-01 17:10 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/0da0a4d22fba 7048308: 4/4 LoggingDeadlock3 test timeout is too small Summary: Change timeout for test from 15 seconds to 80 seconds. Reviewed-by: dholmes ! test/java/util/logging/LoggingDeadlock3.java Changeset: 4a221501079a Author: dcubed Date: 2011-06-01 17:11 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/4a221501079a 7045594: 4/4 fix for 6977677 introduced a ResourceBundle race Summary: Fix Logger.getLogger() ResourceBundle name race. Reviewed-by: dholmes, mchung ! src/share/classes/java/util/logging/Logger.java + test/java/util/logging/LoggerResourceBundleRace.java + test/java/util/logging/RacingThreadsTest.java Changeset: 9b678733fa51 Author: weijun Date: 2011-06-08 14:01 +0800 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/9b678733fa51 7043737: klist does not detect non-existing keytab Reviewed-by: valeriep ! src/windows/classes/sun/security/krb5/internal/tools/Klist.java + test/sun/security/krb5/tools/ktmissing.sh Changeset: 958eea7dd46e Author: darcy Date: 2011-06-13 12:17 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/958eea7dd46e 7052122: Update JDK_MINOR_VERSION for JDK 8 Reviewed-by: mr, katleman ! make/common/shared/Defs.gmk ! make/docs/Makefile Changeset: 08fdfdb19ad6 Author: coffeys Date: 2011-06-14 18:05 +0100 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/08fdfdb19ad6 7049774: UID construction appears to hang if time changed backwards Reviewed-by: alanb, dholmes, chegar, mduigou ! src/share/classes/java/rmi/server/UID.java Changeset: 4e7a9fa84dea Author: darcy Date: 2011-06-14 12:31 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/4e7a9fa84dea 7054669: javadoc warnings from java.awt.Toolkit Reviewed-by: anthony ! src/share/classes/java/awt/Toolkit.java Changeset: 33e6291f3251 Author: darcy Date: 2011-06-15 08:37 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/33e6291f3251 7041252: Use j.u.Objects.equals in security classes Reviewed-by: weijun ! src/share/classes/sun/security/tools/KeyTool.java ! src/share/classes/sun/security/x509/DistributionPoint.java ! src/share/classes/sun/security/x509/DistributionPointName.java Changeset: 85480980cd5e Author: darcy Date: 2011-06-17 10:34 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/85480980cd5e 7021922: java.lang.annoation.IncompleteExceptions throws NPE when type is null Reviewed-by: alanb, forax ! src/share/classes/java/lang/annotation/IncompleteAnnotationException.java + test/java/lang/annotation/TestIncompleteAnnotationExceptionNPE.java Changeset: e373b4c95b4b Author: ksrini Date: 2011-06-17 15:17 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/e373b4c95b4b 7043125: TEST: tools/launcher/VersionCheck.java fails just against openjdk7 (b141 & b138-nightly) promoted Reviewed-by: darcy ! test/tools/launcher/ExecutionEnvironment.java ! test/tools/launcher/VersionCheck.java Changeset: b29888e74be3 Author: alanb Date: 2011-06-19 11:15 +0100 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/b29888e74be3 7056489: test/com/sun/jndi/ldap/ReadTimeoutTest.java hangs or times out Reviewed-by: forax, vinnie ! test/ProblemList.txt ! test/com/sun/jndi/ldap/ReadTimeoutTest.java Changeset: 82706552f7a3 Author: weijun Date: 2011-06-20 17:38 +0800 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/82706552f7a3 7054428: test/java/security/SecureClassLoader/DefineClassByteBuffer.java error Reviewed-by: alanb ! test/ProblemList.txt ! test/java/security/SecureClassLoader/DefineClassByteBuffer.java Changeset: 411d02c13385 Author: dl Date: 2011-06-20 12:27 +0100 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/411d02c13385 7051516: ThreadLocalRandom seed is never initialized so all instances generate the same sequence Reviewed-by: chegar, dholmes, mduigou ! src/share/classes/java/util/Random.java Changeset: a015dda3bdc6 Author: weijun Date: 2011-06-20 19:17 +0800 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/a015dda3bdc6 7054918: jdk_security1 test target cleanup Reviewed-by: alanb, smarks, vinnie ! test/ProblemList.txt ! test/java/security/BasicPermission/PermClass.java ! test/java/security/BasicPermission/SerialVersion.java ! test/java/security/KeyFactory/Failover.java ! test/java/security/KeyPairGenerator/Failover.java ! test/java/security/Provider/ChangeProviders.java ! test/java/security/Provider/GetInstance.java ! test/java/security/Provider/RemoveProvider.java ! test/java/security/Provider/Turkish.java ! test/java/security/Security/ClassLoaderDeadlock/Deadlock2.sh ! test/java/security/Security/NoInstalledProviders.java ! test/java/security/Security/SynchronizedAccess.java ! test/java/security/Security/removing/RemoveProviders.java ! test/java/security/UnresolvedPermission/Equals.java ! test/java/security/spec/EllipticCurveMatch.java + test/java/security/testlibrary/ProvidersSnapshot.java Changeset: 3c8f939ced1c Author: darcy Date: 2011-06-20 17:20 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/3c8f939ced1c 7055295: (reflect) add conventional constructor to GenericSignatureFormatError Reviewed-by: lancea, mduigou ! src/share/classes/java/lang/reflect/GenericSignatureFormatError.java Changeset: 70f14c2db078 Author: alanb Date: 2011-06-21 16:11 +0100 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/70f14c2db078 7056815: test/java/lang/ClassLoader/deadlock/TestOneWayDelegate.sh times out intermittently on busy machine Reviewed-by: mchung ! test/java/lang/ClassLoader/deadlock/TestOneWayDelegate.sh Changeset: 0bde4bed86e5 Author: alanb Date: 2011-06-22 15:13 +0100 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/0bde4bed86e5 7056447: test/java/lang/management/ManagementFactory/MBeanServerMXBeanUnsupportedTest.java fails in agentvm Reviewed-by: emcmanus ! test/java/lang/management/ManagementFactory/MBeanServerMXBeanUnsupportedTest.java Changeset: febb7f557135 Author: weijun Date: 2011-06-23 09:27 +0800 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/febb7f557135 7055362: jdk_security2 test target cleanup Reviewed-by: alanb ! test/Makefile ! test/ProblemList.txt ! test/com/sun/crypto/provider/Cipher/DES/Sealtest.java ! test/com/sun/crypto/provider/Cipher/RSA/TestOAEP_KAT.java ! test/javax/crypto/EncryptedPrivateKeyInfo/GetKeySpecException.java ! test/javax/crypto/JceSecurity/SunJCE_BC_LoadOrdering.java Changeset: 3b7193ab0d87 Author: xuelei Date: 2011-06-22 19:37 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/3b7193ab0d87 6952814: sun/security/ssl/com/sun/net/ssl/internal/ssl/InputRecord/InterruptedIO.java failing in PIT Reviewed-by: alanb - test/sun/security/ssl/com/sun/net/ssl/internal/ssl/InputRecord/InterruptedIO.java Changeset: 57265bf4b36b Author: xuelei Date: 2011-06-22 21:21 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/57265bf4b36b 7058271: Remove InterruptedIO.java record from ProblemList.txt Reviewed-by: weijun ! test/ProblemList.txt Changeset: 6b2c14dfe9b9 Author: chegar Date: 2011-06-23 13:00 +0100 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/6b2c14dfe9b9 7057935: com/sun/nio/sctp tests should be moved out of jdk_nio and into their own target, jdk_sctp Reviewed-by: alanb ! test/Makefile ! test/ProblemList.txt Changeset: ae7211979179 Author: chegar Date: 2011-06-23 13:15 +0100 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/ae7211979179 7021010: java/lang/Thread/ThreadStateTest.java fails intermittently Reviewed-by: dholmes, alanb, mchung ! test/ProblemList.txt ! test/java/lang/Thread/ThreadStateTest.java Changeset: cd7adb545f71 Author: xuelei Date: 2011-06-23 04:23 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/cd7adb545f71 7057022: test/sun/security/pkcs11/fips/ClientJSSEServerJSSE.java has invalid jtreg tags Reviewed-by: weijun ! test/sun/security/pkcs11/fips/ClientJSSEServerJSSE.java Changeset: 151756a4037b Author: darcy Date: 2011-06-23 14:57 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/151756a4037b 6253144: Long narrowing conversion should describe the algorithm used and implied "risks" Reviewed-by: mduigou, alanb ! src/share/classes/java/lang/Byte.java ! src/share/classes/java/lang/Double.java ! src/share/classes/java/lang/Float.java ! src/share/classes/java/lang/Integer.java ! src/share/classes/java/lang/Long.java ! src/share/classes/java/lang/Number.java ! src/share/classes/java/lang/Short.java ! src/share/classes/java/util/concurrent/atomic/AtomicInteger.java ! src/share/classes/java/util/concurrent/atomic/AtomicLong.java Changeset: 5838c5bd185d Author: lana Date: 2011-06-22 23:23 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/5838c5bd185d Merge ! src/share/classes/java/awt/Toolkit.java ! test/java/security/Security/NoInstalledProviders.java Changeset: 5dedb265ba3e Author: lana Date: 2011-06-23 14:56 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/5dedb265ba3e Merge Changeset: b037a8bc1be8 Author: lana Date: 2011-06-23 17:21 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/b037a8bc1be8 Merge Changeset: 0ad50d4ed1cf Author: alanb Date: 2011-06-24 19:30 +0100 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/0ad50d4ed1cf 6965150: TEST_BUG: java/nio/channels/AsynchronousSocketChannel/Basic.java takes too long Reviewed-by: chegar ! test/java/nio/channels/AsynchronousSocketChannel/Basic.java Changeset: 113c75db6c8b Author: michaelm Date: 2011-06-27 12:15 +0100 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/113c75db6c8b 7059777: Remove lang tests from Problemlist.txt Reviewed-by: alanb ! test/ProblemList.txt Changeset: a053c28304e8 Author: ksrini Date: 2011-06-27 12:21 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/a053c28304e8 7046007: (launcher) Improve usage information for -verbose option Reviewed-by: darcy, alanb ! src/share/classes/sun/launcher/resources/launcher.properties Changeset: 3abc52f0a4dc Author: dholmes Date: 2011-06-27 20:13 -0400 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/3abc52f0a4dc 7039182: PPC: NIO: java.io.IOException: Invalid argument in sun.nio.ch.FileDispatcherImpl.read0 Summary: Allow platform specific files to be located at build time instead of generating them Reviewed-by: alanb, ohair ! make/common/Defs-embedded.gmk ! make/java/nio/Makefile Changeset: 7b5a0a141b8b Author: michaelm Date: 2011-06-28 10:07 +0100 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/7b5a0a141b8b 7058832: com/sun/net/httpserver/bugs/B6373555.java failing intermittently Reviewed-by: alanb ! test/com/sun/net/httpserver/bugs/B6373555.java Changeset: 585cc4a4528d Author: michaelm Date: 2011-06-28 10:09 +0100 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/585cc4a4528d Merge Changeset: 9bcf6217a374 Author: lana Date: 2011-06-30 14:18 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/9bcf6217a374 Merge - src/share/classes/sun/misc/JavaxSecurityAuthKerberosAccess.java - test/sun/security/ssl/com/sun/net/ssl/internal/ssl/InputRecord/InterruptedIO.java From lana.steuck at oracle.com Wed Jul 6 15:16:03 2011 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Wed, 6 Jul 2011 15:16:03 -0700 (PDT) Subject: jdk8-b01: JSN, Tools, Core Libraries, Serviceability, 2d, Awt, and Swing Message-ID: <201107062216.p66MG3CY017130@jano-app.us.oracle.com> http://hg.openjdk.java.net/jdk8/jdk8/rev/04734fe746f0 http://hg.openjdk.java.net/jdk8/jdk8/langtools/rev/469e3bec9b27 http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/9bcf6217a374 http://hg.openjdk.java.net/jdk8/jdk8/jaxws/rev/47022a1b59be http://hg.openjdk.java.net/jdk8/jdk8/jaxp/rev/58dfc6f729e8 http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/e6e7d76b2bd3 http://hg.openjdk.java.net/jdk8/jdk8/corba/rev/97014e43181f --- Component : 2d Status : 0 major failures, 0 minor failures Date : 07/06/2011 at 09:39 Tested By : Tony Cost(total man-days): 1 Workspace : http://sqe-hg.us.oracle.com/hg/index.cgi/testbase/javase/functional/7/2d/ Bundles : /net/jano1.us.oracle.com/export1/jcg/ws-depot/8/tl/build-archive/2011-06-30-212201.jcg-integrator.tl-pit-2d-awt/link-to-jprt-build/bundles Platforms : Others Tests : /net/jano1.us.oracle.com/export1/jcg/ws-depot/8/tl/repo.latest-pit/jdk Browsers : NA Patches : NA Logs : /net/jano1.us.oracle.com/export1/jcg/ws-depot/8/tl/build-archive/2011-06-30-212201.jcg-integrator.tl-pit-2d-awt/logs/webrev/ Number of Tests Executed : 2 product tests, 0 unit tests, 0 tck tests Bug verification status: ====================================== Tested, Pass: 7044394: TrueTypeFont inner class DirectoryEntry should be static 7049339: Sun2D: Batik: Printing: java.awt.image.RasterFormatException: (x + width) is outside raster Tested, Pass (partial fixes): Tested, Fail: Untested bug fixes: Setup is not available: Build change only: New bugs filed: Bugs in PIT build: Bugs in earlier promoted build: Number of PIT requested: 1 Integration target J2SE build number: 1.8.0-b01 Issues and Notes: For some reason the bugs passed were not included in the previous PIT certificate. This is a resubmission to have those included. ------------------------------- >From Tony Component : awt Status : 0 major failures, 0 minor failures Date : 07/05/2011 at 16:15 Tested By : Yinhe Cao Cost(total man-days): 1 Workspace : http://sqe-hg.us.oracle.com/hg/index.cgi/testbase/javase/functional/7/awt/ Bundles : /net/jano1.us.oracle.com/export1/jcg/ws-depot/8/tl/build-archive/2011-06-30-212201.jcg-integrator.tl-pit-2d-awt/link-to-jprt-build/bundles Platforms : WinXP Home(32), -client Tests : /net/jano1.us.oracle.com/export1/jcg/ws-depot/8/tl/repo.latest-pit/jdk Browsers : NA Patches : NA Logs : http://sqeweb.sfbay.sun.com/nfs/results/awt/pit/8/b01 Number of Tests Executed : 1 product tests, 0 unit tests, 0 tck tests Bug verification status: ====================================== Tested, Pass: 7054669: javadoc warnings from java.awt.Toolkit Tested, Pass (partial fixes): Tested, Fail: Untested bug fixes: Setup is not available: Build change only: New bugs filed: Bugs in PIT build: Bugs in earlier promoted build: Number of PIT requested: 1 Integration target J2SE build number: 1.8.0-b01 Issues and Notes: ------------------------------- >From Yinhe Cao Component : jmx Status : 0 major failures, 0 minor failures Date : 07/06/2011 at 09:51 Tested By : Vladimir Ivanov Cost(total man-days): 1 Workspace : 2011-06-30-212201.jcg-integrator.tl-pit-2d-awt Bundles : /net/jano1.us.oracle.com/export1/jcg/ws-depot/8/tl/build-archive/2011-06-30-212201.jcg-integrator.tl-pit-2d-awt/link-to-jprt-build/bundles Platforms : Solaris Sparc 10(32), -client Solaris Sparc 10(32), -server Tests : /net/jano1.us.oracle.com/export1/jcg/ws-depot/8/tl/repo.latest-pit/jdk Browsers : NA Patches : NA Logs : /net/sqenfs-2.us.oracle.com/export2/results/jmx/pit/8/b01 Number of Tests Executed : 1 product tests, 0 unit tests, 0 tck tests Bug verification status: ====================================== Tested, Pass: 7056447: test/java/lang/management/ManagementFactory/MBeanServerMXBeanUnsupportedTest.java fails in agentvm Tested, Pass (partial fixes): Tested, Fail: Untested bug fixes: Setup is not available: Build change only: New bugs filed: Bugs in PIT build: Bugs in earlier promoted build: Number of PIT requested: 1 Integration target J2SE build number: 1.8.0-b01 Issues and Notes: ------------------------------- >From Vladimir Ivanov Component : serviceability Status : 0 major failures, 0 minor failures Date : 07/06/2011 at 06:40 Tested By : Nicolay.Haustov at oracle.com Cost(total man-days): 1 Workspace : N/A Bundles : /net/jano1.us.oracle.com/export1/jcg/ws-depot/8/tl/build-archive/2011-06-30-212201.jcg-integrator.tl-pit-2d-awt Platforms : Others Tests : /net/sqenfs-1.sfbay/export1/comp/vm/testbase/ Browsers : NA Patches : NA Logs : http://sqeweb.us.oracle.com/nfs/results/vm/gtee/JDK/PIT/SERVICEABILITY/8/b01/product/ Number of Tests Executed : 11272 product tests, 0 unit tests, 0 tck tests Bug verification status: ====================================== Tested, Pass: 7045594: fix for 6977677 introduced a ResourceBundle race 7048308: LoggingDeadlock3 test timeout is too small Tested, Pass (partial fixes): Tested, Fail: Untested bug fixes: Setup is not available: 7039182: PPC: NIO: java.io.IOException: Invalid argument in sun.nio.ch.FileDispatcherImpl.read0 Build change only: New bugs filed: Bugs in PIT build: Bugs in earlier promoted build: Number of PIT requested: 1 Integration target J2SE build number: 1.8.0-b01 Issues and Notes: solaris-amd64 and solaris-sparcv9 have not been tested as provided binaries don\'t work. ------------------------------- >From Nicolay.Haustov at oracle.com Component : tls Status : 0 major failures, 0 minor failures Date : 07/06/2011 at 09:15 Tested By : steve.sides Cost(total man-days): 1 Workspace : /export/jcia-jobs/8-tl-pit-2d-awt.20110630-140236/jdk8-clone Bundles : /net/jano1.us.oracle.com/export1/jcg/ws-depot/8/tl/build-archive/2011-06-30-212201.jcg-integrator.tl-pit-2d-awt/link-to-jprt-build/bundles Platforms : Solaris x86 11(32), -client RH AS3.0 (32), -client Tests : /net/sqenfs-1.sfbay/export1/comp/tools/ws/8_int/tools Browsers : NA Patches : NA Logs : http://sqeweb.sfbay.sun.com/nfs/results/tools/pit/8/b01/ Number of Tests Executed : 1225 product tests, 1919 unit tests, 0 tck tests Bug verification status: ====================================== Tested, Pass: 7025784: Add SourceVersion.RELEASE_8 7025786: Add -source 8 and -target 8 to javac 7025789: Change javac source and target default to 8 7060926: Attr.PostAttrAnalyzer misses a case Tested, Pass (partial fixes): Tested, Fail: Untested bug fixes: Setup is not available: 7043125: TEST: tools/launcher/VersionCheck.java fails just against openjdk7 (b141 & b138-nightly) promoted 7046007: (launcher) Improve usage information for -verbose option 7058174: Reduce langtools build warnings Build change only: New bugs filed: Bugs in PIT build: Bugs in earlier promoted build: Number of PIT requested: 1 Integration target J2SE build number: 1.8.0-b01 Issues and Notes: Limited platforms and test. Not fully set up for jdk8 PIT. Minor test bug in test for 7060926-: FailOver15.out has an extra blank line in the \'golden\' .out file. ------------------------------- >From steve.sides The following CRs were waived by SQE: 6253144 java classes_lang Long narrowing conversion should describe the algorithm used 6449184 java classes_annot_pr Provide JavacProcessingEnvironment.getWriter 6575445 java classes_annot_pr Update annotation processor to only use java.util.ServiceLoa 6952814 jsse runtime sun/security/ssl/com/sun/net/ssl/internal/ssl/InputRecord/In 6965150 java classes_nio TEST_BUG: java/nio/channels/AsynchronousSocketChannel/Basic. 7021010 java classes_lang (thread) TEST_BUG java/lang/Thread/ThreadStateTest.java fail 7021922 java classes_lang java.lang.annotation.IncompleteAnnotationException throws NP 7041252 java classes_security Use j.u.Objects.equals in security classes 7043737 jgss krb5plugin klist does not detect non-existing keytab 7048466 java classes_security Move sun.misc.JavaxSecurityAuthKerberosAccess to sun.securit 7049774 java rmi UID construction appears to hang if time changed backwards 7051516 java classes_util ThreadLocalRandom seed is never initialized so all instances 7052122 java build Update JDK_MINOR_VERSION for JDK 8 7054428 java classes_security test/java/security/SecureClassLoader/DefineClassByteBuffer.j 7054918 java classes_security jdk_security1 test target cleanup 7055295 java classes_lang (reflect) add conventional constructor to GenericSignatureFo 7055362 java classes_security jdk_security2 test target cleanup 7056489 jndi ldap test/com/sun/jndi/ldap/ReadTimeoutTest.java hangs or times o 7056815 java classes_lang test/java/lang/ClassLoader/deadlock/TestOneWayDelegate.sh ti 7057022 java classes_security test/sun/security/pkcs11/fips/ClientJSSEServerJSSE.java has 7057394 java classes_lang test/closed/java/lang/reflect/Field/AccessCache/MethodRace.j 7057854 java classes_nio TEST_BUG: test/closed/java/nio/Buffer/FinalizerTest.java nee 7057935 java classes_nio com/sun/nio/sctp tests should be moved out of jdk_nio and in 7058271 jsse regtests Remove InterruptedIO.java record from ProblemList.txt 7058832 java classes_net com/sun/net/httpserver/bugs/B6373555.java failing intermitte 7058979 java classes_security closed/java/security/cert/CertPathValidator/distributionPoin 7059777 java classes_lang Remove lang tests from Problemlist.txt From john_platts at hotmail.com Sat Jul 9 07:33:49 2011 From: john_platts at hotmail.com (John Platts) Date: Sat, 9 Jul 2011 09:33:49 -0500 Subject: Improvements to Java Native Interface API's in JDK 8 In-Reply-To: <4E090B9C.2060607@oracle.com> References: , <4E090B9C.2060607@oracle.com> Message-ID: I do agree that the problem with using Modified UTF-8 instead of Standard UTF-8, as described in bug #5030776, really needs to be addressed. However, here is another problem with the Java Native Interface API's that is not described in bug #5030776. The problem is that the JNI invocation API currently expects arguments to the JNI_CreateJavaVM method to be encoded in the platform default encoding. There is a real need to add support for passing in arguments to the JNI_CreateJavaVM method using UTF-8, Modified UTF-8, or UTF-16 in Java SE 8 for the following reasons: - Conversion from UTF-8, Modified UTF-8, or UTF-16 to the platform default encoding can replace characters that are not in the platform default encoding with the default replacement character. In some cases, this can be a potential security risk on platforms where the platform default encoding is a non-Unicode-based encoding (such as on Microsoft Windows). - The NetBeans platform, Eclipse Equinox, and Eclipse RCP can launch a Java VM using the JNI Invocation API. - Filenames can be passed into arguments passed into the JNI_CreateJavaVM method. The JNI_CreateJavaVM API cannot accommodate filenames containing characters that are not in the platform default encoding, but the java.io and java.nio API's can accommodate filenames containing characters that are not in the platform default encoding. - The main method of Java applications, System.getProperty, System.getProperties, and System.getEnv methods all support UTF-16 strings with characters that are not in the platform default encoding. - Windows NT-based operating systems, including Windows XP, Windows Vista, Windows 7, and Windows Server, can start processes with arguments, file names, or environment variables that contain Unicode characters that are not in the platform default encoding with the CreateProcessW and ShellExecuteW functions. On OpenJDK 7 and other Java SE implementations, whenever a process is started with ProcessBuilder.start or Runtime.exec methods on Windows-based platforms, processes are actually started using the CreateProcessW function. - On Windows platforms, wide character literals are encoded in UTF-16. However, wide character literals are not necessarily UTF-16 encoded on non-Windows platforms. - The C1x and C++0x standards provide support for UTF-8, UTF-16, and UTF-32, including the ability to define UTF-8, UTF-16, and UTF-32 string literals. The C1x standard also defines Unicode conversion functions in uchar.h. The jchar type maps to the char16_t type on C compilers supporting the C1x standard and C++ compilers supporting the C++0x standard, and maps to wchar_t and WCHAR on Windows platforms. There is still a need to support allowing arguments and options to be passed into the JNI_CreateJavaVM method using the platform-default encoding for backwards compatibility and to support non-Windows platforms. On Windows platforms, the NetBeans launcher and the executable files in the bin directory of the Java Runtime Environment and Java Development Kit need to be updated to use wmain or wWinMain, and to pass in arguments and options to a Java SE 8 or later VM using Unicode. Arguments and environment variables actually get converted from Unicode to the platform default encoding if main and WinMain are used instead of wmain and wWinMain, or if they are obtained using getenv, GetCommandLineA, GetEnvironmentStringsA, or GetEnvironmentVariableA functions instead of the _wgetenv, GetCommandLineW, GetEnvironmentStringsW, or GetEnvironmentVariableW functions. Allowing options to be passed into the JNI_CreateJavaVM method using UTF-16 eliminates the need to convert options from UTF-16 to the platform default encoding on Windows platforms. These options do get converted into Java strings, and these strings have to get converted back into UTF-16 whenever options are passed into the JNI_CreateJavaVM using the platform default encoding. If these options get passed into the JNI_CreateJavaVM method using UTF-16, the need to convert these options from the platform default encoding to UTF-16 can be avoided. ---------------------------------------- > Date: Mon, 27 Jun 2011 17:00:44 -0600 > From: daniel.daugherty at oracle.com > To: john_platts at hotmail.com; jdk8-dev at openjdk.java.net > Subject: Re: Improvements to Java Native Interface API's in JDK 8 > > This (old) bug seems related to this proposal: > > 5030776 4/5 UTF-8 strings support doc change > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5030776 > > Dan > > > On 6/23/2011 9:03 AM, John Platts wrote: > > One of the issues with the Java Native Interface Invocation API is that the arguments passed into the JNI_CreateJavaVM method are in the default platform encoding. Here are the problems with this approach: > > - On Windows, the default platform encoding is set to an non-Unicode charset. > > - There are Unicode-only locales in Windows 2000 and later, and these locales use characters that are not in ASCII. > > - File names on Windows NT-based operating systems can contain characters that are not in the default platform encoding. > > - JVM arguments can contain characters that are not in the default platform encoding. The conversion of strings containing characters that are not in the default platform encoding might pose a security risk in certain circumstances. > > - The JVM converts arguments passed into the JVM from the platform default encoding to UTF-16. > > > > There needs to be a mechanism that allows Unicode-encoded arguments to be passed into the JNI_CreateJavaVM method on Java SE 8 or later. This mechanism requires new versions of JavaVMInitArgs, and a UTF-16 version of JavaVMOption (which is used when the UTF-16 encoding is specified). > > > > Here are updated definitions of the Java Native Interface Invocation API in Java SE 8 to support passing in VM options in Unicode, although the definitions are still subject to change at this point: > > #define JNI_VERSION_1_8 0x00010008 > > > > #define JNI_ENCODING_DEFAULT 0 > > #define JNI_ENCODING_MODIFIED_UTF8 1 > > #define JNI_ENCODING_STANDARD_UTF8 2 > > #define JNI_ENCODING_UTF16 3 > > > > typedef struct JavaVMOption8 { > > char *optionString; > > void *extraInfo; > > } JavaVMOption8; > > > > typedef struct JavaVMOption8_UTF16 { > > jchar *optionString; > > void *extraInfo; > > } JavaVMOption8; > > > > typedef struct JavaVMInitArgs8 { > > jint version; /* must be set to JNI_VERSION_1_8 */ > > > > /* optionCharEncoding must be set to one of the following values: */ > > /* JNI_ENCODING_DEFAULT - Platform default encoding */ > > /* JNI_ENCODING_MODIFIED_UTF8 - Modified UTF-8 encoding */ > > /* JNI_ENCODING_STANDARD_UTF8 - Standard UTF-8 encoding */ > > jint optionCharEncoding; > > > > jint nOptions; > > /* The optionString value of each of the options is in the */ > > /* encoding specified in optionCharEncoding. */ > > JavaVMOption8 *options; > > > > jboolean ignoreUnrecognized; > > } JavaVMInitArgs8; > > > > typedef struct JavaVMInitArgs8_UTF16 { > > jint version; /* must be set to JNI_VERSION_1_8 */ > > jint optionCharEncoding; /* must be set to JNI_ENCODING_UTF16 */ > > jint nOptions; > > JavaVMOption8_UTF16 *options; > > jboolean ignoreUnrecognized; > > } JavaVMInitArgs8; > > > > Here are advantages of the new definitions: > > - The JVM can verify that Modified UTF-8, Standard UTF-8, and UTF-16 input is not malformed. > > - The programmer must specify the encoding used for the options passed into the VM. This improves correctness, improves portability, minimizes security risks, and makes review of code using the JNI Invocation API easier. > > - JVM options containing characters that are not in the platform default encoding can be passed into the JNI invocation API, as long as the options contain valid Unicode characters. > > - There is no longer a need to convert from UTF-16 strings to the platform specific encoding on Windows platforms. This makes writing code using the JNI Invocation API easier on Windows platform, since there is no longer a need to use WideCharToMultiByte to convert UTF-16-encoded options to the default platform encoding. > > - The NetBeans and Eclipse launchers can start the Java VM using the JNI invocation API. The updates above can solve problems with the NetBeans and Eclipse launchers on Windows platforms, as the updates allow VM options to be passed in using Unicode instead of the default platform encoding. > > > > The executable files in the bin directory of JDK 8 and later need to be Unicode-enabled on Windows platforms. In addition, the NetBeans launcher needs to be Unicode-enabled on Windows platforms, and pass in options using Unicode whenever a Java SE 8 or later VM is launched through the NetBeans launcher. > > > > The Java Native Interface API's use Modified UTF-8 encoding instead of Standard UTF-8. There are several issues with having strings encoded as Modified UTF-8: > > - These strings are often incorrectly treated as Standard UTF-8 strings or strings encoded in the default platform encoding. > > - Many native APIs (with the exception of the Java Native Interface API's) expect strings to be in the default platform encoding, standard UTF-8, or UTF-16. > > - Many JNI native libraries have bugs because they incorrectly treat modified UTF-8 strings as standard UTF-8 strings or strings in the default platform encoding. Some of these libraries also incorrectly pass in standard UTF-8-encoded strings or strings encoded in the default platform encoding into JNI methods without converting these strings into modified UTF-8. > > > > New versions of the following JNI methods need to be added into JNI in Java SE 8, with an additional argument to specify the character encoding used: > > - DefineClass > > - FindClass > > - ThrowNew > > - FatalError > > - GetFieldID > > - GetMethodID > > - GetStaticFieldID > > - GetStaticMethodID > > - NewStringUTF > > - GetStringUTFLength > > - GetStringUTFChars > > - ReleaseStringUTFChars > > - GetStringUTFRegion > > - RegisterNatives > > - AttachCurrentThread > > - AttachCurrentThreadAsDaemon > > > > New versions of these API's are needed to address correctness issues with JNI code. The semantics of the existing versions of these methods need to remain unchanged to avoid breaking backwards compatibility. > > From behrangsa at gmail.com Sat Jul 9 19:02:04 2011 From: behrangsa at gmail.com (Behrang Saeedzadeh) Date: Sun, 10 Jul 2011 12:02:04 +1000 Subject: Feature request: aliasing classes at import Message-ID: Hi, For a long time it was not very common to encounter a situation in which two classes with the same name but in different packages had to be imported and used frequently in the same file. In fact till recently the only case I used to encounter every now and then was when I had to import java.util.Date and java.sql.Date in the same class. However recently it's more likely to encounter a situation like this. Some libraries have annotations and classes that use the same name. Also some APIs such as Eclipse EMF use class names (e.g. Package) that clash with Java class names and there are cases that both of them should be used frequently and using FQ names makes the source code very verbose and ugly. It would be nice to be able to import a class under a desired name at import time, e.g.: import java.util.Date : UDate; import java.sql.Date : SDate; Some other languages support this feature and I think it's a small coin-scale feature that would be nice to be added to Java. What do you think? Cheers, Behrang Saeedzadeh http://www.behrang.org From xuelei.fan at oracle.com Sun Jul 10 20:40:15 2011 From: xuelei.fan at oracle.com (Xuelei Fan) Date: Mon, 11 Jul 2011 11:40:15 +0800 Subject: To interpret case-insensitive string locale independently Message-ID: <4E1A709F.7020203@oracle.com> Hi, A lot of protocols and application need to use case-insensitive strings. It's common that, for case-insensitive string, we convert it to lower case or upper case before doing comparing, hash-code operations. However, we may run into the locale dependency trap when calling String.toUpperCase() and String.toLowerCase(). It may looks weird that, "config".toUpperCase() may not equal to "CONFIG".toUpperCase(), and hence "config".toUpperCase().hashCode() may not equal to "CONFIG".toUpperCase().hashCode(). Details, please read my post, "The Trap of Case-Insensitive String", http://sim.ivi.co/2011/07/trap-of-case-insensitive-string.html. And I wrote a simple script to check the trap of case-insensitive string. http://sim.ivi.co/2011/07/simple-shell-script-to-check-trap-of.html It's not a big issue, as for most the locales, "config".toUpperCase() does equal to "CONFIG".toUpperCase(). But to make the product universally available, it may be worthy of mitigating the locale dependency of case-insensitive string. I have run the script on JDK workspace, and filled a few bugs that may have the potential rick of locale dependency. To make the products locale independent, I would like you check the potential locale dependency risks in your products. I'd really like to get feedback on the blog posts. Regards, Xuelei From tobias at frech.info Tue Jul 12 03:20:58 2011 From: tobias at frech.info (Tobias Frech) Date: Tue, 12 Jul 2011 12:20:58 +0200 Subject: Feature request: rough timestamp on instance creation Message-ID: <1310466058.2423.29.camel@fedora.frechit> Hi! I'd like to be able to do the following in a future Java release: For each object instance dumped in the HPROF format I'd like to determine the rough time when this instance was created. The resolution should should be in the seconds to minutes range. The reason for this request is, that it is still not easy to track down memory leaks in larger software deployments. Given this information I should be able to locate all leaking objects by just looking at objects that have been created after the system stabilized and created before the point in time the longest running session has started. My guess is for this to happen there would be two changes needed: - the JVM to include that information in every object instance - the jmap-tool to dump that information to the hprof file Cheers, Tobias -- ------------------------------- email : tobias at frech.info --- Frech.IT mobile: +49-(0)172-7112352 -- Am Br?nnele 7 ---------------------------- 71642 Ludwigsburg From Ivan.Krylov at oracle.com Thu Jul 14 16:51:51 2011 From: Ivan.Krylov at oracle.com (Ivan Krylov) Date: Fri, 15 Jul 2011 03:51:51 +0400 Subject: Feature request: aliasing classes at import In-Reply-To: References: Message-ID: <4E1F8117.7020807@oracle.com> I would not limit this than just to class names but rather expand idea of selective alliasing to methods and fields. just my 0.02 On 7/10/11 6:02 AM, Behrang Saeedzadeh wrote: > Hi, > > For a long time it was not very common to encounter a situation in > which two classes with the same name but in different packages had to > be imported and used frequently in the same file. In fact till > recently the only case I used to encounter every now and then was when > I had to import java.util.Date and java.sql.Date in the same class. > > However recently it's more likely to encounter a situation like this. > Some libraries have annotations and classes that use the same name. > Also some APIs such as Eclipse EMF use class names (e.g. Package) that > clash with Java class names and there are cases that both of them > should be used frequently and using FQ names makes the source code > very verbose and ugly. > > It would be nice to be able to import a class under a desired name at > import time, e.g.: > > import java.util.Date : UDate; > import java.sql.Date : SDate; > > Some other languages support this feature and I think it's a small > coin-scale feature that would be nice to be added to Java. What do you > think? > > Cheers, > Behrang Saeedzadeh > http://www.behrang.org From neugens.limasoftware at gmail.com Thu Jul 14 17:17:53 2011 From: neugens.limasoftware at gmail.com (=?utf-8?B?bmV1Z2Vucy5saW1hc29mdHdhcmVAZ21haWwuY29t?=) Date: Fri, 15 Jul 2011 02:17:53 +0200 Subject: =?utf-8?B?UmU6IEZlYXR1cmUgcmVxdWVzdDogYWxpYXNpbmcgY2xhc3NlcyBhdCBpbXBvcnQ=?= Message-ID: <4e1f873f.4ccfe30a.3517.2d16@mx.google.com> I king like this idea too, although the situations where this problem really occurs are probably limited and can be addressed by some simple factoring of the code, I think this could be a nice addition. Said that, I also see a high risk as drawback, in that this could provide a maintainance problem, making the code less readable and more difficult to follow without a proper IDE. Mario -- Sent from HTC Desire... pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF Fingerprint: BA39 9666 94EC 8B73 27FA FC7C 4086 63E3 80F2 40CF http://www.icedrobot.org Proud GNU Classpath developer: http://www.classpath.org/ Read About us at: http://planet.classpath.org OpenJDK: http://openjdk.java.net/projects/caciocavallo/ Please, support open standards: http://endsoftpatents.org/ ----- Reply message ----- Da: "Ivan Krylov" Data: ven, lug 15, 2011 01:51 Oggetto: Feature request: aliasing classes at import A: I would not limit this than just to class names but rather expand idea of selective alliasing to methods and fields. just my 0.02 On 7/10/11 6:02 AM, Behrang Saeedzadeh wrote: > Hi, > > For a long time it was not very common to encounter a situation in > which two classes with the same name but in different packages had to > be imported and used frequently in the same file. In fact till > recently the only case I used to encounter every now and then was when > I had to import java.util.Date and java.sql.Date in the same class. > > However recently it's more likely to encounter a situation like this. > Some libraries have annotations and classes that use the same name. > Also some APIs such as Eclipse EMF use class names (e.g. Package) that > clash with Java class names and there are cases that both of them > should be used frequently and using FQ names makes the source code > very verbose and ugly. > > It would be nice to be able to import a class under a desired name at > import time, e.g.: > > import java.util.Date : UDate; > import java.sql.Date : SDate; > > Some other languages support this feature and I think it's a small > coin-scale feature that would be nice to be added to Java. What do you > think? > > Cheers, > Behrang Saeedzadeh > http://www.behrang.org From kelly.ohair at oracle.com Thu Jul 14 17:52:04 2011 From: kelly.ohair at oracle.com (Kelly O'Hair) Date: Thu, 14 Jul 2011 17:52:04 -0700 Subject: Feature request: aliasing classes at import In-Reply-To: <4e1f873f.4ccfe30a.3517.2d16@mx.google.com> References: <4e1f873f.4ccfe30a.3517.2d16@mx.google.com> Message-ID: Kind of looks like C macros: #define UDate java.util.Date #define SDate java.sql.Date Oh, that would be bad right? Did someone say Java shall not have macros? ;^) -kto On Jul 14, 2011, at 5:17 PM, neugens.limasoftware at gmail.com wrote: > I king like this idea too, although the situations where this problem really occurs are probably limited and can be addressed by some simple factoring of the code, I think this could be a nice addition. > > Said that, I also see a high risk as drawback, in that this could provide a maintainance problem, making the code less readable and more difficult to follow without a proper IDE. > > Mario > -- > Sent from HTC Desire... > > pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF > Fingerprint: BA39 9666 94EC 8B73 27FA FC7C 4086 63E3 80F2 40CF > > http://www.icedrobot.org > > Proud GNU Classpath developer: http://www.classpath.org/ > Read About us at: http://planet.classpath.org > OpenJDK: http://openjdk.java.net/projects/caciocavallo/ > > Please, support open standards: > http://endsoftpatents.org/ > > > ----- Reply message ----- > Da: "Ivan Krylov" > Data: ven, lug 15, 2011 01:51 > Oggetto: Feature request: aliasing classes at import > A: > > I would not limit this than just to class names but rather expand idea > of selective alliasing to methods and fields. > > just my 0.02 > > On 7/10/11 6:02 AM, Behrang Saeedzadeh wrote: >> Hi, >> >> For a long time it was not very common to encounter a situation in >> which two classes with the same name but in different packages had to >> be imported and used frequently in the same file. In fact till >> recently the only case I used to encounter every now and then was when >> I had to import java.util.Date and java.sql.Date in the same class. >> >> However recently it's more likely to encounter a situation like this. >> Some libraries have annotations and classes that use the same name. >> Also some APIs such as Eclipse EMF use class names (e.g. Package) that >> clash with Java class names and there are cases that both of them >> should be used frequently and using FQ names makes the source code >> very verbose and ugly. >> >> It would be nice to be able to import a class under a desired name at >> import time, e.g.: >> >> import java.util.Date : UDate; >> import java.sql.Date : SDate; >> >> Some other languages support this feature and I think it's a small >> coin-scale feature that would be nice to be added to Java. What do you >> think? >> >> Cheers, >> Behrang Saeedzadeh >> http://www.behrang.org From benjamin.john.evans at gmail.com Thu Jul 14 23:17:31 2011 From: benjamin.john.evans at gmail.com (Ben Evans) Date: Fri, 15 Jul 2011 07:17:31 +0100 Subject: Feature request: aliasing classes at import In-Reply-To: References: <4e1f873f.4ccfe30a.3517.2d16@mx.google.com> Message-ID: On Fri, Jul 15, 2011 at 1:52 AM, Kelly O'Hair wrote: > > Kind of looks like C macros: > > #define UDate java.util.Date > #define SDate java.sql.Date > > Oh, that would be bad right? Did someone say Java shall not have macros? > ;^) > Well, in this case, I think the OP's intention was that these import aliases would be scoped to a single file, rather than global textual replacement. I think that it would be fine if all it does is provide an alternative, non-clashing short name for a class. This is very similar to a feature of Scala's import statement, by the way. Joe: What's the process for Java 8 Coin changes? Are we at a stage where you want actual proposals and strawman prototypes yet (assuming you're going to be carrying on the work you did for 7 in the JDK8 project)? Thanks, Ben From xuelei.fan at oracle.com Wed Jul 20 06:30:25 2011 From: xuelei.fan at oracle.com (Xuelei Fan) Date: Wed, 20 Jul 2011 21:30:25 +0800 Subject: Code review request: 7068662 Reserve and restore the default locale Message-ID: <4E26D871.6020609@oracle.com> Hi, There are a few regression tests that do not reserve and restore the default locale. As will result in unexpected impact on other tests that depends on the default locale. This fix try to reserve and restore the default locale in regression tests under jdk/test folder. The fix includes update in: test/com/sun/org/apache/xml test/java/beans test/java/io test/java/net test/java/util test/javax/crypto test/javax/swing test/sun/security test/sun/text test/sun/util webrev: http://cr.openjdk.java.net/~xuelei/7068662.open/webrev.00/ Thanks, Xuelei From xuelei.fan at oracle.com Wed Jul 20 19:46:48 2011 From: xuelei.fan at oracle.com (Xuelei Fan) Date: Thu, 21 Jul 2011 10:46:48 +0800 Subject: Code review request: 7068662 Reserve and restore the default locale In-Reply-To: <4E26D871.6020609@oracle.com> References: <4E26D871.6020609@oracle.com> Message-ID: <4E279318.2000702@oracle.com> updated webrev: http://cr.openjdk.java.net/~xuelei/7068662.open/webrev.00/ updated test/java/util/jar/JarFile/TurkCert.java, to close the resource with try-with-resources statements. Thanks, Xuelei On 7/20/2011 9:30 PM, Xuelei Fan wrote: > Hi, > > There are a few regression tests that do not reserve and restore the > default locale. As will result in unexpected impact on other tests that > depends on the default locale. This fix try to reserve and restore > the default locale in regression tests under jdk/test folder. > > The fix includes update in: > test/com/sun/org/apache/xml > test/java/beans > test/java/io > test/java/net > test/java/util > test/javax/crypto > test/javax/swing > test/sun/security > test/sun/text > test/sun/util > > webrev: http://cr.openjdk.java.net/~xuelei/7068662.open/webrev.00/ > > Thanks, > Xuelei From xuelei.fan at oracle.com Wed Jul 20 19:48:14 2011 From: xuelei.fan at oracle.com (Xuelei Fan) Date: Thu, 21 Jul 2011 10:48:14 +0800 Subject: Code review request: 7068662 Reserve and restore the default locale In-Reply-To: <4E279318.2000702@oracle.com> References: <4E26D871.6020609@oracle.com> <4E279318.2000702@oracle.com> Message-ID: <4E27936E.4090001@oracle.com> On 7/21/2011 10:46 AM, Xuelei Fan wrote: > updated webrev: http://cr.openjdk.java.net/~xuelei/7068662.open/webrev.00/ typo: http://cr.openjdk.java.net/~xuelei/7068662.open/webrev.01/ Xuelei > > updated test/java/util/jar/JarFile/TurkCert.java, to close the resource > with try-with-resources statements. > > Thanks, > Xuelei > > On 7/20/2011 9:30 PM, Xuelei Fan wrote: >> Hi, >> >> There are a few regression tests that do not reserve and restore the >> default locale. As will result in unexpected impact on other tests that >> depends on the default locale. This fix try to reserve and restore >> the default locale in regression tests under jdk/test folder. >> >> The fix includes update in: >> test/com/sun/org/apache/xml >> test/java/beans >> test/java/io >> test/java/net >> test/java/util >> test/javax/crypto >> test/javax/swing >> test/sun/security >> test/sun/text >> test/sun/util >> >> webrev: http://cr.openjdk.java.net/~xuelei/7068662.open/webrev.00/ >> >> Thanks, >> Xuelei > From Alan.Bateman at oracle.com Wed Jul 20 21:21:08 2011 From: Alan.Bateman at oracle.com (Alan Bateman) Date: Thu, 21 Jul 2011 05:21:08 +0100 Subject: Code review request: 7068662 Reserve and restore the default locale In-Reply-To: <4E26D871.6020609@oracle.com> References: <4E26D871.6020609@oracle.com> Message-ID: <4E27A934.5030508@oracle.com> Xuelei Fan wrote: > Hi, > > There are a few regression tests that do not reserve and restore the > default locale. As will result in unexpected impact on other tests that > depends on the default locale. This fix try to reserve and restore > the default locale in regression tests under jdk/test folder. > > The fix includes update in: > test/com/sun/org/apache/xml > test/java/beans > test/java/io > test/java/net > test/java/util > test/javax/crypto > test/javax/swing > test/sun/security > test/sun/text > test/sun/util > > webrev: http://cr.openjdk.java.net/~xuelei/7068662.open/webrev.00/ > > Thanks, > Xuelei > Thanks for doing this as tests that don't restore the default locale can cause some hard to debug problems when running the tests in the same VM. I think your changes to test/java/util/jar/JarFile/TurkCert.java mean that we can remove the @run tag that is currently forcing it to run in its own VM. I see you've updated test/java/net/URLConnection/SetIfModifiedSince.java. I'm not sure if I'm reading that test correctly but it looks like it will pass even if there is a problem. Minor nit in test/sun/util/resources/Locale/Bug4965260.java and test/sun/util/resources/TimeZone/Bug4640234.java is that they are using 2 space indenting whereas we use 4 spaces in java code. -Alan. From xuelei.fan at oracle.com Thu Jul 21 01:02:15 2011 From: xuelei.fan at oracle.com (Xuelei Fan) Date: Thu, 21 Jul 2011 16:02:15 +0800 Subject: Code review request: 7068662 Reserve and restore the default locale In-Reply-To: <4E27A934.5030508@oracle.com> References: <4E26D871.6020609@oracle.com> <4E27A934.5030508@oracle.com> Message-ID: <4E27DD07.1020801@oracle.com> new webrev: http://cr.openjdk.java.net/~xuelei/7068662.open/webrev.02/ On 7/21/2011 12:21 PM, Alan Bateman wrote: > Xuelei Fan wrote: >> Hi, >> >> There are a few regression tests that do not reserve and restore the >> default locale. As will result in unexpected impact on other tests that >> depends on the default locale. This fix try to reserve and restore >> the default locale in regression tests under jdk/test folder. >> >> The fix includes update in: >> test/com/sun/org/apache/xml >> test/java/beans >> test/java/io >> test/java/net >> test/java/util >> test/javax/crypto >> test/javax/swing >> test/sun/security >> test/sun/text >> test/sun/util >> >> webrev: http://cr.openjdk.java.net/~xuelei/7068662.open/webrev.00/ >> >> Thanks, >> Xuelei >> > Thanks for doing this as tests that don't restore the default locale can > cause some hard to debug problems when running the tests in the same VM. > > I think your changes to test/java/util/jar/JarFile/TurkCert.java mean > that we can remove the @run tag that is currently forcing it to run in > its own VM. > The @run tag is removed in the new webrev. > I see you've updated > test/java/net/URLConnection/SetIfModifiedSince.java. I'm not sure if I'm > reading that test correctly but it looks like it will pass even if there > is a problem. > There is no problem to pass the test. The problem is that it changes the default locale to Locale.JAPAN, as may impact the following test cases. > Minor nit in test/sun/util/resources/Locale/Bug4965260.java and > test/sun/util/resources/TimeZone/Bug4640234.java is that they are using > 2 space indenting whereas we use 4 spaces in java code. > Tidied up. Thanks, Xuelei > -Alan. > From chris.hegarty at oracle.com Thu Jul 21 02:14:18 2011 From: chris.hegarty at oracle.com (Chris Hegarty) Date: Thu, 21 Jul 2011 10:14:18 +0100 Subject: Code review request: 7068662 Reserve and restore the default locale In-Reply-To: <4E27DD07.1020801@oracle.com> References: <4E26D871.6020609@oracle.com> <4E27A934.5030508@oracle.com> <4E27DD07.1020801@oracle.com> Message-ID: <4E27EDEA.6040303@oracle.com> On 07/21/11 09:02 AM, Xuelei Fan wrote: > .... >> I see you've updated >> test/java/net/URLConnection/SetIfModifiedSince.java. I'm not sure if I'm >> reading that test correctly but it looks like it will pass even if there >> is a problem. >> > There is no problem to pass the test. The problem is that it changes the > default locale to Locale.JAPAN, as may impact the following test cases. I think what Alan is getting at there is that the test will never fail, even if the bug exists. This is because the test throws RuntimeException from a thread other than the main thread. This problem is not related to your changes, just an observation I guess. You can fix it while you're making changes in this area, or I can file a separate CR for this. To resolve the problem we will need to set an error condition when failure is detected and probably easiest to block the main thread until the server thread completes, server.join(). The sleeps can also be removed. hg diff SetIfModifiedSince.java diff -r 8bbea505b060 test/java/net/URLConnection/SetIfModifiedSince.java --- a/test/java/net/URLConnection/SetIfModifiedSince.java Mon Jul 18 22:25:58 2011 +0100 +++ b/test/java/net/URLConnection/SetIfModifiedSince.java Thu Jul 21 10:11:13 2011 +0100 @@ -32,42 +32,35 @@ import java.util.*; import java.util.*; public class SetIfModifiedSince { + static volatile boolean failed; static class XServer extends Thread { ServerSocket srv; - Socket s; - InputStream is; - OutputStream os; XServer (ServerSocket s) { srv = s; } - Socket getSocket () { - return (s); - } - public void run() { try { String x; - s = srv.accept (); - is = s.getInputStream (); - BufferedReader r = new BufferedReader(new InputStreamReader(is)); - os = s.getOutputStream (); - while ((x=r.readLine()) != null) { - String header = "If-Modified-Since: "; - if (x.startsWith(header)) { - if (x.charAt(header.length()) == '?') { - s.close (); - srv.close (); // or else the HTTPURLConnection will retry - throw new RuntimeException - ("Invalid HTTP date specification"); + Socket s = srv.accept (); + srv.close (); // or else the HTTPURLConnection will retry + + try (BufferedReader r = new BufferedReader(new InputStreamReader(s.getInputStream())); + OutputStream os = s.getOutputStream()) { + + while ((x=r.readLine()) != null) { + String header = "If-Modified-Since: "; + if (x.startsWith(header)) { + if (x.charAt(header.length()) == '?') { + failed = true; + } + break; } - break; } + s.close (); } - s.close (); - srv.close (); // or else the HTTPURLConnection will retry } catch (IOException e) {} } } @@ -79,14 +72,15 @@ public class SetIfModifiedSince { int port = serversocket.getLocalPort (); XServer server = new XServer (serversocket); server.start (); - Thread.sleep (2000); URL url = new URL ("http://localhost:"+port+"/index.html"); URLConnection urlc = url.openConnection (); urlc.setIfModifiedSince (10000000); InputStream is = urlc.getInputStream (); - int i=0, c; - Thread.sleep (5000); - } catch (Exception e) { + server.join(); + } catch (Exception e) { } + + if (failed) { + throw new RuntimeException("Invalid HTTP date specification"); } } } -Chris. >> Minor nit in test/sun/util/resources/Locale/Bug4965260.java and >> test/sun/util/resources/TimeZone/Bug4640234.java is that they are using >> 2 space indenting whereas we use 4 spaces in java code. >> > Tidied up. > > Thanks, > Xuelei > >> -Alan. >> > From Alan.Bateman at oracle.com Thu Jul 21 05:14:58 2011 From: Alan.Bateman at oracle.com (Alan Bateman) Date: Thu, 21 Jul 2011 13:14:58 +0100 Subject: Code review request: 7068662 Reserve and restore the default locale In-Reply-To: <4E27DD07.1020801@oracle.com> References: <4E26D871.6020609@oracle.com> <4E27A934.5030508@oracle.com> <4E27DD07.1020801@oracle.com> Message-ID: <4E281842.4030505@oracle.com> Xuelei Fan wrote: > new webrev: http://cr.openjdk.java.net/~xuelei/7068662.open/webrev.02/ > > > The updated webrev looks good to me and thanks again for fixing up all these tests. I see Chris has replied on test/java/net/URLConnection/SetIfModifiedSince.java. It was just an observation that this test appears to be broken and I see Chris has a fix already. It probably make sense to use a different bug to track this. -Alan From xuelei.fan at oracle.com Thu Jul 21 06:46:30 2011 From: xuelei.fan at oracle.com (Xuelei Fan) Date: Thu, 21 Jul 2011 21:46:30 +0800 Subject: Code review request: 7068662 Reserve and restore the default locale In-Reply-To: <4E27EDEA.6040303@oracle.com> References: <4E26D871.6020609@oracle.com> <4E27A934.5030508@oracle.com> <4E27DD07.1020801@oracle.com> <4E27EDEA.6040303@oracle.com> Message-ID: <4E282DB6.3030905@oracle.com> On 7/21/2011 5:14 PM, Chris Hegarty wrote: > > On 07/21/11 09:02 AM, Xuelei Fan wrote: >> .... >>> I see you've updated >>> test/java/net/URLConnection/SetIfModifiedSince.java. I'm not sure if I'm >>> reading that test correctly but it looks like it will pass even if there >>> is a problem. >>> >> There is no problem to pass the test. The problem is that it changes the >> default locale to Locale.JAPAN, as may impact the following test cases. > > I think what Alan is getting at there is that the test will never fail, > even if the bug exists. This is because the test throws RuntimeException > from a thread other than the main thread. This problem is not related to > your changes, just an observation I guess. > You are right. I did not look into the logic of the test. > You can fix it while you're making changes in this area, or I can file a > separate CR for this. > Would you please fill a new CR for this? So that this CR will only focus on locale issues. Thanks, Xuelei > To resolve the problem we will need to set an error condition when > failure is detected and probably easiest to block the main thread until > the server thread completes, server.join(). The sleeps can also be removed. > > hg diff SetIfModifiedSince.java > diff -r 8bbea505b060 test/java/net/URLConnection/SetIfModifiedSince.java > --- a/test/java/net/URLConnection/SetIfModifiedSince.java Mon Jul > 18 22:25:58 2011 +0100 > +++ b/test/java/net/URLConnection/SetIfModifiedSince.java Thu Jul > 21 10:11:13 2011 +0100 > @@ -32,42 +32,35 @@ import java.util.*; > import java.util.*; > > public class SetIfModifiedSince { > + static volatile boolean failed; > > static class XServer extends Thread { > ServerSocket srv; > - Socket s; > - InputStream is; > - OutputStream os; > > XServer (ServerSocket s) { > srv = s; > } > > - Socket getSocket () { > - return (s); > - } > - > public void run() { > try { > String x; > - s = srv.accept (); > - is = s.getInputStream (); > - BufferedReader r = new BufferedReader(new > InputStreamReader(is)); > - os = s.getOutputStream (); > - while ((x=r.readLine()) != null) { > - String header = "If-Modified-Since: "; > - if (x.startsWith(header)) { > - if (x.charAt(header.length()) == '?') { > - s.close (); > - srv.close (); // or else the > HTTPURLConnection will retry > - throw new RuntimeException > - ("Invalid HTTP date specification"); > + Socket s = srv.accept (); > + srv.close (); // or else the HTTPURLConnection will retry > + > + try (BufferedReader r = new BufferedReader(new > InputStreamReader(s.getInputStream())); > + OutputStream os = s.getOutputStream()) { > + > + while ((x=r.readLine()) != null) { > + String header = "If-Modified-Since: "; > + if (x.startsWith(header)) { > + if (x.charAt(header.length()) == '?') { > + failed = true; > + } > + break; > } > - break; > } > + s.close (); > } > - s.close (); > - srv.close (); // or else the HTTPURLConnection will retry > } catch (IOException e) {} > } > } > @@ -79,14 +72,15 @@ public class SetIfModifiedSince { > int port = serversocket.getLocalPort (); > XServer server = new XServer (serversocket); > server.start (); > - Thread.sleep (2000); > URL url = new URL ("http://localhost:"+port+"/index.html"); > URLConnection urlc = url.openConnection (); > urlc.setIfModifiedSince (10000000); > InputStream is = urlc.getInputStream (); > - int i=0, c; > - Thread.sleep (5000); > - } catch (Exception e) { > + server.join(); > + } catch (Exception e) { } > + > + if (failed) { > + throw new RuntimeException("Invalid HTTP date specification"); > } > } > } > > > -Chris. > >>> Minor nit in test/sun/util/resources/Locale/Bug4965260.java and >>> test/sun/util/resources/TimeZone/Bug4640234.java is that they are using >>> 2 space indenting whereas we use 4 spaces in java code. >>> >> Tidied up. >> >> Thanks, >> Xuelei >> >>> -Alan. >>> >> From tao.t.zhang at oracle.com Thu Jul 21 06:47:44 2011 From: tao.t.zhang at oracle.com (tao.t.zhang at oracle.com) Date: Thu, 21 Jul 2011 06:47:44 -0700 (PDT) Subject: Auto Reply: jdk8-dev Digest, Vol 3, Issue 9 Message-ID: This is an auto-replied message. I am taking this Thursday off, will be back to my office on Friday(07/22). 2D issues, please ask Tony. Others, please talk my manager Vita. From john_platts at hotmail.com Sat Jul 23 07:27:02 2011 From: john_platts at hotmail.com (John Platts) Date: Sat, 23 Jul 2011 09:27:02 -0500 Subject: Support for Windows 8 on ARM processors Message-ID: Microsoft plans on releasing Windows 8 for both x86 and ARM processors. A Java SE implementation is really needed on Windows 8 computers with ARM processors in order to run Java Applets, NetBeans platform, and Eclipse RCP applications. Which versions of the JDK will be supported on Windows 8 computers with ARM architecture processors? From erik.trimble at oracle.com Mon Jul 25 15:54:30 2011 From: erik.trimble at oracle.com (Erik Trimble) Date: Mon, 25 Jul 2011 15:54:30 -0700 Subject: Support for Windows 8 on ARM processors In-Reply-To: References: Message-ID: <1311634470.25855.33.camel@ghostbox> On Sat, 2011-07-23 at 09:27 -0500, John Platts wrote: > Microsoft plans on releasing Windows 8 for both x86 and ARM processors. A Java SE implementation is really needed on Windows 8 computers with ARM processors in order to run Java Applets, NetBeans platform, and Eclipse RCP applications. Which versions of the JDK will be supported on Windows 8 computers with ARM architecture processors? > BIG DISCLAIMER: Note that I in no way speak for Oracle on this matter, and no inference should be made on any Oracle commitment for any such statement herein, not am I making statements on privileged information. That said, Oracle JDK currently supports several other platforms *besides* the official OpenJDK platforms, and, vice-versa (i.e. there are platforms in OpenJDK which don't have Oracle JDK support). I would expect that *Oracle* JDK 8 will be supported on Windows 8/ARM. However, whether is work is kept private to Oracle or put into OpenJDK 8 is pure speculation on my part. Additionally, given that the time horizon for Windows 8/ARM is likely about the time that JDK 8 may ship, I would be surprised if W8/A is backported to a 7Update or 6Update - that is, my reading of the tea leaves says that W8/A support (either in OpenJDK or Oracle JDK) is likely only to be JDK 8 or later. -- Erik Trimble Java Platform Group - Infrastructure Mailstop: usca22-317 Phone: x67195 Santa Clara, CA Timezone: US/Pacific (UTC-0800) From erik.trimble at oracle.com Thu Jul 28 23:01:09 2011 From: erik.trimble at oracle.com (erik.trimble at oracle.com) Date: Fri, 29 Jul 2011 06:01:09 +0000 Subject: hg: jdk8/jdk8/jdk: 5 new changesets Message-ID: <20110729060158.98F2B477D1@hg.openjdk.java.net> Changeset: 6444b0a364d7 Author: jrose Date: 2011-06-14 22:47 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/6444b0a364d7 7054590: (JSR-292) MethodHandleProxies.asInterfaceInstance() accepts private/protected nested interfaces Summary: fix non-compliant logic in MethodHandleProxies, fix invalid private classes in MethodHandlesTest Reviewed-by: twisti, never ! src/share/classes/java/lang/invoke/MethodHandleProxies.java ! test/java/lang/invoke/MethodHandlesTest.java Changeset: 5f3cd0cbad56 Author: jrose Date: 2011-07-13 01:40 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/5f3cd0cbad56 Merge - src/share/classes/sun/misc/JavaxSecurityAuthKerberosAccess.java - test/sun/security/ssl/com/sun/net/ssl/internal/ssl/InputRecord/InterruptedIO.java Changeset: bfc5ec581c48 Author: jrose Date: 2011-07-16 15:40 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/bfc5ec581c48 7058630: JSR 292 method handle proxy violates contract for Object methods Reviewed-by: never, twisti ! src/share/classes/java/lang/invoke/MethodHandleProxies.java ! test/java/lang/invoke/MethodHandlesTest.java Changeset: 668edf27e9c7 Author: jrose Date: 2011-07-16 15:44 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/668edf27e9c7 7058651: JSR 292 unit tests need a refresh Summary: Enhancements to unit tests. Reviewed-by: never, twisti ! test/java/lang/invoke/JavaDocExamplesTest.java ! test/java/lang/invoke/MethodHandlesTest.java ! test/java/lang/invoke/RicochetTest.java + test/java/lang/invoke/ThrowExceptionsTest.java Changeset: b42029cd1744 Author: jrose Date: 2011-07-16 15:47 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/b42029cd1744 6983728: JSR 292 remove argument count limitations Summary: Remove workarounds and limitations from before 6939861. Reviewed-by: never ! src/share/classes/java/lang/invoke/AdapterMethodHandle.java - src/share/classes/java/lang/invoke/FilterGeneric.java - src/share/classes/java/lang/invoke/FilterOneArgument.java - src/share/classes/java/lang/invoke/FromGeneric.java ! src/share/classes/java/lang/invoke/MethodHandleImpl.java ! src/share/classes/java/lang/invoke/MethodHandleNatives.java ! src/share/classes/java/lang/invoke/MethodHandles.java ! src/share/classes/java/lang/invoke/MethodTypeForm.java - src/share/classes/java/lang/invoke/SpreadGeneric.java - src/share/classes/java/lang/invoke/ToGeneric.java From erik.trimble at oracle.com Thu Jul 28 23:06:35 2011 From: erik.trimble at oracle.com (erik.trimble at oracle.com) Date: Fri, 29 Jul 2011 06:06:35 +0000 Subject: hg: jdk8/jdk8/hotspot: 82 new changesets Message-ID: <20110729060901.E8728477D3@hg.openjdk.java.net> Changeset: 2b27ef5c2173 Author: kvn Date: 2011-05-20 12:46 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/2b27ef5c2173 7046096: SEGV IN C2 WITH 6U25 Summary: Missing fail flag set in strings concatenation code. Reviewed-by: never ! src/share/vm/opto/stringopts.cpp Changeset: cfbca4d74a61 Author: jcoomes Date: 2011-05-20 22:27 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/cfbca4d74a61 Merge Changeset: 789d04408ca3 Author: kvn Date: 2011-05-21 11:44 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/789d04408ca3 7045693: java/util/EnumSet/EnumSetBash.java still failing intermittently Summary: New limit for unrolled loop should be set only for zero trip guard and loop iteration test. Reviewed-by: never ! src/share/vm/opto/loopTransform.cpp Changeset: b55f5bd7ec66 Author: kvn Date: 2011-05-21 13:59 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/b55f5bd7ec66 7045506: assert(!can_reshape || !new_phi) failed: for igvn new phi should be hooked Summary: Replace the assert in PhiNode::Ideal with check to avoid transformation of new phi. Reviewed-by: never ! src/share/vm/opto/cfgnode.cpp Changeset: 7523488edce5 Author: kvn Date: 2011-05-24 12:54 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/7523488edce5 7047300: VM crashes with assert(_base == InstPtr) failed: Not an object pointer Summary: The code incorrectly used is_instptr() instead of is_oopptr() to get const_oop. Reviewed-by: never ! src/share/vm/opto/output.cpp Changeset: ccf072cdba91 Author: iveresov Date: 2011-05-24 15:30 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/ccf072cdba91 7046893: LP64 problem with double_quadword in c1_LIRAssembler_x86.cpp Summary: Fixed invalid casts in address computation Reviewed-by: kvn, never Contributed-by: thomas.salter at unisys.com ! src/cpu/x86/vm/c1_LIRAssembler_x86.cpp Changeset: 28a9fe9534ea Author: kvn Date: 2011-05-24 20:24 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/28a9fe9534ea 7048030: is_scavengable changes causing compiler to embed more constants Summary: ciObject::can_be_constant() and should_be_constant() should use is_perm() instead of !is_scavengable() Reviewed-by: never, jrose ! src/share/vm/ci/ciObject.cpp ! src/share/vm/ci/ciObject.hpp Changeset: 7db2b9499c36 Author: never Date: 2011-05-25 16:04 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/7db2b9499c36 7046732: JSR 292 assert(result == cpce->f1()) failed: expected result for assembly code Reviewed-by: kvn, iveresov, jrose ! src/share/vm/interpreter/interpreterRuntime.cpp Changeset: c7c81f18c834 Author: kvn Date: 2011-05-25 21:17 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/c7c81f18c834 7048332: Cadd_cmpLTMask doesn't handle 64-bit tmp register properly Summary: Use ins_encode %{ %} form to encode cadd_cmpLTMask() instruction and remove unused code. Reviewed-by: never ! src/cpu/x86/vm/x86_64.ad + test/compiler/7048332/Test7048332.java Changeset: 28263a73ebfb Author: iveresov Date: 2011-05-26 13:15 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/28263a73ebfb 7047491: C1: registers saved incorrectly when calling checkcast_arraycopy stub Summary: Save and restore the argument registers around the call to checkcast_arraycopy Reviewed-by: never, roland ! src/cpu/x86/vm/c1_LIRAssembler_x86.cpp Changeset: 5ac411b3b8fc Author: never Date: 2011-05-26 14:44 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/5ac411b3b8fc 7047961: JSR 292 MethodHandleWalk swap args doesn't handle T_LONG and T_DOUBLE properly Reviewed-by: kvn, jrose ! src/share/vm/prims/methodHandleWalk.cpp ! src/share/vm/prims/methodHandleWalk.hpp ! src/share/vm/prims/methodHandles.cpp Changeset: c76c13577460 Author: never Date: 2011-05-26 16:39 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/c76c13577460 Merge Changeset: b2cb497dec28 Author: kvn Date: 2011-05-27 12:47 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/b2cb497dec28 7047069: Array can dynamically change size when assigned to an object field Summary: Fix initialization of a newly-allocated array with arraycopy Reviewed-by: never ! src/share/vm/opto/library_call.cpp + test/compiler/7047069/Test7047069.java Changeset: 33e2b8f1d466 Author: kvn Date: 2011-05-31 10:05 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/33e2b8f1d466 6956668: misbehavior of XOR operator (^) with int Summary: optimize cmp_ne(xor(X,1),0) to cmp_eq(X,0) only for boolean values X. Reviewed-by: never ! src/share/vm/opto/subnode.cpp + test/compiler/6956668/Test6956668.java Changeset: 60b8287df30e Author: jrose Date: 2011-06-01 23:25 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/60b8287df30e 7049415: Failure of resolution of sym.reference to the c.s.s. should be wrapped in BootstrapMethodError Summary: Delegate invokedynamic linkage errors to MethodHandleNatives.raiseException. Reviewed-by: never ! src/share/vm/classfile/systemDictionary.hpp ! src/share/vm/classfile/vmSymbols.hpp ! src/share/vm/interpreter/linkResolver.cpp ! src/share/vm/prims/methodHandles.cpp ! src/share/vm/prims/methodHandles.hpp Changeset: a93146d0e4be Author: jrose Date: 2011-06-01 23:25 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/a93146d0e4be 7049410: JSR 292 old method name MethodHandle.invokeGeneric should not be accepted by the JVM Summary: change the default setting of the flag AllowInvokeGeneric to false Reviewed-by: never ! src/share/vm/runtime/globals.hpp Changeset: 537a4053b0f9 Author: ysr Date: 2011-05-23 16:42 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/537a4053b0f9 7042740: CMS: assert(n> q) failed: Looping at: ... blockOffsetTable.cpp:557 Summary: Do a one-step look-ahead, when sweeping free or garbage blocks, to avoid overstepping sweep limit, which may become a non-block-boundary because of a heap expansion delta coalescing with a previously co-terminal free block. Reviewed-by: brutisso, tonyp ! src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp ! src/share/vm/memory/blockOffsetTable.cpp Changeset: f153114134c8 Author: jcoomes Date: 2011-06-07 13:17 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/f153114134c8 Merge Changeset: d3b9f2be46ab Author: coleenp Date: 2011-05-21 15:39 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/d3b9f2be46ab 7033141: assert(has_cp_cache(i)) failed: oob Summary: Unrewrite bytecodes for OOM error allocating the constant pool cache. Reviewed-by: dcubed, acorn, never ! src/share/vm/interpreter/rewriter.cpp ! src/share/vm/interpreter/rewriter.hpp ! src/share/vm/oops/instanceKlass.cpp ! src/share/vm/oops/instanceKlass.hpp ! src/share/vm/oops/methodOop.cpp ! src/share/vm/prims/jvmtiRedefineClasses.cpp ! src/share/vm/prims/methodHandleWalk.cpp Changeset: 9dd6c4ba364f Author: coleenp Date: 2011-06-02 14:17 -0400 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/9dd6c4ba364f 7049928: VM crashes with "assert(_adapter != NULL) failed: must have" at methodOop.cpp:63 Summary: Removed extra change from another bug fix that caused this regression Reviewed-by: phh, dcubed, kvn, kamg, never ! src/share/vm/oops/methodOop.cpp Changeset: 96c891ebe56a Author: coleenp Date: 2011-06-02 21:01 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/96c891ebe56a Merge ! src/share/vm/prims/methodHandleWalk.cpp Changeset: ae1d716e395c Author: dsamersoff Date: 2011-06-09 01:33 +0400 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/ae1d716e395c Merge Changeset: f918d6096e23 Author: never Date: 2011-06-02 13:36 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/f918d6096e23 7050554: JSR 292 - need optimization for selectAlternative Reviewed-by: kvn, jrose ! src/share/vm/ci/ciCallProfile.hpp ! src/share/vm/ci/ciMethodHandle.cpp ! src/share/vm/ci/ciMethodHandle.hpp ! src/share/vm/compiler/compileBroker.cpp ! src/share/vm/opto/callGenerator.cpp ! src/share/vm/opto/callGenerator.hpp ! src/share/vm/opto/doCall.cpp Changeset: cba7b5c2d53f Author: never Date: 2011-06-03 22:31 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/cba7b5c2d53f 7045514: SPARC assembly code for JSR 292 ricochet frames Reviewed-by: kvn, jrose ! src/cpu/sparc/vm/assembler_sparc.cpp ! src/cpu/sparc/vm/assembler_sparc.hpp ! src/cpu/sparc/vm/assembler_sparc.inline.hpp ! src/cpu/sparc/vm/frame_sparc.cpp ! src/cpu/sparc/vm/methodHandles_sparc.cpp + src/cpu/sparc/vm/methodHandles_sparc.hpp ! src/cpu/sparc/vm/registerMap_sparc.hpp ! src/cpu/sparc/vm/runtime_sparc.cpp ! src/cpu/sparc/vm/sharedRuntime_sparc.cpp ! src/cpu/sparc/vm/stubRoutines_sparc.hpp ! src/cpu/sparc/vm/templateInterpreter_sparc.cpp ! src/cpu/x86/vm/assembler_x86.cpp ! src/cpu/x86/vm/methodHandles_x86.cpp ! src/cpu/x86/vm/methodHandles_x86.hpp ! src/cpu/x86/vm/runtime_x86_32.cpp ! src/cpu/x86/vm/sharedRuntime_x86_32.cpp ! src/cpu/x86/vm/sharedRuntime_x86_64.cpp ! src/cpu/x86/vm/stubRoutines_x86_32.hpp ! src/cpu/x86/vm/stubRoutines_x86_64.hpp ! src/share/vm/compiler/oopMap.cpp ! src/share/vm/opto/runtime.cpp ! src/share/vm/prims/methodHandleWalk.cpp ! src/share/vm/prims/methodHandleWalk.hpp ! src/share/vm/prims/methodHandles.cpp ! src/share/vm/prims/methodHandles.hpp ! src/share/vm/runtime/sharedRuntime.cpp ! src/share/vm/runtime/sharedRuntime.hpp Changeset: 642c68c75db9 Author: kvn Date: 2011-06-04 10:36 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/642c68c75db9 7050280: assert(u->as_Unlock()->is_eliminated()) failed: sanity Summary: Mark all associated (same box and obj) lock and unlock nodes for elimination if some of them marked already. Reviewed-by: iveresov, never ! src/share/vm/opto/escape.cpp ! src/share/vm/opto/macro.cpp ! src/share/vm/opto/macro.hpp Changeset: 5cf771a79037 Author: jrose Date: 2011-06-08 17:04 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/5cf771a79037 7047697: MethodHandle.invokeExact call for wrong method causes VM failure if run with -Xcomp Reviewed-by: never, twisti ! src/cpu/x86/vm/assembler_x86.cpp ! src/cpu/x86/vm/assembler_x86.hpp ! src/cpu/x86/vm/frame_x86.inline.hpp ! src/cpu/x86/vm/methodHandles_x86.cpp ! src/share/vm/code/pcDesc.cpp Changeset: c8f2186acf6d Author: twisti Date: 2011-06-14 12:25 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/c8f2186acf6d 7053520: JSR292: crash in invokedynamic with C1 using tiered and compressed oops Reviewed-by: iveresov, never ! src/share/vm/c1/c1_LIRGenerator.cpp Changeset: f8c9417e3571 Author: never Date: 2011-06-14 14:41 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/f8c9417e3571 7052219: JSR 292: Crash in ~BufferBlob::MethodHandles adapters Reviewed-by: twisti, kvn, jrose ! src/cpu/sparc/vm/methodHandles_sparc.cpp ! src/cpu/x86/vm/methodHandles_x86.cpp ! src/share/vm/prims/methodHandleWalk.cpp ! src/share/vm/prims/methodHandles.cpp ! src/share/vm/prims/methodHandles.hpp ! src/share/vm/runtime/globals.hpp ! src/share/vm/runtime/stubCodeGenerator.cpp ! src/share/vm/runtime/stubCodeGenerator.hpp Changeset: e2ce15aa3daf Author: never Date: 2011-06-14 15:20 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/e2ce15aa3daf Merge Changeset: cfcf2ba8f3eb Author: never Date: 2011-06-15 10:20 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/cfcf2ba8f3eb Merge ! src/share/vm/prims/methodHandleWalk.cpp Changeset: e2af886d540b Author: trims Date: 2011-07-01 13:07 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/e2af886d540b 7061691: Fork HS21 to HS22 - renumber Minor and build numbers of JVM Summary: Update the Minor and Build numbers for HS22 fork Reviewed-by: jcoomes ! make/hotspot_version Changeset: 1e3493ac2d11 Author: ysr Date: 2011-05-27 10:23 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/1e3493ac2d11 7048342: CMS: eob == _limit || fc->isFree() failed: Only a free chunk should allow us to cross over the limit Summary: The freeness bit was being cleared in debug code when it shouldn't have been. Also removed unused FreeChunk methods linkAfterNonNull and clearPrev. Reviewed-by: brutisso ! src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.cpp ! src/share/vm/gc_implementation/concurrentMarkSweep/freeChunk.hpp Changeset: 5c0a3c1858b1 Author: ysr Date: 2011-06-02 10:23 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/5c0a3c1858b1 7048782: CMS: assert(last_chunk_index_to_check<= last_chunk_index) failed: parCardTableModRefBS.cpp:359 Summary: The LNC array is sized before the start of a scavenge, while the heap may expand during a scavenge. With CMS, the last block of an arbitrary suffice of the LNC array may expand due to coalition with the expansion delta. We now take care not to attempt access past the end of the LNC array. LNC array code will be cleaned up and suitably encapsulated as part of the forthcoming performance RFE 7043675. Reviewed-by: brutisso ! src/share/vm/gc_implementation/parNew/parCardTableModRefBS.cpp Changeset: e66f38dd58a9 Author: ysr Date: 2011-06-08 08:39 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/e66f38dd58a9 Merge Changeset: 053d84a76d3d Author: tonyp Date: 2011-06-08 15:31 -0400 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/053d84a76d3d 7032531: G1: enhance GC logging to include more accurate eden / survivor size transitions Summary: This changeset extends the logging information generated by +PrintGCDetails to also print out separate size transitions for the eden, survivors, and old regions. Reviewed-by: ysr, brutisso ! 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/g1CollectorPolicy.hpp Changeset: ae5b2f1dcf12 Author: tonyp Date: 2011-06-08 21:48 -0400 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/ae5b2f1dcf12 7045662: G1: OopsInHeapRegionClosure::set_region() should not be virtual Summary: make the method non-virtual, remove five unused closures, and fix a couple of copyright typos. Reviewed-by: stefank, johnc, poonam ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp ! src/share/vm/gc_implementation/g1/g1OopClosures.hpp ! src/share/vm/gc_implementation/g1/g1OopClosures.inline.hpp ! src/share/vm/gc_implementation/g1/g1RemSet.cpp ! src/share/vm/gc_implementation/g1/g1_specialized_oop_closures.hpp ! src/share/vm/gc_implementation/g1/heapRegionSet.hpp ! src/share/vm/gc_implementation/g1/heapRegionSets.hpp Changeset: c3f1170908be Author: tonyp Date: 2011-06-10 13:16 -0400 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/c3f1170908be 7045330: G1: Simplify/fix the HeapRegionSeq class 7042285: G1: native memory leak during humongous object allocation 6804436: G1: heap region indices should be size_t Summary: A series of fixes and improvements to the HeapRegionSeq class: a) replace the _regions growable array with a standard C array, b) avoid de-allocating / re-allocating HeapRegion instances when the heap shrinks / grows (fix for 7042285), c) introduce fast method to map address to HeapRegion via a "biased" array pointer, d) embed the _hrs object in G1CollectedHeap, instead of pointing to it via an indirection, e) assume that all the regions added to the HeapRegionSeq instance are contiguous, f) replace int's with size_t's for indexes (and expand that to HeapRegion as part of 6804436), g) remove unnecessary / unused methods, h) rename a couple of fields (_alloc_search_start and _seq_bottom), i) fix iterate_from() not to always start from index 0 irrespective of the region passed to it, j) add a verification method to check the HeapRegionSeq assumptions, k) always call the wrappers for _hrs.iterate(), _hrs_length(), and _hrs.at() from G1CollectedHeap, not those methods di rectly, and l) unify the code that expands the sequence (by either re-using or creating a new HeapRegion) and make it robust wrt to a HeapRegion allocation failing. Reviewed-by: stefank, johnc, brutisso ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.inline.hpp ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp ! src/share/vm/gc_implementation/g1/heapRegion.cpp ! src/share/vm/gc_implementation/g1/heapRegion.hpp ! src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp ! src/share/vm/gc_implementation/g1/heapRegionSeq.cpp ! src/share/vm/gc_implementation/g1/heapRegionSeq.hpp ! src/share/vm/gc_implementation/g1/heapRegionSeq.inline.hpp ! src/share/vm/gc_implementation/g1/sparsePRT.cpp Changeset: 2a241e764894 Author: minqi Date: 2011-06-10 15:08 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/2a241e764894 6941923: RFE: Handling large log files produced by long running Java Applications Summary: supply optinal flags to realize gc log rotation Reviewed-by: ysr, jwilhelm ! src/share/vm/gc_implementation/shared/concurrentGCThread.cpp ! src/share/vm/gc_implementation/shared/concurrentGCThread.hpp ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/atomic.cpp ! src/share/vm/runtime/atomic.hpp ! src/share/vm/runtime/globals.hpp ! src/share/vm/runtime/safepoint.cpp ! src/share/vm/utilities/ostream.cpp ! src/share/vm/utilities/ostream.hpp + test/gc/6941923/test6941923.sh Changeset: 42df21744b50 Author: minqi Date: 2011-06-10 15:44 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/42df21744b50 Merge Changeset: ef2d1b8f2dd4 Author: ysr Date: 2011-06-13 09:58 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/ef2d1b8f2dd4 7051430: CMS: ongoing CMS cycle should terminate abruptly to allow prompt JVM termination at exit Summary: It turns out that there is no need to explicitly stop CMS since the JVM is taken down at a terminal safepoint during which CMS threads are (terminally) inactive. This will need to be revised if and when we evolve in the future to a point where we allow JVM reincarnation in the same process, but those changes will be much more sweeping than just terminating CMS threads. The unused ::stop() methods will be removed in a separate CR. Also include in this CR is the fix for a small typo in the spelling of UseGCLogFileRotation in a message in arguments.cpp, brought to our attention by Rainer Jung and reviewed by minqi. Reviewed-by: johnc, jwilhelm ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/java.cpp ! src/share/vm/runtime/thread.cpp Changeset: 74cd10898bea Author: brutisso Date: 2011-06-13 13:48 +0200 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/74cd10898bea 6918185: Remove unused code for lost card-marking optimization in BacktraceBuilder Summary: Removed dead code Reviewed-by: ysr, coleenp, dholmes ! src/share/vm/classfile/javaClasses.cpp Changeset: 842b840e67db Author: tonyp Date: 2011-06-14 10:33 -0400 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/842b840e67db 7046558: G1: concurrent marking optimizations Summary: Some optimizations to improve the concurrent marking phase: specialize the main oop closure, make sure a few methods in the fast path are properly inlined, a few more bits and pieces, and some cosmetic fixes. Reviewed-by: stefank, johnc ! src/share/vm/gc_implementation/g1/concurrentMark.cpp ! src/share/vm/gc_implementation/g1/concurrentMark.hpp + src/share/vm/gc_implementation/g1/concurrentMark.inline.hpp ! src/share/vm/gc_implementation/g1/g1OopClosures.hpp ! src/share/vm/gc_implementation/g1/g1OopClosures.inline.hpp ! src/share/vm/gc_implementation/g1/g1_specialized_oop_closures.hpp ! src/share/vm/utilities/bitMap.hpp Changeset: 6747fd0512e0 Author: johnc Date: 2011-06-14 11:01 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/6747fd0512e0 7004681: G1: Extend marking verification to Full GCs Summary: Perform a heap verification after the first phase of G1's full GC using objects' mark words to determine liveness. The third parameter of the heap verification routines, which was used in G1 to determine which marking bitmap to use in liveness calculations, has been changed from a boolean to an enum with values defined for using the mark word, and the 'prev' and 'next' bitmaps. Reviewed-by: tonyp, ysr ! src/share/vm/gc_implementation/g1/concurrentMark.cpp ! src/share/vm/gc_implementation/g1/concurrentMark.hpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp ! src/share/vm/gc_implementation/g1/g1MarkSweep.cpp ! src/share/vm/gc_implementation/g1/heapRegion.cpp ! src/share/vm/gc_implementation/g1/heapRegion.hpp ! src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.cpp ! src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.hpp ! src/share/vm/gc_interface/collectedHeap.hpp ! src/share/vm/memory/genCollectedHeap.cpp ! src/share/vm/memory/genCollectedHeap.hpp ! src/share/vm/memory/universe.cpp ! src/share/vm/memory/universe.hpp Changeset: 5130fa1b24f1 Author: johnc Date: 2011-06-15 10:18 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/5130fa1b24f1 7045751: G1: +ExplicitGCInvokesConcurrent causes excessive single region evacuation pauses Summary: When ExplicitGCInvokesConcurrent is enabled, do not perform an evacuation pause if a marking cycle is already in progress and block the requesting thread until the marking cycle completes. Reviewed-by: tonyp, ysr ! src/share/vm/gc_implementation/g1/vm_operations_g1.cpp Changeset: c9ca3f51cf41 Author: tonyp Date: 2011-06-16 15:51 -0400 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/c9ca3f51cf41 6994322: Remove the is_tlab and is_noref / is_large_noref parameters from the CollectedHeap Summary: Remove two unused parameters from the mem_allocate() method and update its uses accordingly. Reviewed-by: stefank, johnc ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp ! src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.cpp ! src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.hpp ! src/share/vm/gc_implementation/parallelScavenge/psOldGen.cpp ! src/share/vm/gc_implementation/parallelScavenge/psOldGen.hpp ! src/share/vm/gc_implementation/parallelScavenge/psPermGen.cpp ! src/share/vm/gc_implementation/parallelScavenge/psYoungGen.hpp ! src/share/vm/gc_implementation/parallelScavenge/vmPSOperations.cpp ! src/share/vm/gc_implementation/parallelScavenge/vmPSOperations.hpp ! src/share/vm/gc_interface/collectedHeap.hpp ! src/share/vm/gc_interface/collectedHeap.inline.hpp ! src/share/vm/memory/collectorPolicy.cpp ! src/share/vm/memory/collectorPolicy.hpp ! src/share/vm/memory/genCollectedHeap.cpp ! src/share/vm/memory/genCollectedHeap.hpp ! src/share/vm/oops/typeArrayKlass.cpp Changeset: f75137faa7fe Author: ysr Date: 2011-06-20 09:42 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/f75137faa7fe 6916968: CMS: freeList.cpp:304 assert(_allocation_stats.prevSweep() + ..., "Conservation Principle") Summary: Fix assert and adjust demand volume computation by adding missing factor. Reviewed-by: jmasa, tonyp ! src/share/vm/gc_implementation/concurrentMarkSweep/freeList.cpp ! src/share/vm/gc_implementation/shared/allocationStats.hpp Changeset: 23d434c6290d Author: tonyp Date: 2011-06-20 22:03 -0400 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/23d434c6290d 7055073: G1: code cleanup in the concurrentMark.* files Summary: Only cosmetic changes to make the concurrentMark.* more consistent, code-style-wise, with the rest of the codebase. Reviewed-by: johnc, ysr ! src/share/vm/gc_implementation/g1/concurrentMark.cpp ! src/share/vm/gc_implementation/g1/concurrentMark.hpp ! src/share/vm/gc_implementation/g1/concurrentMark.inline.hpp Changeset: e8b0b0392037 Author: tonyp Date: 2011-06-21 15:23 -0400 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/e8b0b0392037 7046182: G1: remove unnecessary iterations over the collection set Summary: Remove two unnecessary iterations over the collection set which are supposed to prepare the RSet's of the CSet regions for parallel iterations (we'll make sure this is done incrementally). I'll piggyback on this CR the removal of the G1_REM_SET_LOGGING code. Reviewed-by: brutisso, johnc ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp ! src/share/vm/gc_implementation/g1/g1RemSet.cpp ! src/share/vm/gc_implementation/g1/g1RemSet.hpp ! src/share/vm/gc_implementation/g1/g1RemSet.inline.hpp ! src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp ! src/share/vm/gc_implementation/g1/heapRegionRemSet.hpp ! src/share/vm/gc_implementation/g1/heapRegionSets.cpp ! src/share/vm/gc_implementation/g1/heapRegionSets.hpp Changeset: 5f6f2615433a Author: tonyp Date: 2011-06-24 12:38 -0400 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/5f6f2615433a 7049999: G1: Make the G1PrintHeapRegions output consistent and complete Summary: Extend and make more consistent the output from the G1PrintHeapRegions flag. Reviewed-by: johnc, jmasa ! 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/g1HRPrinter.cpp + src/share/vm/gc_implementation/g1/g1HRPrinter.hpp Changeset: 04760e41b01e Author: brutisso Date: 2011-06-28 14:23 +0200 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/04760e41b01e 7016112: CMS: crash during promotion testing Summary: Also reviewed by mikael.gerdin at oracle.com; stdlib:qsort() does byte-by-byte swapping on Windows. This leads to pointer shearing. Fix is to implement a quicksort that does full pointer updates. Reviewed-by: never, coleenp, ysr ! src/share/vm/oops/methodOop.cpp ! src/share/vm/prims/jni.cpp ! src/share/vm/runtime/globals.hpp + src/share/vm/utilities/quickSort.cpp + src/share/vm/utilities/quickSort.hpp Changeset: 4bf3cbef0b3e Author: jcoomes Date: 2011-07-06 08:43 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/4bf3cbef0b3e Merge ! src/share/vm/oops/methodOop.cpp ! src/share/vm/runtime/globals.hpp Changeset: d83ac25d0304 Author: never Date: 2011-06-16 13:46 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/d83ac25d0304 7055355: JSR 292: crash while throwing WrongMethodTypeException Reviewed-by: jrose, twisti, bdelsart ! src/cpu/sparc/vm/methodHandles_sparc.cpp ! src/cpu/sparc/vm/stubGenerator_sparc.cpp ! src/cpu/sparc/vm/templateInterpreter_sparc.cpp ! src/cpu/x86/vm/methodHandles_x86.cpp ! src/cpu/x86/vm/stubGenerator_x86_32.cpp ! src/cpu/x86/vm/stubGenerator_x86_64.cpp ! src/cpu/x86/vm/templateInterpreter_x86_32.cpp ! src/cpu/x86/vm/templateInterpreter_x86_64.cpp ! src/cpu/zero/vm/cppInterpreter_zero.cpp ! src/share/vm/interpreter/interpreterRuntime.cpp ! src/share/vm/interpreter/interpreterRuntime.hpp ! src/share/vm/interpreter/templateInterpreter.cpp ! src/share/vm/interpreter/templateInterpreterGenerator.hpp ! src/share/vm/prims/methodHandles.cpp ! src/share/vm/runtime/sharedRuntime.cpp ! src/share/vm/runtime/sharedRuntime.hpp ! src/share/vm/runtime/stubRoutines.cpp ! src/share/vm/runtime/stubRoutines.hpp Changeset: aacaff365100 Author: kvn Date: 2011-06-20 16:45 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/aacaff365100 7052494: Eclipse test fails on JDK 7 b142 Summary: Keep 'ne' test in Counted loop when we can't guarantee during compilation that init < limit. Reviewed-by: never ! src/share/vm/opto/loopTransform.cpp ! src/share/vm/opto/loopnode.cpp + test/compiler/7052494/Test7052494.java Changeset: de6a837d75cf Author: never Date: 2011-06-21 09:04 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/de6a837d75cf 7056380: VM crashes with SIGSEGV in compiled code Summary: code was using andq reg, imm instead of addq addr, imm Reviewed-by: kvn, jrose, twisti ! src/cpu/x86/vm/assembler_x86.cpp ! src/cpu/x86/vm/assembler_x86.hpp ! src/cpu/x86/vm/x86_64.ad Changeset: aabf25fa3f05 Author: never Date: 2011-06-22 14:45 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/aabf25fa3f05 7057587: JSR 292 - crash with jruby in test/test_respond_to.rb Summary: don't skip receiver when GC'ing compiled invokedynamic callsites Reviewed-by: twisti, kvn, jrose ! src/share/vm/code/nmethod.cpp ! src/share/vm/opto/bytecodeInfo.cpp ! src/share/vm/opto/doCall.cpp ! src/share/vm/opto/parse.hpp Changeset: ddd894528dbc Author: jrose Date: 2011-06-23 17:14 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/ddd894528dbc 7056328: JSR 292 invocation sometimes fails in adapters for types not on boot class path Reviewed-by: never ! src/cpu/sparc/vm/templateTable_sparc.cpp ! src/cpu/x86/vm/templateTable_x86_32.cpp ! src/cpu/x86/vm/templateTable_x86_64.cpp ! src/share/vm/ci/ciEnv.cpp ! src/share/vm/ci/ciEnv.hpp ! src/share/vm/ci/ciField.cpp ! src/share/vm/ci/ciMethod.cpp ! src/share/vm/ci/ciMethodHandle.cpp ! src/share/vm/ci/ciObjArrayKlass.cpp ! src/share/vm/ci/ciSignature.cpp ! src/share/vm/ci/ciSignature.hpp ! src/share/vm/classfile/javaClasses.cpp ! src/share/vm/classfile/javaClasses.hpp ! src/share/vm/classfile/systemDictionary.cpp ! src/share/vm/interpreter/linkResolver.cpp ! src/share/vm/oops/constantPoolKlass.cpp ! src/share/vm/oops/constantPoolOop.cpp ! src/share/vm/oops/constantPoolOop.hpp ! src/share/vm/oops/cpCacheOop.cpp ! src/share/vm/oops/cpCacheOop.hpp ! src/share/vm/oops/methodOop.cpp ! src/share/vm/oops/methodOop.hpp ! src/share/vm/prims/methodHandleWalk.cpp ! src/share/vm/prims/methodHandleWalk.hpp ! src/share/vm/prims/methodHandles.cpp ! src/share/vm/prims/methodHandles.hpp Changeset: 498c6cf70f7e Author: kvn Date: 2011-06-28 14:30 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/498c6cf70f7e 7058036: FieldsAllocationStyle=2 does not work in 32-bit VM Summary: parseClassFile() incorrectly uses nonstatic_oop_map_size() method instead of nonstatic_oop_map_count(). Reviewed-by: never Contributed-by: Krystal Mok ! src/share/vm/classfile/classFileParser.cpp Changeset: 6ae7a1561b53 Author: kvn Date: 2011-06-28 15:04 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/6ae7a1561b53 6990015: Incorrect Icache line size is used for 64 bit x86 Summary: correct Icache::line_size for x64 and add verification code into vm_version_x86. Reviewed-by: never, phh ! src/cpu/x86/vm/icache_x86.hpp ! src/cpu/x86/vm/vm_version_x86.cpp ! src/cpu/x86/vm/vm_version_x86.hpp Changeset: e3cbc9ddd434 Author: kvn Date: 2011-06-28 15:24 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/e3cbc9ddd434 7044738: Loop unroll optimization causes incorrect result Summary: take into account memory dependencies when clonning nodes in clone_up_backedge_goo(). Reviewed-by: never ! src/share/vm/opto/loopTransform.cpp ! src/share/vm/opto/loopnode.hpp ! src/share/vm/opto/macro.cpp ! src/share/vm/opto/node.cpp ! src/share/vm/opto/node.hpp + test/compiler/7044738/Test7044738.java + test/compiler/7046096/Test7046096.java Changeset: 7889bbcc7f88 Author: kvn Date: 2011-06-28 15:50 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/7889bbcc7f88 7047954: VM crashes with assert(is_Mem()) failed Summary: cast constant array ptrs to bottom Reviewed-by: never ! src/share/vm/opto/compile.cpp Changeset: 6f6e91603a45 Author: iveresov Date: 2011-07-01 10:35 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/6f6e91603a45 7058689: Tiered: Reprofiling doesn't happen in presence of level 4 OSR methods Summary: Take into account current state of profiling before believing that existing higher level versions are valid Reviewed-by: kvn, never ! src/share/vm/runtime/advancedThresholdPolicy.cpp ! src/share/vm/runtime/simpleThresholdPolicy.cpp Changeset: 2c359f27615c Author: iveresov Date: 2011-07-01 10:37 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/2c359f27615c 7057120: Tiered: Allow C1 to inline methods with loops Summary: Recompile the enclosing methods without inlining of the method that has OSRed to level 4 or recompile the enclosing method at level 4. Reviewed-by: kvn, never ! src/share/vm/c1/c1_GraphBuilder.cpp ! src/share/vm/c1/c1_Runtime1.cpp ! src/share/vm/ci/ciMethod.cpp ! src/share/vm/ci/ciMethod.hpp ! src/share/vm/interpreter/interpreterRuntime.cpp ! src/share/vm/runtime/advancedThresholdPolicy.cpp ! src/share/vm/runtime/advancedThresholdPolicy.hpp ! src/share/vm/runtime/compilationPolicy.cpp ! src/share/vm/runtime/compilationPolicy.hpp ! src/share/vm/runtime/simpleThresholdPolicy.cpp ! src/share/vm/runtime/simpleThresholdPolicy.hpp Changeset: 15559220ce79 Author: never Date: 2011-07-05 16:07 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/15559220ce79 6478991: C1 NullCheckEliminator yields incorrect exceptions Reviewed-by: twisti, iveresov ! src/share/vm/c1/c1_Optimizer.cpp + test/compiler/6478991/NullCheckTest.java Changeset: fe240d87c6ec Author: never Date: 2011-07-06 09:27 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/fe240d87c6ec 7061101: adlc should complain about mixing block and expression forms of ins_encode Reviewed-by: kvn ! src/share/vm/adlc/adlparse.cpp Changeset: 3e23978ea0c3 Author: never Date: 2011-07-06 18:15 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/3e23978ea0c3 7062856: Disassembler needs to be smarter about finding hsdis after 1.7 launcher changes Summary: do explicit lookup emulating old LD_LIBRARY_PATH search Reviewed-by: kvn, jrose ! src/share/tools/hsdis/README ! src/share/vm/compiler/disassembler.cpp Changeset: b16582d6c7db Author: kvn Date: 2011-07-07 10:51 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/b16582d6c7db Merge ! src/share/vm/classfile/javaClasses.cpp ! src/share/vm/oops/methodOop.cpp Changeset: 7d9e451f5416 Author: jcoomes Date: 2011-07-06 12:03 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/7d9e451f5416 7061187: need some includes for arm/ppc Reviewed-by: dholmes, never, jwilhelm, kvn ! src/share/vm/opto/lcm.cpp ! src/share/vm/opto/matcher.cpp ! src/share/vm/runtime/atomic.cpp Changeset: eb94b7226b7a Author: jcoomes Date: 2011-07-06 12:17 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/eb94b7226b7a 7061192: option handling adjustments for oracle and embedded builds Reviewed-by: dholmes, never, jwilhelm, kvn ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/globals.hpp Changeset: 65dba8692db7 Author: jcoomes Date: 2011-07-06 12:22 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/65dba8692db7 7061197: ThreadLocalStorage sp map table should be optional Reviewed-by: dholmes, never, jwilhelm, kvn ! src/os_cpu/linux_x86/vm/assembler_linux_x86.cpp ! src/os_cpu/linux_x86/vm/threadLS_linux_x86.cpp ! src/os_cpu/linux_x86/vm/threadLS_linux_x86.hpp Changeset: 48048b59a551 Author: jcoomes Date: 2011-07-06 12:28 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/48048b59a551 7061204: clean the chunk table synchronously in embedded builds Reviewed-by: dholmes, never, jwilhelm, kvn ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp ! src/share/vm/memory/defNewGeneration.cpp ! src/share/vm/memory/genCollectedHeap.cpp ! src/share/vm/runtime/globals.hpp ! src/share/vm/runtime/thread.cpp Changeset: bf6481e5f96d Author: jcoomes Date: 2011-07-06 13:02 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/bf6481e5f96d 7061225: os::print_cpu_info() should support os-specific data Reviewed-by: dholmes, never, jwilhelm, kvn ! src/os/linux/vm/os_linux.cpp ! src/os/solaris/vm/os_solaris.cpp ! src/os/windows/vm/os_windows.cpp ! src/share/vm/runtime/os.cpp ! src/share/vm/runtime/os.hpp Changeset: 8a4fc2990229 Author: jcoomes Date: 2011-07-07 15:44 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/8a4fc2990229 7053189: remove some unnecessary platform-dependent includes Reviewed-by: dholmes, never, jwilhelm, kvn ! src/share/vm/prims/jni.cpp ! src/share/vm/runtime/arguments.cpp Changeset: b0b8491925fe Author: jcoomes Date: 2011-07-11 14:15 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/b0b8491925fe 7061212: use o/s low memory notification in embedded builds Reviewed-by: dholmes, never, jwilhelm, kvn ! src/os/linux/vm/os_linux.cpp Changeset: 0defeba52583 Author: jcoomes Date: 2011-07-12 16:32 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/0defeba52583 Merge Changeset: faa472957b38 Author: kvn Date: 2011-07-08 09:38 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/faa472957b38 7059034: Use movxtod/movdtox on T4 Summary: Use new VIS3 mov instructions on T4 for move data between general and float registers. Reviewed-by: never, twisti ! src/cpu/sparc/vm/assembler_sparc.hpp ! src/cpu/sparc/vm/sparc.ad ! src/cpu/sparc/vm/vm_version_sparc.cpp ! src/share/vm/runtime/globals.hpp Changeset: 263247c478c5 Author: iveresov Date: 2011-07-08 15:33 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/263247c478c5 7058510: multinewarray with 6 dimensions uncommon traps in server compiler Summary: Pass arguments to runtime via java array for arrays with > 5 dimensions Reviewed-by: never, kvn, jrose, pbk ! src/share/vm/opto/parse3.cpp ! src/share/vm/opto/runtime.cpp ! src/share/vm/opto/runtime.hpp Changeset: 1f4f4ae84625 Author: kvn Date: 2011-07-13 10:48 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/1f4f4ae84625 Merge ! src/share/vm/runtime/globals.hpp Changeset: 3fbb609d9e96 Author: kvn Date: 2011-07-14 15:39 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/3fbb609d9e96 7067288: compiler regression test Test7052494 timeouts with client VM Summary: Test is modified to reduce number of iterations in test5() and test6(). Reviewed-by: never, iveresov ! test/compiler/7052494/Test7052494.java Changeset: 341a57af9b0a Author: never Date: 2011-07-15 15:35 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/341a57af9b0a 6990212: JSR 292 JVMTI MethodEnter hook is not called for JSR 292 bootstrap and target methods Summary: check for single stepping when dispatching invokes from method handles Reviewed-by: coleenp, twisti, kvn, dsamersoff ! src/cpu/sparc/vm/methodHandles_sparc.cpp ! src/cpu/sparc/vm/methodHandles_sparc.hpp ! src/cpu/x86/vm/interp_masm_x86_32.cpp ! src/cpu/x86/vm/interp_masm_x86_64.cpp ! src/cpu/x86/vm/methodHandles_x86.cpp ! src/cpu/x86/vm/methodHandles_x86.hpp + test/compiler/6990212/Test6990212.java Changeset: 968305b802ee Author: trims Date: 2011-07-23 01:56 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/968305b802ee Merge Changeset: 8e5d4aa73a8c Author: trims Date: 2011-07-22 23:47 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/8e5d4aa73a8c 7069176: Update the JDK version numbers in Hotspot for JDK 8 Summary: Change JDK_MINOR_VER and JDK_PREVIOUS_VERSION to reflect JDK8 values Reviewed-by: jcoomes ! make/hotspot_version Changeset: 0cc8a70952c3 Author: trims Date: 2011-07-22 23:42 -0700 URL: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/0cc8a70952c3 7070061: Adjust Hotspot make/jprt.properties for new JDK8 settings Summary: Fix so the JPRT can build with -release jdk8 now Reviewed-by: ohair ! make/jprt.properties From erik.trimble at oracle.com Thu Jul 28 23:12:08 2011 From: erik.trimble at oracle.com (Erik Trimble) Date: Thu, 28 Jul 2011 23:12:08 -0700 Subject: jdk8-b02: Hotspot & JDK Message-ID: <4E324F38.4060704@oracle.com> Build 01 of Hotspot 22 has been pushed to the master RE repositories, for inclusion in JDK8 Build 02. http://hg.openjdk.java.net/jdk8/jdk8/corba/rev/97014e43181f http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/0cc8a70952c3 http://hg.openjdk.java.net/jdk8/jdk8/jaxp/rev/58dfc6f729e8 http://hg.openjdk.java.net/jdk8/jdk8/jaxws/rev/47022a1b59be http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/b42029cd1744 http://hg.openjdk.java.net/jdk8/jdk8/langtools/rev/469e3bec9b27 http://hg.openjdk.java.net/jdk8/jdk8/rev/04734fe746f0 This is a huge push, as it include all the work done after the final JDK 7 build. Hotspot 22 is the new Hotspot for JDK 8. In addition to the Hotspot fixes, there are several JDK fixes for JSR 292-related bugs, all of which were included in JDK 7. 6983728: JSR 292 remove argument count limitations 7058651: JSR 292 unit tests need a refresh 7058630: JSR 292 method handle proxy violates contract for Object methods 7054590: (JSR-292) MethodHandleProxies.asInterfaceInstance() accepts private/protected nested interfaces -------- Component : VM Status : 0 major failures, 0 minor failures Date : 07/28/2011 at 09:22 Tested By : VM SQE& leonid.mesnik at oracle.com Cost(total man-days): 1 Workspace :/net/prt-archiver.us.oracle.com/data/jprt/archive/2011/07/2011-07-23-091740.et151817.hs22b01_for_8b02/sourcetree/ Bundles : /net/prt-archiver.us.oracle.com/data/jprt/archive/2011/07/2011-07-23-091740.et151817.hs22b01_for_8b02/bundles Platforms : Solaris Sparc 11(32), -client Solaris Sparc 11(32), -server Solaris Sparc 10(32), -client Solaris Sparc 10(32), -server Solaris x86 11(32), -client Solaris x86 11(32), -server Solaris x86 10(32), -client Solaris x86 10(32), -server WinXP Prof(32), -client WinXP Prof(32), -server Windows Vista 64 bit, -client Windows Vista 64 bit, -server RH AS4.0 (32), -client RH AS4.0 (32), -server Others Tests :/net/sqenfs-1.sfbay/export1/comp/vm/testbase/ Browsers : NA Patches : NA Logs :http://sqeweb.us.oracle.com/nfs/results/vm/gtee/HSX/PIT/VM/hs22/01/jdk8b02/ Number of Tests Executed : 245397 product tests, 0 unit tests, 0 tck tests Bug verification status: ====================================== Tested, Pass: 6478991: C1 NullCheckEliminator yields incorrect exceptions 6916968: CMS: freeList.cpp:304 assert(_allocation_stats.prevSweep() + ..., "Conservation Principle") 6941923: RFE: Handling large log files produced by long running Java Applications 6990212: JSR 292 JVMTI MethodEnter hook is not called for JSR 292 bootstrap and target methods 7016112: CMS: crash during promotion testing 7042285: G1: native memory leak during humongous object allocation 7045751: G1: +ExplicitGCInvokesConcurrent causes excessive single region evacuation pauses 7047954: VM crashes with assert(is_Mem()) failed: invalid node class 7048342: CMS: eob == _limit || fc->isFree() failed: Only a free chunk should allow us to cross over the limit 7048782: CMS: assert(last_chunk_index_to_check<= last_chunk_index) failed: parCardTableModRefBS.cpp:359 7058036: FieldsAllocationStyle=2 does not work in 32-bit VM 7061192: option handling adjustments for oracle and embedded builds 7067288: compiler regression test Test7052494 timeouts with client VM Tested, Pass (partial fixes): Tested, Fail: Untested bug fixes: Setup is not available: 6956668: misbehavior of XOR operator (^) with int 6996747: SIGSEGV in nmethod::cleanup_inline_caches / CompiledIC::verify 7004681: G1: Extend marking verification to marking phase of Full GCs 7032531: G1: enhance GC logging to include more accurate eden / survivor size transitions 7033141: assert(has_cp_cache(i)) failed: oob 7035744: jprt no longer does open-only builds 7036276: c2/arm: direct call to C runtime from c2 method may be unreachable 7036283: c2/arm: implement or remove the few empty instructs in arm.ad 7040781: Bump the HS21 build number to 14 7041440: G1: assert(obj->is_oop_or_null(true )) failed: Error # 7041789: 30% perf regression with c2/arm following 7017732 7042740: CMS: assert(n> q) failed: Looping at: ... blockOffsetTable.cpp:557 7044725: -XX:-UnrollLimitCheck -Xcomp : Exception: String index out of range: 29488 7045506: assert(!can_reshape || !new_phi) failed: for igvn new phi should be hooked 7045513: JSR 292 inlining causes crashes in methodHandleWalk.cpp 7045514: SPARC assembly code for JSR 292 ricochet frames 7045515: ARM assembly code for JSR 292 ricochet frames 7045570: compiler/5091921/Test7005594.java failed because not enough space for object heap 7045693: java/util/EnumSet/EnumSetBash.java still failing intermittently 7046053: C2/arm: SIGILL in compiled code 7046060: C2: floating point conversion errors with -Xcomp 7046096: SEGV IN C2 WITH 6U25 7046182: G1: remove unnecessary iterations over the collection set 7046355: C2/arm: Error: Unimplemented() at arm.ad:851 7046558: G1: concurrent marking optimizations 7046732: JSR 292 assert(result == cpce->f1()) failed: expected result for assembly code 7046893: LP64 problem with double_quadword in c1_LIRAssembler_x86.cpp 7047069: Array can dynamically change size when assigned to an object field 7047300: VM crashes with assert(_base == InstPtr) failed: Not an object pointer 7047491: C1: registers saved incorrectly when calling checkcast_arraycopy stub 7047697: MethodHandle.invokeExact call for wrong method causes VM failure if run with -Xcomp 7047961: JSR 292 MethodHandleWalk swap args doesn't handle T_LONG and T_DOUBLE properly 7048030: is_scavengable changes causing compiler to embed more constants 7048332: Cadd_cmpLTMask doesn't handle 64-bit tmp register properly 7049410: JSR 292 old method name MethodHandle.invokeGeneric should not be accepted by the JVM 7049415: Failure of resolution of sym.reference to the c.s.s. should be wrapped in BootstrapMethodError 7049928: VM crashes with "assert(_adapter != NULL) failed: must have" at methodOop.cpp:63 7049999: G1: Make the G1PrintHeapRegions output consistent and complete 7050037: ARM: byte array arraycopy is broken 7050280: assert(u->as_Unlock()->is_eliminated()) failed: sanity 7050464: C2/ARM: floating point error in api/java_lang/StrictMath/index.html#rintround[StrictMath0006] 7050554: JSR 292 - need optimization for selectAlternative 7051863: cleanup in 7045514 broke the ARM JSR292 back-end 7052219: JSR 292: Crash in ~BufferBlob::MethodHandles adapters 7052301: ARM JSR292 ricochet support broke armv5 support 7052494: Eclipse test fails on JDK 7 b142 7053387: ARM counterpart of 7047697, JSR292 failures when compiled invokeExact fails 7053520: JSR292: crash in invokedynamic with C1 using tiered and compressed oops 7054898: ARM counterpart of 7052219, fixes several JSR292 crashes 7055355: JSR 292: crash while throwing WrongMethodTypeException 7056328: JSR 292 invocation sometimes fails in adapters for types not on boot class path 7056380: VM crashes with SIGSEGV in compiled code 7057587: JSR 292 - crash with jruby in test/test_respond_to.rb 7061197: ThreadLocalStorage sp map table should be optional 7061204: clean the chunk table synchronously in embedded builds 7061212: use o/s low memory notification in embedded builds 7061225: os::print_cpu_info() should support os-specific data Build change only: 6804436: G1: heap region indices should be size_t 6918185: Remove unused code for lost card-marking optimization in BacktraceBuilder 6990015: Incorrect Icache line size is used for 64 bit x86 6994322: Remove the is_tlab and is_noref / is_large_noref parameters from the CollectedHeap interface 7044738: Loop unroll optimization causes incorrect result 7045330: G1: Simplify/fix the HeapRegionSeq class 7045662: G1: OopsInHeapRegionClosure::set_region() should not be virtual 7048009: Update .jcheck/conf files for JDK 8 7051430: CMS: ongoing CMS cycle should terminate abruptly to allow prompt JVM termination at exit 7053189: remove some unnecessary platform-dependent includes 7055073: G1: code cleanup in the concurrentMark.* files 7057120: Tiered: Allow C1 to inline methods with loops 7058510: multinewarray with 6 dimensions uncommon traps in server compiler 7058689: Tiered: Reprofiling doesn't happen in presence of level 4 OSR methods 7059034: Use movxtod/movdtox on T4 7061101: adlc should complain about mixing block and expression forms of ins_encode 7061187: need some includes for arm/ppc 7061691: Fork HS21 to HS22 - renumber Major and build numbers of JVM 7062856: Disassembler needs to be smarter about finding hsdis after 1.7 launcher changes 7069176: Update the JDK version numbers in Hotspot for JDK 8 7070061: Adjust Hotspot make/jprt.properties for new JDK8 settings New bugs filed: Bugs in PIT build: Bugs in earlier promoted build: Number of PIT requested: 1 Integration target J2SE build number: 1.8.0-b02 Issues and Notes: This is a PIT for HS22b01 in JDK8b02. CRs fixed in JDK 7 were not verified second time ------------------------------- From VM SQE& leonid.mesnik at oracle.com -- Erik Trimble Java Platform Group Infrastructure Mailstop: usca22-317 Phone: x67195 Santa Clara, CA Timezone: US/Pacific (UTC-0800) From tao.t.zhang at oracle.com Fri Jul 29 12:15:37 2011 From: tao.t.zhang at oracle.com (tao.t.zhang at oracle.com) Date: Fri, 29 Jul 2011 12:15:37 -0700 (PDT) Subject: Auto Reply: jdk8-dev Digest, Vol 3, Issue 14 Message-ID: <338096f0-ed9d-4a8e-a9df-f91c2d61598f@default> This is an auto-replied message. I am taking this Friday off, will be back to my office on next Monday(08/01). 2D issues, please ask Tony. Others, please talk my manager Vita.