5613 Commits

Author SHA1 Message Date
Roland Westrelin
ef217cba65 8076094: CheckCastPPNode::Value() has outdated logic for constants
Outdated logic for constants in CheckCastPPNode::Value()

Reviewed-by: kvn, vlivanov
2015-03-23 14:21:17 +01:00
Michael C Berg
9e55e44c85 8074981: Integer/FP scalar reduction optimization
Add scalar reduction optimization to C2 to take advantage of vector instructions in modern x86 CPUs.

Reviewed-by: kvn, twisti
2015-04-01 18:07:50 -07:00
Roland Westrelin
7c5d30b0e3 8075587: Compilation of constant array containing different sub classes crashes the JVM
Meet of 2 constant arrays result in bottom

Reviewed-by: kvn
2015-03-27 13:47:33 +01:00
Andrew Haley
1dfbc44c1f 8026049: (bf) Intrinsify ByteBuffer.put{Int, Double, Float, ...} methods
Use unaligned Unsafe loads and stores for ByteBuffer access on platforms which support unaligned access. Add intrinsics for Unsafe.{get,put}-X-Unaligned methods.

Reviewed-by: dholmes, jrose, psandoz, kvn
2015-03-31 12:31:18 -07:00
Roland Westrelin
61aa1cfdef 8075921: assert assert(allocx == alloc) fails in library_call.cpp
Control becomes top after arraycopy guards and confuses tighly coupled allocation logic

Reviewed-by: kvn, vlivanov
2015-03-27 08:58:45 +01:00
Roland Westrelin
2a18e44777 Merge 2015-03-30 08:03:47 +00:00
Tobias Hartmann
f41f86bff1 8075214: SIGSEGV in nmethod sweeping
Changed implementation of forceNMethodSweep() to request sweep from existing sweeper thread.

Reviewed-by: kvn, mgerdin, dholmes
2015-03-30 07:54:23 +02:00
Zoltan Majo
0129e6502d Merge 2015-03-27 15:08:13 +00:00
Zoltan Majo
357e482f8c Merge 2015-03-27 14:52:45 +00:00
Zoltan Majo
5555698353 8075798: Allow ADLC register class to depend on runtime conditions also for cisc-spillable classes
Introduce a new register class, reg_class_dynamic, that supports also cist-spillable masks.

Reviewed-by: kvn, dlong, roland
2015-03-27 10:57:42 +01:00
Zoltan Majo
90e9ec4634 Merge 2015-03-27 09:02:53 +01:00
Roland Westrelin
1c38036fd8 8075922: assert(t == t_no_spec) fails in phaseX.cpp
Subgraph becomes dead RegionNode::Ideal() but is not destroyed

Reviewed-by: kvn, vlivanov
2015-03-25 14:25:53 +01:00
Stefan Karlsson
602b7d79e9 8075829: Move CSpaceCounters implementation to cSpaceCounters.cpp
Reviewed-by: jwilhelm, brutisso
2015-03-25 10:13:56 +01:00
Stefan Karlsson
b980d93909 8075809: Add missing includes of stack.inline.hpp
Reviewed-by: jmasa, pliden
2015-03-25 10:08:09 +01:00
Stefan Karlsson
0c57e77d43 8075803: Fix GC includes and forward declarations
Reviewed-by: pliden, mgerdin
2015-03-24 11:21:21 +01:00
Stefan Johansson
7f727ff4df 8075735: Missing include causes minimal build failure
Added the missing include.

Reviewed-by: jprovino, dholmes, stefank
2015-03-24 10:24:31 +01:00
Jesper Wilhelmsson
5f5b27baba Merge 2015-03-23 22:08:14 +01:00
Roland Westrelin
b81d606a4c 8075663: compiler/rangechecks/TestExplicitRangeChecks.java fails in compiler nightlies
-Xmixed following -Xcomp doesn't undo the effect of -Xcomp with tiered on

Reviewed-by: kvn, vlivanov
2015-03-23 17:09:41 +01:00
Jaroslav Bachorik
a16c45029d 8054890: Serviceability: New diagnostic commands 'VM.set_flag' and 'JVMTI.data_dump'
Reviewed-by: sla, fparain, egahlin, ykantser
2015-03-23 11:46:15 +01:00
Harold Seigel
1665046b90 Merge 2015-03-29 09:20:27 -04:00
Coleen Phillimore
b115f80cb5 8075967: Zero interpreter asserts for SafeFetch<32,N> calls in ObjectMonitor
Implement SafeFetchX unsafely and make CanUseSafeFetchX false for Zero

Reviewed-by: sgehwolf, dholmes
2015-03-25 22:27:51 -04:00
Yumin Qi
3e6cf09c39 8074345: Enable RewriteBytecodes when VM runs with CDS
Enable bytecode rewriting when CDS turned on.

Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: coleenp, iklam
2015-03-25 15:18:37 -07:00
Harold Seigel
257436004b 7127066: Class verifier accepts an invalid class file
For *store bytecodes, compare incoming, not outgoing, type state with exception handlers' stack maps.

Reviewed-by: acorn, dholmes
2015-03-25 08:16:48 -04:00
Severin Gehwolf
e1d7a11c64 8075533: Zero JVM segfaults for -version after JDK-8074552
Remove SafeFetchXX Zero implementations and guard test with CanUseSafeFetchXX

Reviewed-by: simonis, coleenp
2015-03-23 13:53:44 +01:00
Max Ockner
0d9de873f4 8072128: mutexLocker.cpp _mutex_array[] initialization broken with safepoint check change
Fixed missing "++" in _mutex_array[] initialization.

Reviewed-by: dholmes, fparain
2015-03-19 15:30:06 -04:00
Serguei Spitsyn
cc2bb40bf3 8067662: "java.lang.NullPointerException: Method name is null" from StackTraceElement.<init>
Use method cpref and klass version to provide meaningful methods name in stacktraces

Reviewed-by: coleenp, dcubed
2015-03-20 02:44:51 -07:00
Coleen Phillimore
f2ecc46c20 Merge 2015-03-19 23:33:38 +00:00
Daniel D. Daugherty
295d64e29f Merge 2015-03-19 14:28:44 -07:00
Coleen Phillimore
ea3e362117 Merge 2015-03-19 21:11:18 +00:00
Zoltan Majo
379e3d6fb6 Merge 2015-03-19 18:01:39 +01:00
Coleen Phillimore
01893ae525 8005521: StressMethodComparator is not thread-safe
Remove the debug option. It isn't correct or tested.

Reviewed-by: gtriantafill, dholmes, sspitsyn
2015-03-19 09:47:27 -04:00
Harold Seigel
bbd0191aea 8075118: JVM stuck in infinite loop during verification
Keep a list of handlers to prevent the same handler from being scanned repeatedly.

Reviewed-by: dlong, dholmes
2015-03-19 08:55:50 -04:00
Dmitry Dmitriev
15f8d6fc9c 8075216: Remove old flags, regarding to JDK9, from obsolete_jvm_flags
Reviewed-by: dholmes, simonis, gziemski
2015-03-18 17:45:47 -04:00
Jon Masamitsu
473bf6175f 8017462: G1: guarantee fails with UseDynamicNumberOfGCThreads
Reviewed-by: tschatzl, brutisso
2015-03-17 11:19:05 -07:00
Per Lidén
cee2c148bc 8076294: Cleanup of CollectedHeap::kind()
Reviewed-by: stefank, ecaspole
2015-04-01 10:49:08 +02:00
Kim Barrett
be607cf8cf 8075401: Remove DiscoveredListIterator::update_discovered()
Remove unnecessary function

Reviewed-by: brutisso, jwilhelm, ecaspole
2015-03-30 10:24:00 -04:00
David Lindholm
5449ba9220 8076173: VirtualSpaceNode container_count() and container_count_slow() have different return types
Reviewed-by: pliden, stefank
2015-03-31 11:34:35 +02:00
Bengt Rutisson
68ad80c022 8076241: Remove unused methods mod_card_iterate() and non_clean_card_iterate_serial()
Reviewed-by: kbarrett, pliden, stefank
2015-03-31 11:29:21 +02:00
Bengt Rutisson
a5e42354fe 8076237: Remove unused _collector_policy field in SharedHeap
Reviewed-by: jwilhelm, drwhite, stefank
2015-03-31 11:27:20 +02:00
Per Lidén
ff23a17283 8076231: Remove unused is_in_partial_collection()
Reviewed-by: brutisso, drwhite
2015-03-31 08:27:30 +02:00
Mikael Gerdin
062cf882e0 8076225: Move the thread claim parity from SharedHeap to Thread
Reviewed-by: brutisso, jwilhelm, kbarrett
2015-03-31 07:54:56 +02:00
David Lindholm
4e7e0848a7 8076073: shared: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: stefank, brutisso
2015-03-27 15:29:19 +01:00
David Lindholm
28d7b8200d 8076072: parNew: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: stefank, brutisso
2015-03-27 15:27:14 +01:00
David Lindholm
bbadc1626f 8076071: parallelScavenge: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: brutisso, mgerdin, stefank
2015-03-27 15:24:49 +01:00
David Lindholm
04fdb5ca76 8076055: cms: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: brutisso, tschatzl
2015-03-27 15:10:11 +01:00
David Lindholm
dcd40878af 8076054: g1: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: brutisso, stefank
2015-03-27 15:03:44 +01:00
Bengt Rutisson
fd46a24a3e 8076076: Move SharedHeap::print_size_transition() into G1 code
Reviewed-by: tschatzl, mgerdin
2015-03-27 09:28:47 +01:00
Jesper Wilhelmsson
2c63bc9175 8075635: Remove GenerationSpec array
Replaced the array with explicit variables for young and old

Reviewed-by: kbarrett, mgerdin
2015-03-16 13:28:27 +01:00
Stefan Karlsson
ba1d121fe0 8075957: Reduce calls to the GC specific object visitors in oopDesc
Reviewed-by: brutisso, mgerdin, pliden
2015-03-26 11:28:19 +01:00
Igor Ignatyev
f51a895f42 Merge 2015-03-14 16:13:48 +00:00