29164 Commits

Author SHA1 Message Date
Goetz Lindenmaier
6eddc19daf 8032634: Add #ifdef PPC64 around OrderAccess operations on _thread_state
Reviewed-by: dholmes, kvn
2014-01-24 10:23:34 +01:00
Andreas Lundblad
99aae5c1fd 8028267: sun.tools.javac.util.Bits contains a main-method with test code
Removed main method from Bits and added proper unit testing.

Reviewed-by: jfranck
2014-01-24 09:39:51 +01:00
Roland Westrelin
c19a7e0fa3 8027422: assert(_gvn.type(obj)->higher_equal(tjp)) failed: cast_up is no longer needed
Type methods shouldn't always operate on speculative part

Reviewed-by: kvn, twisti
2014-01-24 09:31:53 +01:00
David Simms
edb5dd324e 8028280: ParkEvent leak when running modified runThese which only loads classes
Use spin lock to manage ParkEvent and PlatformEvent free lists.

Reviewed-by: dholmes, fparain
2014-01-24 09:28:47 +01:00
Mandy Chung
7e46f00b86 6516909: (cl spec) ClassLoader.loadClass() clarification to indicate it shouldn't be used for array classes
Reviewed-by: alanb
2014-01-23 14:06:58 -08:00
Mandy Chung
5634f01fdb 4932272: (cl) Remove declaration of the unused private method ClassLoader.defineClass0
Reviewed-by: alanb
2014-01-23 14:04:52 -08:00
Gilles Duboscq
90a44b778d 8031427: AllocObject and Unsafe.allocateInstance segfault for primitive types
The fix just throws an InstantiationException if the Klass is NULL.

Reviewed-by: coleenp, twisti, jrose
2014-01-23 16:02:14 -05:00
Alejandro Murillo
4c4881a31f Merge 2014-01-23 10:35:38 -08:00
Yumin Qi
38fe1c531a Merge 2014-01-23 09:45:38 -08:00
Yumin Qi
4a3aa3a77a 6651256: jstack: DeleteGlobalRef method call doesn't lead to descreasing of global refs count shown by jstack
Jni_DeleteGlobalRef does not really release the jni handle, instead, set the handle point to JNIHandles::_deleted_handle which holds an oop instance (java/lang/Object) in Java heap and never be GC'ed. When counting number of global reference, it counts all the handles on the chain list, which includes the already deleted ones.

Reviewed-by: zgu, sla, coleenp
2014-01-23 09:40:32 -08:00
Volker Simonis
ad1b6f1a39 8032578: [TESTBUG] Fix tests which use SecurityConstants.AWT
Reviewed-by: pchelko
2014-01-23 17:43:32 +01:00
Shanliang Jiang
7d09fd8b12 6980984: java/lang/management/MemoryMXBean/MemoryManagement is not robust when getMax() returns -1
Reviewed-by: jbachorik, dfuchs
2014-01-23 15:17:36 +01:00
Joel Borggrén-Franck
b1bcbaeb4b 8029017: ElementType.TYPE_USE should be a logical superset of ElementType.TYPE and ANNOTATION_TYPE
Reviewed-by: abuckley, jlahoda, vromero
2014-01-23 14:09:29 +01:00
Kumar Srinivasan
70eb26fc0a 8031023: [javac] LambdaToMethod is missing forceSerializedRepresentation logic and switch
Reviewed-by: jjg, rfield
2014-01-23 06:34:53 -08:00
Rickard Bäckman
0b85ee832e 8027754: Enable loop optimizations for loops with MathExact inside
Reviewed-by: kvn, iveresov
2014-01-23 12:08:28 +01:00
Vladimir Kozlov
e2fecea88e 8033805: Move Fast_Lock/Fast_Unlock code from .ad files to macroassembler
Consolidated C2 x86 locking code in one place in macroAssembler_x86.cpp.

Reviewed-by: roland
2014-02-24 15:12:26 -08:00
Kevin Walls
076122acf6 8032466: serviceability/sa/jmap-hashcode/Test8028623.java fails with compilation errors
Reviewed-by: dsamersoff, sla
2014-01-23 09:33:50 +00:00
Jaroslav Bachorik
f0a718ceb0 6309226: TEST: java/lang/management/ThreadMXBean/SynchronizationStatistics.java didn't check Thread.sleep
Reviewed-by: dholmes, mchung
2014-01-23 10:06:52 +01:00
Staffan Larsen
6f46c5c2f0 8031968: Mac OS X: VM starts the agent by calling both Agent_OnAttach and Agent_OnAttach_L functions if its agent library is dynamically linked
Make sure we only look for statically linked agents in the main process image

Reviewed-by: dsamersoff, bpittore, dcubed
2014-01-23 09:06:21 +01:00
Joe Darcy
03045efef6 8032047: Fix static lint warnings in client libraries
8032048: Add static lint warning to build of jdk repository

Reviewed-by: pchelko, serb, erikj
2014-01-22 23:20:58 -08:00
Staffan Larsen
869722e816 8032250: Add trace event for VM flag changes
Reviewed-by: coleenp, ehelin, egahlin, mgronlun
2014-01-23 08:12:12 +01:00
Sonali Goel
ab6480d153 8032506: Remove commit.txt that was accidentally pushed with the changeset
Reviewed-by: jjg
2014-01-22 14:45:51 -08:00
Roger Riggs
93283b8191 8032502: java.time add @param tags to readObject
Add @param tags

Reviewed-by: lancea, darcy
2014-01-22 17:40:58 -05:00
Vladimir Kozlov
0f8774f389 Merge 2014-01-22 14:27:18 -08:00
Vladimir Kozlov
f944a1f85d Merge 2014-01-22 14:18:33 -08:00
Vladimir Kozlov
9c83896027 Merge 2014-01-22 14:17:32 -08:00
Vicente Romero
712b922a0f 8030816: javac crashes when mixing lambdas and inner classes
Reviewed-by: jjg, jlahoda
2014-01-22 21:41:50 +00:00
Vladimir Ivanov
91573b8695 8031695: CHA ignores default methods during analysis leading to incorrect code generation
Reviewed-by: jrose, acorn, hseigel, lfoltan
2014-01-23 01:23:23 +04:00
Matherey Nunez
0c38c2d401 8027477: Enable repeating annotations test cases since JDK-8004912 is fixed
Reviewed-by: jjg, jfranck
2014-01-22 12:22:23 -08:00
Joe Darcy
6b965a6ae1 8032397: Remove sun.misc.Ref
Reviewed-by: alanb
2014-01-22 11:03:44 -08:00
Joe Wang
98bb3f44c2 8031540: Introduce document horizon
Reviewed-by: lancea, dfuchs, mullan
2014-01-22 09:37:54 -08:00
Sean Mullan
fd09a81d8a Merge 2014-01-22 10:27:08 -05:00
Petr Pchelko
0a187c7c73 8029868: Fix KSS issues in sun.lwawt.macosx
Reviewed-by: anthony, serb
2014-01-22 17:54:04 +04:00
Mark Sheppard
0780620d83 8025005: Enhance CORBA initializations
Restructure ORB.init() processing flow.

Reviewed-by: alanb, coffeys, skoivu
2014-01-22 12:33:12 +00:00
Petr Pchelko
0f4e95136b 7155984: Security problems in regression test java/awt/PrintJob/Security/SecurityDialogTest.java
Reviewed-by: anthony, serb
2014-01-22 16:15:39 +04:00
Andrei Eremeev
6a9e174795 7175457: [TEST_BUG] closed/java/awt/Window/AlwaysOnTop/TestAlwaysOnTopBeforeShow.java still failed
Reviewed-by: anthony, pchelko
2014-01-22 12:49:43 +04:00
Petr Pchelko
bfc61365e0 8030050: Validate fields on DnD class deserialization
Reviewed-by: anthony, serb
2014-01-22 12:35:43 +04:00
Henry Jen
5050fd5363 8028407: adjust-mflags.sh failed build with GNU Make 4.0 with -I<path contains j>
Reviewed-by: erikj
2014-01-21 20:07:14 -08:00
Igor Veresov
0c43978be6 8031743: C2: loadI2L_immI broken for negative memory values
Restrict loadI2L_imm optimizations to positive values of mask

Reviewed-by: kvn, dlong
2014-01-21 20:05:28 -08:00
David Katleman
8e5696aae1 Added tag jdk9-b01 for changeset ae2d94255f32 2014-01-21 18:17:23 -08:00
David Katleman
41e4558068 Added tag jdk9-b01 for changeset 71073f4a867e 2014-01-21 18:17:21 -08:00
David Katleman
7f24b46a10 Added tag jdk9-b01 for changeset 0da91a6ccb5f 2014-01-21 18:17:13 -08:00
David Katleman
3247364494 Added tag jdk9-b01 for changeset e8046d3ee0ee 2014-01-21 18:17:08 -08:00
David Katleman
505bcef1c1 Added tag jdk9-b01 for changeset 6428b06e538b 2014-01-21 18:17:07 -08:00
David Katleman
a3bd10b411 Added tag jdk9-b01 for changeset 7ef63208c60e 2014-01-21 18:16:59 -08:00
David Katleman
42ddbad8d7 Added tag jdk9-b01 for changeset 4d7b21463768 2014-01-21 18:16:54 -08:00
David Katleman
8de1280568 Added tag jdk9-b01 for changeset 897e2da883cd 2014-01-21 18:16:48 -08:00
Gerard Ziemski
7591b3dd89 7015395: [TESTBUG] runtime/6626217/Test6626217.sh fails if compilation happens fast enough for timestamps to be equal
Insert 2 second sleep between copying of the src files and the compilation, to make sure the timestamps of *.class files are in the future of *.java files.

Reviewed-by: coleenp, fparain
2014-01-21 16:45:10 -06:00
Artem Smotrakov
f85948cc0c 8028431: NullPointerException in DerValue.equals(DerValue)
Reviewed-by: mullan
2014-01-21 16:54:26 -05:00
Sean Mullan
67c04c11c8 Merge 2014-01-21 10:52:48 -05:00