7551 Commits

Author SHA1 Message Date
Rahul Raghavan
b239e217b9 8145707: 4 Null pointer dereference defect groups in compileBroker.cpp
Added explicit null checks to fix possible null pointer dereference errors for internal tests.

Reviewed-by: kvn
2016-02-19 10:06:19 +01:00
Tom Rodriguez
cc370ff8f2 8150075: [JVMCI] expose reserved stack machinery and Inline flag in HotSpotVMConfig
Reviewed-by: kvn, twisti
2016-02-17 09:57:10 -08:00
Rahul Raghavan
2c5e376d98 6378256: Performance problem with System.identityHashCode in client compiler
Enabled C1 optimization to try pull out hashCode from object header, before calling into the VM.

Reviewed-by: dlong, roland, thartmann
2016-02-17 12:24:53 +01:00
Tom Rodriguez
05730d99ba 8149969: [JVMCI] PrintNMethods is ignored for CompilerToVM.installCode when not called from the broker
Reviewed-by: kvn
2016-02-16 09:49:58 -08:00
Aleksey Shipilev
03174f3030 8149813: Move trusted final field handling from C2 LoadNode::Value to shared code
Reviewed-by: thartmann, kvn
2016-02-15 23:45:15 +03:00
Vladimir Ivanov
8555d89404 Merge 2016-02-15 18:42:45 +00:00
Vladimir Ivanov
f1fe7d5aca 8148994: Replacing MH::invokeBasic with a direct call breaks LF customization
Reviewed-by: jrose, redestad
2016-02-15 20:26:50 +03:00
Vladimir Ivanov
e675738256 8138922: StubCodeDesc constructor publishes partially-constructed objects on StubCodeDesc::_list
Reviewed-by: kvn, coleenp, dholmes
2016-02-15 20:26:02 +03:00
Vladimir Ivanov
596b56f6c7 8149141: Optimized build is broken
Reviewed-by: kvn, kbarrett
2016-02-15 20:02:51 +03:00
Roland Westrelin
0cd6070d58 8149797: Compilation fails with "assert(in_hash) failed: node should be in igvn hash table"
Node replaced by dominating dead cast during parsing

Reviewed-by: kvn
2016-02-15 15:15:56 +01:00
Konstantin Shefov
2099cecfb0 Merge 2016-02-15 13:26:44 +01:00
Konstantin Shefov
a23b1b586f 8149740: NPEs when executing some HotSpotConstantReflectionProvider with null args
Reviewed-by: twisti, dnsimon
2016-02-15 14:32:49 +03:00
Konstantin Shefov
bf33c21af5 8149472: NPE when executing HotSpotConstantReflectionProvider::constantEquals with null first arg
Reviewed-by: twisti, kvn, dnsimon
2016-02-15 14:31:21 +03:00
Tobias Hartmann
8b42758800 Merge 2016-02-15 11:52:51 +01:00
Jesper Wilhelmsson
c6d81e192d Merge 2016-02-11 21:07:38 +01:00
Roland Westrelin
3e3ac8f318 8149543: range check CastII nodes should not be split through Phi
Splitting range check CastIIs through loop induction Phi prevents further optimizations

Reviewed-by: kvn, mcberg
2016-02-11 12:42:12 +01:00
Michael Berg
3ade110066 8149421: Vectorized Post Loops
Add vectorised post loop for counted loops with vectors.

Reviewed-by: kvn
2016-02-12 16:12:15 -08:00
Tobias Hartmann
afca49ff29 8148752: Compiled StringBuilder code throws StringIndexOutOfBoundsException
Fixed handling of long/double MH arguments in GraphBuilder::try_method_handle_inline().

Reviewed-by: roland, shade, vlivanov, kvn, twisti
2016-02-10 07:54:26 +01:00
Marcus Larsson
76628c45b9 8149112: configure_stdout test depends on VM arguments
Reviewed-by: ehelin, jbachorik
2016-02-09 12:19:05 +01:00
Doug Simon
075ed4ea75 8148507: [JVMCI] mitigate deadlocks related to JVMCI compiler under -Xbatch
Reviewed-by: twisti, dholmes
2016-02-08 18:52:03 +01:00
Roland Schatz
7cf2c51fa7 8148741: compiler/jvmci/code/SimpleDebugInfoTest.java fails in 'frame::sender_for_compiled_frame'
Reviewed-by: twisti
2016-02-08 18:52:03 +01:00
Kirill Zhaldybin
75826ca4d5 8149184: os::is_server_class_machine() could return incorrect result if a host's cpu have a few logical cores
Reviewed-by: dsamersoff, dholmes
2016-02-08 18:26:27 +03:00
Hui Shi
663e1a5c6d 8149080: AArch64: Recognise disjoint array copy in stub code
Detect array copy can use fwd copy by checking (dest-src) above_same (copy_size)

Reviewed-by: aph
2016-02-05 03:55:51 -08:00
Hui Shi
9ad1ef5b10 8149100: AArch64: "bad AD file" for LL enconding AryEq Node matching
Add byte array equal support for aarch64

Reviewed-by: aph
2016-02-06 04:09:47 -08:00
Ed Nevill
4c5566f502 8149365: aarch64: memory copy does not prefetch on backwards copy
Implement prefetch on backwards copies

Reviewed-by: aph
2016-02-08 14:14:35 +00:00
Ed Nevill
eaaec5b879 8148783: aarch64: SEGV running SpecJBB2013
Fix calculation of offset for adrp

Reviewed-by: aph
2016-02-04 16:24:28 +00:00
Roland Westrelin
9d5f03332e 8143542: C2 doesn't eliminate identical checks
Two identical Ifs back to back can be merged

Reviewed-by: kvn
2016-02-03 12:36:18 +01:00
Christian Thalinger
477e23c17f 8149689: [JVMCI] CodeInstaller::pd_patch_DataSectionReference should be able to throw exceptions
Reviewed-by: kvn
2016-02-11 12:29:40 -10:00
Christian Thalinger
272bd6a401 8149695: [JVMCI] add missing Checkstyle configuration file
Reviewed-by: kvn
2016-02-11 11:32:44 -10:00
Rahul Raghavan
02290b357c 8145700: Uninitialised variable in macroAssembler_x86.cpp:7038
Added missing local variable initializations.

Reviewed-by: kvn, vlivanov, thartmann, mcberg
2016-02-11 11:15:13 +01:00
Christian Thalinger
98bbb4efa0 8149415: [AArch64] implement JVMCI CodeInstaller
Reviewed-by: aph, kvn
2016-02-10 11:23:17 -10:00
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
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
Roland Westrelin
918ff2456b Merge 2016-02-03 13:32:52 +01: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
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