6688 Commits

Author SHA1 Message Date
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
Dmitry Dmitriev
c867b023b6 8149643: Remove check of counters in VirtualSpaceNode::inc_container_count
Reviewed-by: brutisso, kbarrett, mgerdin
2016-02-16 13:20:38 -08:00
Robbin Ehn
a81f4a10da 8148219: Add decorator hostname to UL
Reviewed-by: dholmes, mlarsson
2016-02-17 11:11:47 +01:00
Daniel D. Daugherty
eb4fc599e6 Merge 2016-02-16 12:01:37 -08: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
Erik Helin
65bfc48af1 8149820: Move G1YoungGenSizer to g1CollectorPolicy.cpp
Reviewed-by: jwilhelm, tbenson
2016-02-15 15:55:58 +01:00
Bengt Rutisson
84a8b3bfc2 8149826: Concurrent misspelled in the CMS logging
Reviewed-by: david
2016-02-15 16:22:32 +01: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
David Holmes
339a7e8559 8147379: Investigate if ConvertSleepToYield still should be false by default on Sparc
Reviewed-by: dcubed, sjohanss
2016-02-15 05:54:59 -05:00
Tobias Hartmann
8b42758800 Merge 2016-02-15 11:52:51 +01:00
David Lindholm
8d8189b9e5 8149650: Create a trace event for G1 heap region type transitions
Reviewed-by: jwilhelm, sjohanss
2016-02-12 09:19:10 +01:00
David Lindholm
7323d69771 8009538: [Event Request] Want events for tenuring distribution
Reviewed-by: jwilhelm, sjohanss
2016-02-12 09:12:12 +01:00
Jesper Wilhelmsson
c6d81e192d Merge 2016-02-11 21:07:38 +01:00
David Lindholm
19bc0f3f2d 8149648: Add number of regions to the G1HeapSummary event
Reviewed-by: sjohanss, jwilhelm
2016-02-11 16:49:12 +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
Thomas Stuefe
1245e4138c 8149096: Remove unused code in methodComparator
Remove unused code in methodComparator

Reviewed-by: coleenp, sspitsyn, dholmes
2016-02-11 02:39:35 -08:00
Bengt Rutisson
4096556cc6 8149542: Missing failure reporting in HeapRegion::verify
Reviewed-by: tschatzl, jprovino
2016-02-11 08:57:00 +01:00
Bengt Rutisson
413f61e977 8149541: Use log_error() instead of log_info() when verification reports a problem
Reviewed-by: jwilhelm, tbenson
2016-02-11 08:55:36 +01:00
David Holmes
8d71b5adce Merge 2016-02-11 01:06:24 +00:00
David Holmes
15d7ff42b0 8145725: Remove the WorkAroundNPTLTimedWaitHang workaround
Reviewed-by: ddmitriev, stuefe, dcubed
2016-02-10 18:57:19 -05:00
Mikael Vidstedt
4e53f48812 8141491: Unaligned memory access in Bits.c
Introduce alignment-safe Copy::conjoint_swap and j.i.m.Unsafe.copySwapMemory

Reviewed-by: jrose, dholmes, psandoz
2016-02-10 15:20:38 -08:00
Bengt Rutisson
3fc0fa269a Merge 2016-02-10 14:30:25 +01:00
Thomas Schatzl
db86c9cfb5 Merge 2016-02-10 12:32:46 +00:00
Bengt Rutisson
ad3fb1dbbd 8148992: VM can hang on exit if root region scanning is initiated but not executed
Reviewed-by: tschatzl, pliden, jwilhelm
2016-02-10 12:56:55 +01:00
Thomas Schatzl
0bf8e8d264 8136854: G1 ConcurrentG1RefineThread::stop delays JVM shutdown for >150ms
Decrease the default wait delay for mark thread initialization to accomodate very short running applications.

Reviewed-by: tbenson, mgerdin
2016-02-10 12:08:37 +01:00
Thomas Schatzl
cb13f4c3fd 8143220: Fix documentation of InitiatingHeapOccupancyPercent
Adjust internal flag documentation to how it currently works.

Reviewed-by: brutisso, jmasa, tamao
2016-02-10 12:05:40 +01: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
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
Mikael Gerdin
8f88752757 8149013: Remove unused and dead code from G1CollectorPolicy
Reviewed-by: ehelin, jwilhelm
2016-02-04 08:22:26 +01: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
Aleksey Shipilev
8e808d813d 8149356: Leftover from JDK-8141044: UseNewCode usage
Reviewed-by: vlivanov
2016-02-10 15:58:11 +03: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
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
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