7769 Commits

Author SHA1 Message Date
Aleksey Shipilev
8e808d813d 8149356: Leftover from JDK-8141044: UseNewCode usage
Reviewed-by: vlivanov
2016-02-10 15:58:11 +03:00
Ed Nevill
a7de801a92 8148948: aarch64: generate_copy_longs calls align() incorrectly
Fix alignments

Reviewed-by: aph
2016-02-03 11:34:12 +00:00
Roland Westrelin
1462f0b038 8147645: get_ctrl_no_update() code is wrong
Array.fill intrinsification code doesn't mark replaced control as dead

Reviewed-by: kvn
2016-02-03 10:58:50 +01:00
Zoltan Majo
d25cc9be66 8148753: Compilation fails due to field accesses on array types
Treat accesses to fields of array types as accesses to fields of java.lang.Object.

Reviewed-by: kvn
2016-02-03 10:39:49 +01:00
Tobias Hartmann
694d16f4cc 8148490: RegisterSaver::restore_live_registers() fails to restore xmm registers on 32 bit
Fixed stack offsets for xmm register saving/restoring code on 32 bit.

Reviewed-by: kvn, mcberg
2016-02-03 09:09:56 +01:00
Roland Westrelin
7fa54e38e6 8137049: Code quality: reducing an trivial integer loop does not produce an optimal code
Canonicalized if shape not recognized by empty loop detection code

Reviewed-by: kvn, shade
2016-01-29 17:18:35 +01:00
Doug Simon
60a582e9be 8149019: remove redundant modifiers
Reviewed-by: twisti
2016-02-08 18:52:03 +01:00
Tom Rodriguez
7c15712c40 Merge 2016-02-08 12:13:56 -08:00
Nils Eliasson
044e5ececc 8148696: Race loading hsdis may cause SIGSEGV
Guard library loading with a lock

Reviewed-by: vlivanov
2016-02-08 14:05:45 +01:00
Tom Rodriguez
938471481b 8149076: [JVMCI] missing ResourceMark in JVMCIRuntime::initialize_HotSpotJVMCIRuntime
Reviewed-by: twisti, iignatyev
2016-02-05 12:27:02 -08:00
Roland Schatz
7e9c407a86 8149105: typo in jvmciCodeInstaller.cpp
Reviewed-by: twisti
2016-02-05 11:33:27 +01:00
Nils Eliasson
ae0867c9f8 8063112: Compiler diagnostic commands should have locking instead of safepoint
Remove unnecessary vm-ops and add locking instead, improve output

Reviewed-by: kvn
2016-01-22 15:25:40 +01:00
Doug Simon
56c2dccccf 8148981: remove ResolvedJavaType.getClassFilePath()
Reviewed-by: twisti
2016-02-03 12:16:44 +01:00
Roland Schatz
76b459d629 8146608: [JVMCI] DebugInfo Tests on DeoptimizeALot runs fails in assert(_pc == *pc_addr || pc == *pc_addr) frame::patch_pc() /frame_x86.cpp:285
Reviewed-by: twisti
2016-02-03 12:16:44 +01:00
Jamsheed Mohammed
eb2347dd71 8143897: Weblogic12medrec assert(handler_address == SharedRuntime::compute_compiled_exc_handler(nm, pc, exception, force_unwind, true)) failed: Must be the same
ExceptionCache read is lock-free and assume strong memory ordering in write code. Added storestore memory barrier in write path to handle this.

Reviewed-by: kvn, thartmann, dlong
2016-02-04 12:33:31 +01:00
Krystal Mo
415eda1274 8003585: strength reduce or eliminate range checks for power-of-two sized arrays
Change ((x & m) u<= m) to always true and ((x & (m - 1)) u< m) into (m > 0)

Reviewed-by: kvn, roland
2016-01-19 14:52:33 +01:00
Tobias Hartmann
9e2947c3c6 Merge 2016-01-29 08:47:18 +01:00
Tobias Hartmann
832443d3b0 Merge 2016-01-28 09:49:17 +01:00
Felix Yang
c675914f1c 8148328: aarch64: redundant lsr instructions in stub code
Avoid redundant lsr instructions in jbyte_arraycopy and jbyte_disjoint_arraycopy.

Reviewed-by: aph
2016-01-27 12:20:53 +08:00
Zoltan Majo
477c40e4eb 8146478: Node limit exceeded with -XX:AllocateInstancePrefetchLines=1073741823
Constrain the set of accepted values for the Allocate{PrefetchLines, InstancePrefetchLines, PrefetchStepSize, PrefetchDistance} flags. Increase macro node expansion budget.

Reviewed-by: kvn
2016-01-28 08:33:45 +01:00
Ed Nevill
272ee0ade8 8148240: aarch64: random infrequent null pointer exceptions in javac
Disable fp as an allocatable register

Reviewed-by: aph
2016-01-26 14:04:01 +00:00
Christian Wimmer
b220252b74 8148202: move lookup of Java class and hub from ResolvedJavaType to ConstantReflectionProvider
Reviewed-by: twisti
2016-01-26 11:28:54 -10:00
Tobias Hartmann
60aa7225b0 Merge 2016-01-26 11:53:47 +00:00
Tobias Hartmann
d569a59522 8147876: ciTypeFlow::is_dominated_by() writes outside dominated array
CiTypeFlow::is_dominated_by() should use block_count() instead of _methodBlocks->num_blocks().

Reviewed-by: neliasso, vlivanov, kvn
2016-01-26 10:46:15 +01:00
Roland Westrelin
36577606f6 Merge 2016-01-26 10:41:05 +01:00
Tobias Hartmann
2beba05b8b Merge 2016-01-26 09:11:58 +01:00
Tom Rodriguez
a3351a8233 8148101: [JVMCI] Make CallingConvention.Type extensible
Reviewed-by: twisti
2016-01-25 09:12:58 -08:00
Roland Westrelin
dc88c70fbb 8147853: "assert(t->meet(t0) == t) failed: Not monotonic" with sun/util/calendar/zi/TestZoneInfo310.java
Type of counted loop Phi may be saturated before special code to handle counted loops kicks in

Reviewed-by: kvn
2016-01-21 18:04:14 +01:00
Goetz Lindenmaier
4e99638d69 8147937: Adapt SAP copyrights to new company name
Reviewed-by: simonis, stuefe
2016-01-21 12:37:47 +01:00
Tom Rodriguez
4205407d83 8146424: runtime/ReservedStack/ReservedStackTest.java triggers: assert(thread->deopt_mark() == __null) failed: no stack overflow from deopt blob/uncommon trap
Reviewed-by: twisti
2016-01-22 11:11:06 -08:00
Tom Rodriguez
87d68c21c4 8147432: JVMCI should report bailouts in PrintCompilation output
Reviewed-by: kvn, twisti
2016-01-22 11:08:07 -08:00
Tobias Hartmann
a5d7b2b450 8065334: CodeHeap expansion fails although there is uncommitted memory
CodeHeap::expand_by() should commit remaining space if requested expansion size is too large.

Reviewed-by: kvn
2016-01-22 12:37:32 +01:00
Tobias Hartmann
f10b59d34a Merge 2016-01-21 11:30:22 +00:00
Daniel D. Daugherty
8411cfaf4e Merge 2016-01-20 14:11:25 -08:00
Hui Shi
79dd998f3e 8147805: aarch64: C1 segmentation fault due to inline Unsafe.getAndSetObject
In Aarch64 LIR_Assembler.atomic_op, keep stored data reference register in decompressed forms as it may be used later

Co-authored-by: Felix Yang <felix.yang@linaro.org>
Reviewed-by: aph
2016-01-20 04:56:51 -08:00
Roland Schatz
5456fcf370 8147599: [JVMCI] simplify code installation interface
Reviewed-by: twisti
2016-01-20 14:22:46 +01:00
Volker Simonis
f3dca540d8 8145336: PPC64: fix string intrinsics after CompactStrings change
Reviewed-by: mdoerr, aph, kvn
2016-01-20 16:33:51 +01:00
Thomas Stuefe
3927e409fb 8147509: [aix] Newlines missing in register info printout
Reviewed-by: simonis
2016-01-20 09:18:36 +01:00
Alejandro Murillo
7300cb856d 8146653: Debug version missing in hs_err files and on internal version after Verona
Reviewed-by: dcubed, dholmes
2016-01-19 18:39:23 -08:00
Roland Westrelin
bf99c27274 8147386: assert(size == calc_size) failed: incorrect size calculattion x86_32.ad
Incorrect offset used in spill code for vectors

Reviewed-by: vlivanov, kvn, mcberg
2016-01-19 17:58:02 +01:00
Axel Siebenborn
84ae91a490 8147611: G1 - Missing memory barrier in start_cset_region_for_worker
Reviewed-by: mgerdin, tschatzl
2016-01-19 09:39:28 +01:00
Frederic Parain
ae7f8632ce 8146751: jdk/test/tools/launcher/TooSmallStackSize.java failed on Mac OS
Reviewed-by: dholmes, gtriantafill
2016-01-19 05:28:34 -08:00
Erik Helin
6232df1012 Merge 2016-01-19 11:48:35 +01:00
Erik Helin
f646b9fac7 8147012: Fix includes in internalVMTests.cpp
Reviewed-by: stefank, mgerdin
2016-01-19 11:00:29 +01:00
Andreas Eriksson
7366cfb6d2 8129419: heapDumper.cpp: assert(length_in_bytes > 0) failed: nothing to copy
Reviewed-by: dsamersoff
2016-01-19 10:02:22 +01:00
Roland Schatz
fdb6716fd4 8147564: [JVMCI] remove unused method CodeCacheProvider.needsDataPatch
Reviewed-by: twisti
2016-01-18 17:31:14 +01:00
Andrew Haley
6b826df140 8146709: AArch64: Incorrect use of ADRP for byte_map_base
Reviewed-by: roland
2016-01-19 17:52:52 +00:00
Roland Westrelin
b6658d2b5f 8146999: hotspot/test/compiler/c2/8007294/Test8007294.java test nightly failure
Uncast() fails with CheckCastPP

Reviewed-by: kvn, thartmann
2016-01-18 21:34:28 +01:00
Erik Helin
ca6e612810 Merge 2016-01-18 15:11:47 +01:00
Bengt Rutisson
a52e26777d 8147464: Use LogConfiguration::configure_stdout() instead of parse_log_arguments
Reviewed-by: mlarsson, sjohanss
2016-01-18 09:14:58 +01:00