6992 Commits

Author SHA1 Message Date
Nils Eliasson
e09bb29c2d 8148159: [TESTBUG] TestCompilerDirectivesCompatibility tests fails on non-tiered server VMs
Add whitebox for checking available compilers

Reviewed-by: kvn
2016-02-25 10:42:42 +01:00
Tobias Hartmann
52c7cb7221 8150441: CompileTask::print_impl() is broken after JDK-8146905
Timestamps should be explicitly initialized.

Reviewed-by: dholmes
2016-02-25 08:47:57 +01:00
Aleksey Shipilev
6e26b67678 8150514: C1 crashes in Canonicalizer::do_ArrayLength() after fix for JDK-8150102
Reviewed-by: thartmann, vlivanov
2016-02-24 18:43:51 +03:00
Aleksey Shipilev
0c43809cfe 8148146: Integrate new internal Unsafe entry points, and basic intrinsic support for VarHandles
Reviewed-by: psandoz, kvn, jrose, adinn, simonis, coleenp
2016-02-23 22:09:41 +03:00
Roland Westrelin
449c65bf50 8007986: GrowableArray should implement binary search
Binary search method for GrowableArray

Reviewed-by: vlivanov, jrose
2016-02-23 17:59:27 +01:00
Aleksey Shipilev
0e31a18fd1 8150180: String.value contents should be trusted
Reviewed-by: vlivanov, redestad, jrose, twisti
2016-02-23 17:55:20 +03:00
Jamsheed Mohammed C M
36e011b2f0 8145333: -XX:+EnableJVMCI -XX:+UseJVMCICompiler -XX:-EnableJVMCI makes JVM crash
JVMCI Flags are checked for consistency after parse.

Reviewed-by: twisti
2016-02-22 23:37:29 -08:00
Aleksey Shipilev
1e654fe813 8150102: C1 should fold arraylength for constant/trusted arrays
Reviewed-by: vlivanov, kvn
2016-02-19 11:16:38 +03: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
Roland Westrelin
98eca9ebe8 8148786: xml.tranform fails on x86-64
CCP computes wrong type for CountedLoop iv Phi

Reviewed-by: kvn
2016-02-17 10:59:04 +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
Andrew Dinn
78d37841ef 8087341: C2 doesn't optimize redundant memory operations with G1
Effect of memory barrier in post barrier is too wide

Reviewed-by: kvn, aph
2016-02-15 10:14:33 +01:00
Tobias Hartmann
4c22e8e014 Merge 2016-02-22 08:04:12 +01:00
Konstantin Shefov
30e4522d2f 8141616: Add new methods to the java Whitebox API
Reviewed-by: kvn, dpochepk
2016-02-20 11:44:14 +03:00
Vladimir Ivanov
a026f88a38 8067014: LinearScan::is_sorted significantly slows down fastdebug builds' performance
Reviewed-by: vlivanov, shade
2016-02-19 20:45:26 +03:00
Vladimir Ivanov
78fbdd19fa 8149741: Don't refer to stub entry points by index in external_word relocations
Reviewed-by: kvn
2016-02-19 20:41:36 +03:00
Vladimir Ivanov
4532f54300 7177745: JSR292: Many Callsite relinkages cause target method to always run in interpreter mode
Reviewed-by: jrose, kvn
2016-02-19 20:40:20 +03:00
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
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