2947 Commits

Author SHA1 Message Date
Christian Thalinger
301e9f9548 7174928: JSR 292: unresolved invokedynamic call sites deopt and osr infinitely
Reviewed-by: kvn
2012-06-13 11:36:03 -07:00
Vlaidmir Ivanov
dd85e2f356 7173340: C2: code cleanup: use PhaseIterGVN::replace_edge(Node*, int, Node*) where applicable
Replace frequent C2 optimizer code patterns with new methods calls

Reviewed-by: kvn, twisti
2012-06-12 16:23:31 -07:00
Krystal Mok
529b370174 7174218: remove AtomicLongCSImpl intrinsics
Reviewed-by: kvn, twisti
2012-06-12 14:31:44 -07:00
Vlaidmir Ivanov
e67db1b150 7169782: C2: SIGSEGV in LShiftLNode::Ideal(PhaseGVN*, bool)
Keep intermediate node alive till the end of the graph construction using dummy hook node trick

Reviewed-by: kvn, twisti
2012-06-12 09:47:23 -07:00
Roland Westrelin
bd09c5ac38 7174532: jdk/test/java/lang/Math/WorstCaseTests.java failing on x86
Increase precision on x86 for the steps of the computation of exp and pow.

Reviewed-by: kvn
2012-06-12 10:02:36 +02:00
Vladimir Kozlov
4ed033f56f Merge 2012-06-11 22:38:28 -07:00
Christian Thalinger
02eef114a1 7063674: Wrong results from basic comparisons after calls to Long.bitCount(long)
Reviewed-by: kvn
2012-06-11 16:47:41 -07:00
Vladimir Kozlov
ae6d0d30f5 7174510: 19 JCK compiler tests fail with C2 error: memNode.cpp:812 - ShouldNotReachHere
Add missing check for EncodeP node in MemNode::Ideal_common_DU_postCCP() method.

Reviewed-by: twisti
2012-06-11 14:58:51 -07:00
Vladimir Kozlov
a23aa66098 Merge 2012-06-11 08:35:28 -07:00
Bertrand Delsart
dd6200f31a Merge 2012-06-11 04:47:33 -04:00
Staffan Larsen
a928a2df96 Merge 2012-06-11 10:28:02 +02:00
John Coomes
b549e586b0 Merge 2012-06-08 09:49:49 -07:00
Keith McGuigan
c39971d4f1 7158804: Improve config file parsing
Check buffer length when reading

Reviewed-by: dholmes, dcubed
2012-06-08 12:49:12 -04:00
Chris Dennis
27c2e51e67 7172708: 32/64 bit type issues on Windows after Mac OS X port
Reviewed-by: dholmes, coleenp
2012-06-08 02:06:16 -04:00
Abhijit Saha
aacc740523 Merge 2012-06-07 12:30:02 -07:00
Christian Thalinger
36093c2bf6 7174884: C1: failures after 7171890: assert(cur_state != NULL) failed: state_before must be set
Reviewed-by: kvn
2012-06-06 15:57:37 -07:00
Jiangli Zhou
2b4b058265 7172967: Eliminate constMethod's _method backpointer to methodOop
Eliminate constMethod's _method backpointer to methodOop, and move the _constant field from methodOop to constMethod.

Reviewed-by: roland, bdelsart, kamg
2012-06-06 14:33:43 -04:00
Mikael Vidstedt
bd06ea72a9 7170275: os::print_os_info needs to know about Windows 8
Recognize Windows 8 and Windows Server 2012

Reviewed-by: sla, kvn, azeemj
2012-06-06 05:21:56 +02:00
Frederic Parain
911dcf0f08 7171703: JNI DefineClass crashes client VM when first parameter is NULL
Reviewed-by: acorn, kamg, sspitsyn, dholmes
2012-06-05 06:48:00 -07:00
Krystal Mok
6d29429c4e 7171890: C1: add Class.isInstance intrinsic
Class.cast which calls Class.isInstance is heavily used by the new JSR 292 implementation

Reviewed-by: roland
2012-06-05 10:15:27 +02:00
Keith McGuigan
1ac7879229 7166498: JVM crash in ClassVerifier
Fixed raw pointer being used after potential safepoint/GC

Reviewed-by: acorn, fparain, dholmes
2012-06-04 10:22:37 -04:00
Bengt Rutisson
ee7ac30420 7173460: G1: java/lang/management/MemoryMXBean/CollectionUsageThreshold.java failes with G1
The scope of TraceMemoryManagerStats in G1CollectedHeap need to cover the call to G1MonitoringSupport::update_sizes()

Reviewed-by: johnc, jmasa
2012-06-04 13:29:34 +02:00
Bengt Rutisson
e294a9f5ec 7172388: G1: _total_full_collections should not be incremented for concurrent cycles
Reviewed-by: azeemj, jmasa
2012-06-05 22:30:24 +02:00
Mikael Gerdin
1ae0edb1f1 7172226: HotSpot fails to build with GCC 4.7 because of stricter c++ argument dependent lookup
Add "using" keyword to import base class functions from FreeList<T> to fix template name lookup in gcc 4.7

Reviewed-by: brutisso, iveresov
2012-06-04 09:21:53 +02:00
John Coomes
ec1fb16e34 Merge 2012-06-01 10:29:02 -07:00
Bengt Rutisson
212ab5c73a 7172279: G1: Clean up TraceGen0Time and TraceGen1Time data gathering
Simplify code, remove unused code, remove ExitAfterGCNum

Reviewed-by: huntch, johnc
2012-05-31 21:10:33 +02:00
David Holmes
9eb03933dc Merge 2012-05-30 17:45:02 -04:00
Krystal Mok
20b16ea7aa 7172843: C1: fix "assert(has_printable_bci()) failed: _printable_bci should have been set"
Reviewed-by: twisti
2012-05-30 12:17:07 -07:00
John Cuthbertson
057a1b7128 7158682: G1: Handle leak when running nsk.sysdict tests
Place HandleMarks in the code that allocates handles for the pending list lock so that the handles are freed and multiple, unsuccessful, attempts to schedule a GC do not cause an OOM.

Reviewed-by: brutisso
2012-05-30 10:26:24 -07:00
Zhengyu Gu
a9ea9bd20a Merge 2012-05-29 20:06:10 -04:00
Zhengyu Gu
e8dff8cfab Merge 2012-05-26 06:07:38 -07:00
Joseph Provino
b6db24abd6 Merge 2012-05-26 08:49:05 -04:00
Bengt Rutisson
b76f6e07ab 7171936: LOG_G incorrectly defined in globalDefinitions.hpp
Removed LOG_G and LOG_K. Moved LOG_M to where it is being used.

Reviewed-by: twisti, johnc
2012-05-25 22:35:13 +02:00
John Cuthbertson
3f38785a0a 7143858: G1: Back to back young GCs with the second GC having a minimally sized eden
Before the last thread to leave a JNI critical region was able to schedule a GCLocker Initiated GC, another thread was attempting an allocation and saw that the GCLocker region was no longer active and successfully scheduled a GC. Stall allocating threads until the GCLocker Initiated GC is performed and then retry the allocation.

Reviewed-by: brutisso, huntch
2012-05-29 10:18:02 -07:00
Christian Thalinger
687fab1763 7170145: C1 doesn't respect the JMM with volatile field loads
Reviewed-by: kvn, roland
2012-05-25 11:39:13 -07:00
Krystal Mok
a9ea68bd3f 7170463: C2 should recognize "obj.getClass() == A.class" code pattern
Optimize this code pattern obj.getClass() == A.class.

Reviewed-by: jrose, kvn
2012-05-25 07:53:11 -07:00
Vladimir Kozlov
d6d1826ad3 Merge 2012-05-24 18:39:44 -07:00
Zhengyu Gu
6a6296d61b Merge 2012-05-24 20:04:07 -04:00
Daniel D. Daugherty
2003ef208a Merge 2012-05-24 12:57:01 -07:00
Daniel D. Daugherty
cad78d6f04 7165598: enable FDS on Solaris X64 when 7165593 is fixed
Work around 'gobjcopy' failure on Solaris X64 by adding a temporary tool that removes the SHF_ALLOC flag from "empty" section headers.

Reviewed-by: sspitsyn, acorn
2012-05-24 12:03:42 -07:00
Rickard Bäckman
0ccc41fc10 7171422: Change 7161732 breaks SA on Windows
Reviewed-by: dholmes, sla
2012-05-24 13:37:47 +02:00
Vladimir Kozlov
0a84e90eea 7158801: Improve VM CompileOnly option
Fixed buffer overflow during parsing flags -XX:CompileCommand=, -XX:CompileOnly= and command lines in .hotspot_compiler file.

Reviewed-by: never
2012-05-23 12:11:25 -07:00
Zhengyu Gu
4118514eaa Merge 2012-05-22 20:29:05 -04:00
Rickard Bäckman
be3945d9ff 7161732: Improve handling of thread_id in OSThread
Reviewed-by: dholmes, kamg
2012-05-22 10:11:53 +02:00
Abhijit Saha
1c1f4add53 Merge 2012-05-21 14:56:33 -07:00
Jiangli Zhou
31e63d5a3a 7168280: Eliminate the generic signature index slot from field array for field without generic signature
Only allocate the generic signature index slot in the field array for field with generic signature attribute.

Reviewed-by: coleenp, dlong
2012-05-21 14:10:35 -04:00
Roland Westrelin
e975779565 7169934: pow(x,y) or x64 computes incorrect result when x<0 and y is an odd integer
Bad test for parity of y in pow(x,y) (c1, interpreter)

Reviewed-by: kvn, twisti
2012-05-21 09:46:02 +02:00
Krystal Mok
100eb2036d 7170053: crash in C2 when using -XX:+CountCompiledCalls
Reviewed-by: kvn, twisti
2012-05-18 12:20:24 -07:00
John Coomes
2c4e9e718c Merge 2012-05-18 10:27:13 -07:00
Roland Westrelin
285f7e0640 7167254: Crash on OSX in Enumerator.nextElement() with compressed oops
Null checks in "compressed oops with base" mode may trigger a SIGBUS rather than a SIGSEGV.

Reviewed-by: dsamersoff, dcubed, rbackman, kvn
2012-05-18 15:50:09 +02:00