6957 Commits

Author SHA1 Message Date
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
Sangheon Kim
f17b4db454 8146695: FinalizeTest04 crashes VM with EXCEPTION_INT_DIVIDE_BY_ZERO
Reviewed-by: jwilhelm, jprovino
2016-01-08 08:51:18 -08:00
David Lindholm
b61875dc9b 8146694: Break out shared constants and static BOT functions
Reviewed-by: jwilhelm, tbenson
2016-01-11 09:14:01 +01:00
David Holmes
9760f7ac92 8146222: assert(_initialized) failed: TLS not initialized yet!
Reviewed-by: dcubed
2016-01-10 20:02:50 -05:00
Daniel D. Daugherty
1a0f49140b Merge 2016-01-09 02:23:04 +00:00
Ron Durbin
00f6aa5a7c 8135198: Add -XX:VMOptionsFile support to JAVA_TOOL_OPTIONS and _JAVA_OPTIONS
Reviewed-by: dcubed, ddmitriev, ahgross, gthornbr, coleenp
2016-01-08 15:38:08 -08:00
Alexander Harlap
22ad9cec84 8145037: Clean up FreeIdSet usage
Avoid wasting space for the unused sets

Reviewed-by: tschatzl
2016-01-08 15:41:44 -05:00
Joseph Provino
9288ff53e7 Merge 2016-01-07 21:10:28 +00:00
Rachel Protacio
6dac872d4d 8141564: Convert TraceItables and PrintVtables to Unified Logging
The former -XX:+TraceItables and +PrintVtables flags have been converted to UL options -Xlog:itables=trace and vtables=trace

Reviewed-by: acorn, coleenp, dholmes
2016-01-07 13:53:20 -05:00
David Lindholm
98193d202b 8146399: Refactor the BlockOffsetTable classes
Reviewed-by: mgerdin, jwilhelm, tschatzl
2016-01-07 16:25:53 +01:00
David Lindholm
a476bf01f4 8146409: TestPromotionFailedEventWithParallelScavenge.java failed with assert(_time_stamps != __null) failed: Sanity
Reviewed-by: tschatzl, jwilhelm
2016-01-07 14:55:12 +01:00
Chris Hegarty
2d19a4c550 8145544: Move sun.misc.VM to jdk.internal.misc
Reviewed-by: alanb, dholmes, mullan, weijun
2016-01-06 10:03:03 +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
Sangheon Kim
7479dffbc6 8144527: NewSizeThreadIncrease would make an overflow
Revert to previous value if NewSizeThreadIncrease related calculation overflows

Reviewed-by: jwilhelm, mgerdin, mchernov
2016-01-05 17:05:13 -08:00
Ioi Lam
4e9dd68311 8145593: Clean up metaspaceShared.cpp
Reviewed-by: jiangli
2016-01-04 13:57:34 -08:00
Goetz Lindenmaier
b26df6b69f 8146401: Clean up oop.hpp: add inline directives and fix header files
Reviewed-by: coleenp
2016-01-04 15:41:05 +01: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
Kim Barrett
c3808b2091 8143847: Remove REF_CLEANER reference category
Remove REF_CLEANER.

Reviewed-by: jwilhelm, mchung, tbenson
2015-12-28 13:59:20 -05: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
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
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
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
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
Nils Eliasson
dde534535b 8145566: PrintNMethods compile command broken since b89
Decremented Symbol twice

Reviewed-by: thartmann, kvn
2015-12-19 19:06:02 +01:00