7325 Commits

Author SHA1 Message Date
Christian Thalinger
148c6a3e77 8146246: JVMCICompiler::abort_on_pending_exception: assert(!thread->owns_locks()) failed: must release all locks when leaving VM
Reviewed-by: coleenp, kvn
2016-01-12 10:44:41 -10:00
Konstantin Shefov
360280b4ae Merge 2016-01-12 16:00:04 +01:00
Ed Nevill
8629682d55 8146886: aarch64: fails to build following 8136525 and 8139864
Fix several build errors and warnings

Reviewed-by: aph
2016-01-12 14:21:58 +00:00
Konstantin Shefov
ca68a6b69f Merge 2016-01-12 15:07:46 +01:00
Tobias Hartmann
0e1b2cd198 8136469: OptimizeStringConcat fails on pre-sized StringBuilder shapes
Cut off dead if branch already during parsing (GVN).

Reviewed-by: shade, kvn, roland
2016-01-12 12:55:37 +01:00
Tobias Hartmann
69b52aa28b 8146629: Make phase->is_IterGVN() accessible from Node::Identity and Node::Value
Change arguments of Node::Identity() and Node::Value() from PhaseTransform* to PhaseGVN*.

Reviewed-by: kvn, roland
2016-01-12 12:55:09 +01:00
Konstantin Shefov
1a8c7d97b1 8141615: Add new public methods to sun.reflect.ConstantPool
Reviewed-by: twisti, iignatyev, coleenp
2016-01-12 13:57:48 +03:00
Roland Westrelin
eb654c02f4 Merge 2016-01-12 11:31:04 +01:00
Zoltan Majo
dfa6539a6a 8086053: Address inconsistencies regarding ZeroTLAB
Add zero-initialization to C1 for fast TLAB refills; strenghten C2 conditions for skipping zero-initialization.

Reviewed-by: kvn, thartmann
2016-01-12 09:19:09 +01:00
Roland Westrelin
631c143469 8145322: Code generated from unsafe loops can be slightly improved
Improve code generated from checkIndex and unsafe loops

Reviewed-by: kvn, thartmann
2016-01-11 16:33:27 +01:00
Doug Simon
5be1924e89 8146705: Improve JVMCI support for blocking compilation
Reviewed-by: twisti, never, iveresov
2016-01-11 14:23:35 +01:00
Christian Thalinger
a0861106e3 Merge 2016-01-11 17:11:57 -08:00
Joseph Provino
9288ff53e7 Merge 2016-01-07 21:10:28 +00:00
Doug Simon
c1d5c540ac 8146001: Remove support for command line options from JVMCI
Reviewed-by: twisti
2016-01-05 10:57:15 -10:00
Ioi Lam
4e9dd68311 8145593: Clean up metaspaceShared.cpp
Reviewed-by: jiangli
2016-01-04 13:57:34 -08:00
Marcus Larsson
cc9cd893ac 8145294: TestLogRotation.java triggers a race in the UL framework
Reviewed-by: sla, mgronlun
2016-01-04 11:38:42 +01:00
Marcus Larsson
5e5def838e 8144220: UL does not support full path names for log files on windows
Reviewed-by: sla, mgronlun
2016-01-04 11:31:42 +01:00
Marcus Larsson
230a27a60d 8145083: Use semaphore instead of mutex for synchronization of Unified Logging configuration
Reviewed-by: dholmes, kbarrett, mgronlun
2016-01-04 11:37:18 +01:00
Marcus Larsson
803c430cee 8065331: Add trace events for failed allocations
Reviewed-by: brutisso, ehelin
2016-01-04 11:27:02 +01:00
Ed Nevill
ea1091ca76 8146286: aarch64: guarantee failures with large code cache sizes on jtreg test java/lang/invoke/LFCaching/LFMultiThreadCachingTest.java
Patch trampoline calls with special case bl to itself which does not cause guarantee failure

Reviewed-by: aph
2015-12-29 16:47:34 +00:00
Vladimir Kozlov
13f73f994f Merge 2015-12-29 18:30:51 +01:00
Martin Doerr
4e6b2ee594 8145913: PPC64: add Montgomery multiply intrinsic
Reviewed-by: aph, goetz
2015-12-29 11:54:21 +01:00
Kim Barrett
1b5adfa949 8071507: (ref) Clear phantom reference as soft and weak references do
GC clears phantom refs on notification; update spec accordingly.

Reviewed-by: mchung, jmasa
2015-12-28 13:48:43 -05:00
Hui Shi
3767315e75 8144993: Elide redundant memory barrier after AllocationNode
Elide memory barrier for AllocationNode when it doesn't escape in initializer and has an MemBarRelease node at exit of initializer method.

Reviewed-by: aph, mdoerr, goetz, kvn, asiebenborn
2015-12-27 05:15:14 -08:00
Coleen Phillimore
944b70a17b Merge 2015-12-24 03:28:25 +00:00
Max Ockner
88f4fdeddc Merge 2015-12-23 20:14:25 +00:00
Coleen Phillimore
384ecfad72 8146011: sun/management/jmxremote/bootstrap/CustomLauncherTest crash at assert(stack_size)
We were setting stack_overflow_limit before initialization completed which may change the stack base for some solaris systems with unlimited stack

Reviewed-by: goetz, hseigel, gthornbr
2015-12-23 20:07:39 +00:00
Max Ockner
de7d9e821c 8144874: Reimplement TraceClassResolution with Unified Logging
TraceClassResolution reimplemented with classresolve tag.

Reviewed-by: coleenp, dholmes, iklam, rprotacio
2015-12-23 15:05:38 -05:00
Harold Seigel
f42b84bc7e 8042660: vm/mlvm/anonloader/stress/byteMutation failed with: assert(index >=0 && index < _length) failed: symbol index overflow
Detect zero length signatures and throw ClassFormatError before bad dereference occurs

Reviewed-by: coleenp, lfoltan, acorn, gtriantafill
2015-12-23 13:02:15 -05:00
Dmitry Samersoff
76d0d92563 8067194: Restructure hotspot/agent/src to conform the modular source layout
Move sources under jdk.hotspot.agent

Reviewed-by: ihse, erikj, jbachorik
2015-12-23 13:12:15 +03:00
Rachel Protacio
7973ef05b3 8141211: Convert TraceExceptions to Unified Logging
The -XX:+TraceExceptions flag has been updated to the unified logging framework, i.e. -Xlog:exceptions. The old flag, because it is product-level, has been aliased to the UL option.

Reviewed-by: dholmes, coleenp, mockner
2015-12-22 16:29:48 -05:00
Coleen Phillimore
348d3ab0f4 Merge 2015-12-22 19:33:01 +00:00
Coleen Phillimore
ac0d55c188 8074457: Remove the non-Zero CPP Interpreter
Remove cppInterpreter assembly files and reorganize InterpreterGenerator includes

Reviewed-by: goetz, bdelsart
2015-12-22 11:11:29 -05:00
Christian Tornqvist
4f265967df Merge 2015-12-22 15:53:42 +00:00
Christian Tornqvist
357e0e5ff9 8048521: Remove obsolete code from os_windows.cpp/hpp
Reviewed-by: coleenp, rdurbin
2015-12-22 05:26:55 -08:00
Thomas Schatzl
d6e95be627 8145774: Move scrubbing setup code away out of ConcurrentMark
Remove dependency of ConcurrentMark to G1RemSet.

Reviewed-by: jmasa, mgerdin
2015-12-22 11:03:37 +01:00
Thomas Schatzl
056fb6bfd3 8145672: Remove dependency of G1FromCardCache to HeapRegionRemSet
Move HeapRegionRemSet::num_par_rem_sets() to G1RemSet, and document it.

Reviewed-by: mgerdin, jmasa
2015-12-22 11:02:04 +01:00
Igor Ignatyev
bcec08b872 Merge 2015-12-21 22:45:54 +01:00
Jon Masamitsu
aaad04a655 Merge 2015-12-21 19:43:52 +00:00
Andrew Haley
c4a81b327d 8145096: Undefined behaviour in HotSpot
Fix some integer overflows

Reviewed-by: jrose, kvn, kbarrett, adinn, iklam
2015-12-21 16:58:29 +00:00
Kishor Kharbas
790f5bded4 8143925: Enhancing CounterMode.crypt() for AES
Add intrinsic for CounterMode.crypt() to leverage the parallel nature of AES in Counter(CTR) Mode.

Reviewed-by: kvn, ascarpino
2015-12-28 23:11:01 -08:00
Christian Thalinger
fb318fc787 8146245: compiler/jvmci/ tests fail: java.lang.AssertionError: minimum config for aarch64
Reviewed-by: kvn
2015-12-28 10:10:37 -10:00
Doug Simon
ae88612f52 8146157: JVMCI must not fold accesses to @Stable fields if -XX:-FoldStableValues
Reviewed-by: twisti
2015-12-26 16:59:26 +01:00
Martin Doerr
28154b095e 8146231: ppc64/gcc 4.1.2: fix build after "8143072: [JVMCI] Port JVMCI to AArch64"
Reviewed-by: goetz
2015-12-28 10:32:20 +01:00
Andrew Haley
cee2a179e6 8143072: [JVMCI] Port JVMCI to AArch64
Reviewed-by: gdub, rschatz, twisti, kvn
2015-12-23 20:19:42 -10:00
Vivek R Deshpande
453650389f 8145688: Update for x86 pow in the math lib
Optimizes Math.pow() for 64 and 32 bit X86 architecture using Intel LIBM  implementation.

Reviewed-by: kvn
2015-12-23 21:09:50 -08:00
Christian Thalinger
066e504bba 8145435: [JVMCI] some tests on Windows fail with: assert(!thread->is_Java_thread()) failed: must not be java thread
Reviewed-by: never, dnsimon, dholmes, coleenp
2015-12-23 07:27:42 -10:00
Nils Eliasson
cd1d8e4304 8145328: SEGV in DirectivesStack::getMatchingDirective
Loop until enabled directive is found

Reviewed-by: kvn, twisti
2015-12-21 22:17:23 +01:00
Tobias Hartmann
0f67aad7af 8144487: PhaseIdealLoop::build_and_optimize() must restore major_progress flag if skip_loop_opts is true
Restore the major_progress flag before calling igvn.optimize().

Reviewed-by: kvn
2015-12-21 11:34:58 +01:00
Tobias Hartmann
60da2fdb6f 8145754: PhaseIdealLoop::is_scaled_iv_plus_offset() does not match AddI
Is_scaled_iv_plus_offset() should handle AddI nodes with scaled iv as second input.

Reviewed-by: kvn
2015-12-21 10:14:26 +01:00