Commit Graph

10545 Commits

Author SHA1 Message Date
Robbin Ehn
64f428726b 8150026: Add the ability to log with variable log level
Reviewed-by: brutisso, mlarsson
2016-02-26 10:51:01 +01:00
Lana Steuck
66ce266894 Merge 2016-02-25 11:27:59 -08:00
Max Ockner
4f6dba1568 8150103: Convert TraceClassPaths to Unified Logging
TraceClassPaths has been reimplemented with Unified Logging

Reviewed-by: coleenp, dholmes, iklam
2016-02-25 13:09:17 -05:00
Lana Steuck
5d8cb4fdb9 Added tag jdk-9+107 for changeset f3c43d82c968 2016-02-25 09:41:40 -08:00
Jesper Wilhelmsson
bf7f1925fd 8150647: Quarantine TestPLABResize.java until JDK-8150183 is fixed
8150562: Quarantine LoadAgentDcmdTest.java due to JDK-8150318

Reviewed-by: iklam, tschatzl
2016-02-25 17:26:49 +01:00
Andrew Haley
986f3b0afd 8150652: Remove unused code in AArch64 back end
Reviewed-by: kvn
2016-02-25 14:59:44 +00:00
Andrew Haley
98d969d374 Merge 2016-02-25 14:47:08 +00:00
Aleksey Shipilev
4a8c4fc074 8150534: C1 compilation fails with "Constant field loads are folded during parsing"
Reviewed-by: vlivanov, thartmann
2016-02-25 15:10:16 +03:00
Mikael Gerdin
167ce92545 8150390: Move rs length sampling data to the sampling thread
Reviewed-by: drwhite, jwilhelm
2016-02-25 11:20:03 +01:00
Nils Eliasson
1e758f661b Merge 2016-02-25 11:17:33 +01:00
Nils Eliasson
d596cf06af 8069160: serviceability/dcmd/compiler/CompilerQueueTest.java fails due to class not found
Use whitebox to test specific cases making test less fragile

Reviewed-by: kvn
2016-02-25 10:44:51 +01:00
Nils Eliasson
607365df56 8149789: SIGSEGV in CompileTask::print
Print tasks from active compile threads requires safepoint

Reviewed-by: kvn
2016-02-25 10:44:19 +01:00
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
Shafi Ahmad
a9a432a1a1 8150002: Check for the validity of oop before printing it in verify_remembered_set
Adding missing check for valid oop.

Reviewed-by: dcubed
2016-02-25 11:27:13 +05:30
Roland Westrelin
7c3120b3da Merge 2016-02-24 20:18:04 +00: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
Andrew Haley
087b888832 Merge 2016-02-24 12:38:50 +00:00
Derek White
8961912c74 8134992: vm/gc/compact/Compact_InternedStrings_Strings failed due to a malloc() failure
Reviewed-by: mgerdin, brutisso
2016-02-24 09:25:39 +01:00
Christian Tornqvist
ba20c3bc65 Merge 2016-02-25 01:55:45 +00:00
Kim Barrett
0173fa4300 Merge 2016-02-25 01:23:10 +01:00
David Holmes
f90ee1a167 Merge 2016-02-24 22:22:41 +00:00
Christian Tornqvist
c25e32cc70 8150490: Update OS detection code to recognize Windows Server 2016
Reviewed-by: mgronlun, alanb, dholmes
2016-02-24 16:34:25 -05:00
David Holmes
453c5ef375 8150506: Remove unused locks
Reviewed-by: mgronlun, tschatzl, mgerdin, coleenp
2016-02-24 16:04:51 -05:00
Coleen Phillimore
1907077efd Merge 2016-02-24 21:55:26 +01:00
Kim Barrett
5d5113046a 8150419: Cleanup BufferNode API
Fewer public functions, cleanup allocation.

Reviewed-by: tschatzl, drwhite
2016-02-24 13:18:54 -05:00
Thomas Stuefe
3634fb9df2 8149036: Add tracing for thread related events at os level
Reviewed-by: coleenp, mlarsson, dholmes
2016-02-24 18:06:34 +01:00
Alejandro Murillo
f73f546c19 Merge 2016-02-23 18:57:06 -08:00
Thomas Stuefe
ad6d8685e4 8150379: [windows] Fix Leaks in perfMemory_windows.cpp
Reviewed-by: clanger, dholmes, gthornbr
2016-02-23 19:10:01 -05:00
Timo Kinnunen
44c03b15e2 8150426: Wrong cast in metadata_at_put
Fix cast.

Reviewed-by: dholmes, coleenp, jprovino
2016-02-23 18:58:36 -05:00
Magnus Ihse Bursie
4e4d31d0a9 8150257: Remove softfloat lib support
Reviewed-by: dholmes, erikj
2016-02-23 21:44:05 +01: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
Roland Westrelin
744d73a67f 8148353: [linux-sparc] Crash in libawt.so on Linux SPARC
Gcc expects clean 32 bit int in 64 bit register on function entry

Reviewed-by: kvn, dlong
2016-02-23 17:18:31 +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
Thomas Schatzl
02c98c814f Merge 2016-02-23 14:14:29 +01:00
Antonios Printezis
861dc13645 8146989: Introduce per-worker preserved mark stacks in ParNew
Unify and provide per-worker preserved mark stack handling in ParNew

Reviewed-by: tschatzl, ysr
2016-02-23 10:44:05 +01:00
Bengt Rutisson
e020d2f477 8150367: Add back information about the number of GC workers
Reviewed-by: sjohanss, tschatzl
2016-02-23 09:52:46 +01: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
Roland Westrelin
310eb4ad4d Merge 2016-02-23 10:22:56 +00:00
Jesper Wilhelmsson
8c7980f33a Merge 2016-02-22 19:25:32 +00:00
Jesper Wilhelmsson
e76fbbafb5 Merge 2016-02-22 19:46:37 +01:00
Jon Masamitsu
0c28c2ee37 8150302: Reference processing logging prints the "from list" incorrectly
Reviewed-by: tamao, brutisso
2016-02-22 09:41:56 -08:00
Ed Nevill
5f3739f293 8150313: aarch64: optimise array copy using SIMD instructions
Reviewed-by: aph
2016-02-20 15:15:35 +00:00
Ed Nevill
af0f23a617 8150082: aarch64: optimise small array copy
Reviewed-by: aph
2016-02-20 15:11:42 +00:00
Ed Nevill
f4b4c5d7b0 8150394: aarch64: add support for 8.1 LSE CAS instructions
Co-authored-by: Ananth Jasty <ananth.jasty@caviumnetworks.com>
Reviewed-by: aph
2016-03-08 14:39:50 +00:00
Mikael Vidstedt
d4b4dca194 8151002: Make Assembler methods vextract and vinsert match actual instructions
Reviewed-by: kvn, vlivanov, mcberg
2016-03-07 15:03:48 -08:00
Gustavo Romero
1c2427a182 8150353: PPC64LE: Support RTM on linux
Reviewed-by: mdoerr, kvn
2016-03-07 10:03:06 -03:00
Zoltan Majo
77c73b6d4f Merge 2016-03-07 09:34:29 +01:00
Tobias Hartmann
ab85038e4a Merge 2016-03-04 13:16:50 +00:00
Rahul Raghavan
29b4b2182c 8140721: ProfilerNumberOf*Methods flags should be diagnostic
Converted four ProfilerNumberOf*Methods flags from develop to diagnostic.

Reviewed-by: twisti
2016-03-04 01:18:08 -08:00
Zoltan Majo
d30d687178 8150839: Adjust the number of compiler threads for 32-bit platforms
Set the number of compiler threads to 3 on 32-bit platforms.

Reviewed-by: iveresov
2016-03-04 08:53:59 +01:00
Vivek Deshpande
40fe96de0d 8150767: Enables SHA Extensions on x86
Add x86 intrinsics for SHA-1 and SHA-256.

Co-authored-by: Shravya Rukmannagari <shravya.rukmannagari@intel.com>
Reviewed-by: kvn, twisti
2016-03-03 22:02:13 -08:00
Aleksey Shipilev
103aff334f 8146801: Allocating short arrays of non-constant size is slow
Reviewed-by: kvn, twisti, vlivanov
2016-03-04 01:30:11 +03:00
Aleksey Shipilev
548530cf08 8150465: Unsafe methods to produce uninitialized arrays
Reviewed-by: jrose, kvn, psandoz, aph, twisti, flar
2016-03-03 23:57:29 +03:00
Aleksey Shipilev
890f94d7e6 8150669: C1 intrinsic for Class.isPrimitive
Reviewed-by: twisti, vlivanov, redestad
2016-03-03 22:17:38 +03:00
Mikael Vidstedt
c40e7bc21f 8149159: Clean up Unsafe
Reviewed-by: jrose, kvn, stsmirno, chegar, aph, psandoz, redestad, twisti
2016-03-03 09:33:30 -08:00
Pavel Punegov
adde13cc80 Merge 2016-03-03 16:54:06 +01:00
Pavel Punegov
694727f144 8148563: compiler/compilercontrol/jcmd/StressAddMultiThreadedTest.java timesout
Decrease amount of directives and threads

Reviewed-by: neliasso
2016-03-01 20:17:27 +03:00
Christoph Langer
5d04cc8e61 8150232: AIX cleanup: Integrate changes of 7178026 and others
Reviewed-by: simonis
2016-02-19 10:44:54 +01:00
Kim Barrett
390295caf1 8150134: Simplify concurrent refinement thread deactivation
Remove explicit deactivation and use green stop_at value.

Reviewed-by: jmasa, tschatzl
2016-02-19 15:14:59 -05:00
Magnus Ihse Bursie
d47edefb9c Merge 2016-02-19 15:25:05 +01:00
Mikael Gerdin
732441b231 Merge 2016-02-19 14:15:13 +01:00
Magnus Ihse Bursie
f1812d9e9f 8150201: Restore missing -g flags to files with OPT_CFLAGS/per-file
Reviewed-by: dholmes, erikj
2016-02-19 14:04:20 +01:00
Mikael Gerdin
a43f54134a Merge 2016-02-19 13:08:38 +01:00
Dmitry Dmitriev
0c1c39bbee Merge 2016-02-19 12:47:16 +01:00
Dmitry Dmitriev
04d2edfca3 8146187: Print develop and nonproduct flags by -XX:+PrintFlags* options in debug build
Reviewed-by: gtriantafill, gziemski, dholmes
2016-02-19 13:24:21 +03:00
Felix Yang
d466ce4948 8150229: aarch64: pipeline class for several instructions is not set correctly
Aarch64: c2 fix pipeline class for several instructions.

Reviewed-by: aph
2016-02-19 17:12:14 +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
Alejandro Murillo
d55b2fce32 Merge 2016-02-18 15:19:39 -08:00
Lana Steuck
6e2c7c6c74 Merge 2016-02-18 13:42:10 -08:00
Roger Riggs
50b82e8d5e 8149750: Decouple sun.misc.Signal from the base module
Reviewed-by: dholmes, chegar
2016-02-18 14:45:13 -05:00
Lana Steuck
e16feff964 Added tag jdk-9+106 for changeset e15ec0a78e45 2016-02-18 11:30:10 -08:00
Jesper Wilhelmsson
6f4adc7c72 Merge 2016-02-18 18:10:35 +01:00
Andreas Eriksson
35a916a2a1 8149743: JVM crash after debugger hotswap with lambdas
Reviewed-by: sspitsyn, coleenp, dcubed
2016-02-18 16:15:28 +01:00
Yasumasa Suenaga
2cfe5a01c4 8147388: Add diagnostic commands to attach JVMTI agent
Reviewed-by: jbachorik, sspitsyn
2016-02-18 23:26:43 +09:00
Felix Yang
40cdd7a181 8149907: aarch64: use load/store pair instructions in call_stub
Aarch64: make use of load/store pair instructions in call_stub to save space

Reviewed-by: aph
2016-02-18 21:53:24 +08:00
Derek White
98289a12c9 8149837: String.intern creates morre work than necessary for G1
Only use the SATB read barrier when reading existing strings from string table, not when adding new strings.

Reviewed-by: stefank, kbarrett
2016-02-17 18:02:03 -05:00
Rachel Protacio
3cf4e3909c 8149383: Convert TraceBiasedLocking to Unified Logging
The former -XX:+TraceBiasedLocking flag has been converted to the UL option -Xlog:biasedlocking=info and =trace, with the old option being aliased.

Reviewed-by: dholmes, dcubed
2016-02-18 17:10:48 -05:00
Alexander Kulyakhtin
af854404be 8150067: Quarantine serviceability/tmtools/jstat/GcCapacityTest.java
Quarantine a falsely failing test until the test issue is fixed

Reviewed-by: sla
2016-02-18 14:56:53 +03:00
David Holmes
56e60ab045 Merge 2016-02-18 03:51:44 +00:00
Volker Simonis
a5c5a3b609 8150079: MSVC prior to VS 2013 doesn't know the 'va_copy' macro
Reviewed-by: dholmes
2016-02-17 22:17:49 -05:00
Coleen Phillimore
64acd597eb Merge 2016-02-18 03:47:47 +01:00
Kim Barrett
1153ecb06f Merge 2016-02-17 23:57:17 +01:00
Severin Gehwolf
3a99569b6f 8143245: Zero build requires disabled warnings
Reviewed-by: dholmes, coleenp
2016-02-17 17:03:31 -05:00
Kim Barrett
7c684d5249 8149793: DirtyCardQueueSet::apply_closure_to_completed_buffer_helper isn't helpful
Merge helper into sole caller.

Reviewed-by: brutisso, jwilhelm, tschatzl
2016-02-17 16:00:27 -05:00
Rachel Protacio
92f9c27eec 8148630: Convert TraceStartupTime to Unified Logging
The former -XX:+TraceStartupTime flag has been converted to the UL option -Xlog:startuptime=info

Reviewed-by: coleenp, dholmes
2016-02-17 14:03:18 -05: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
Andrew Haley
8dd35ed3dd 8150045: arraycopy causes segfaults in SATB during garbage collection
Reviewed-by: roland
2016-02-17 14:06:45 +00:00
Felix Yang
a30c46aa74 8150038: aarch64: make use of CBZ and CBNZ when comparing narrow pointer with zero
Aarch64: c2 make use of CBZ and CBNZ when comparing narrow pointer with zero

Reviewed-by: aph
2016-02-17 20:19:24 +08:00
Hui Shi
f73f7433d0 8149733: AArch64: refactor array_equals/string_equals
Combine similar code for string_equals/char_array_equals/byte_array_equals into same implemenation

Reviewed-by: aph, shade
2016-02-24 04:45:50 -08:00
Vladimir Ivanov
bb51ea7a06 8150543: Mismatched access detection is inaccurate
Reviewed-by: kvn, shade
2016-02-29 23:46:55 +03:00
Claes Redestad
ea5a3565b8 8150720: Cleanup code around PrintOptoStatistics
Reviewed-by: kvn, shade, vlivanov
2016-02-29 15:05:45 +01:00
Zoltan Majo
babca85232 8150349: Reduce the execution time of the hotspot_compiler_3 group
Exclude long-running intrinsic-related tests that check functionality that is not likely to be changed soon.

Reviewed-by: kvn, neliasso
2016-02-29 13:02:10 +01:00
Tobias Hartmann
eca88d0a0c Merge 2016-02-29 09:02:13 +01:00
Christian Thalinger
f9a6dbd5fd 8150738: [JVMCI] runtime/CommandLine/TraceExceptionsTest.java fails with: java.lang.RuntimeException: '<a 'java/lang/ClassNotFoundException': NoClassFound>' missing
Reviewed-by: coleenp
2016-02-26 11:13:25 -10:00
Vladimir Ivanov
782e6b33f2 8068038: C2: large constant offsets aren't handled on SPARC
Reviewed-by: kvn
2016-02-26 15:54:55 +03:00
Vladimir Ivanov
a7d78599d7 8150436: Incorrect invocation mode when linkToInteface linker is eliminated
Reviewed-by: kvn, shade
2016-02-26 01:58:29 +03:00
Vladimir Ivanov
abebc2da5c 8150186: Folding mismatched accesses with @Stable is incorrect
Reviewed-by: kvn, jrose, shade
2016-02-26 01:58:26 +03:00
Christian Thalinger
88575c5de7 8150561: [AArch64] JVMCI improvements
Reviewed-by: kvn
2016-02-24 09:22:45 -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
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
Dmitry Dmitriev
363bf8088b Merge 2016-02-17 12:44:41 +00:00
Robbin Ehn
a81f4a10da 8148219: Add decorator hostname to UL
Reviewed-by: dholmes, mlarsson
2016-02-17 11:11:47 +01:00
Dmitry Dmitriev
a4d0bc4a4e 8144578: TestOptionsWithRanges test only ever uses the default collector
Reviewed-by: sangheki, dholmes
2016-02-17 11:00:57 +03:00
Kim Barrett
6d0ef1b692 8146728: TestPrintGCDetailsVerbose is never run by jtreg
Remove requirement for fastdebug, update logging option

Reviewed-by: sjohanss, brutisso, dfazunen
2016-02-16 21:58:49 -05: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
Roland Westrelin
db36e29ab0 8149916: Test case for 8149797
Reviewed-by: kvn
2016-02-16 12:54:20 +01: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
Alejandro Murillo
efb03507e3 Merge 2016-02-15 09:44:42 -08: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
David Holmes
cbdc1d3061 8149427: Remove .class files from the hotspot repo .hgignore file
Reviewed-by: mikael, twisti
2016-02-15 21:57:30 -05: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
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
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
719c07ec10 8141619: Develop new tests for JVMCI compilerToVM class' CP related methods
Reviewed-by: twisti, dpochepk
2016-02-20 11:49:45 +03:00
Konstantin Shefov
ac6fe07b05 8141618: Change JVMCI compilerToVM constant pool tests to support CP cache
Reviewed-by: twisti, dpochepk
2016-02-20 11:49:02 +03: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
Martin Doerr
de01af89d8 8149655: PPC64: Implement CompactString intrinsics
Reviewed-by: goetz, kvn
2016-02-19 11:09:59 +01: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
Pavel Punegov
0e441f9177 8144621: CompilerControl: inline tests timeout with Xcomp
Restrict patterns that lead to timeout

Reviewed-by: kvn, neliasso
2016-02-17 17:48:56 +03:00
Magnus Ihse Bursie
24656787c0 8149647: Incremental enhancements from build-infra
Reviewed-by: erikj
2016-02-12 11:07:46 +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
Lana Steuck
df4d1c44ff Merge 2016-02-11 16:05:39 -08:00
Lana Steuck
95a4d190ea Added tag jdk-9+105 for changeset d549e724be36 2016-02-11 14:39:54 -08:00
Alejandro Murillo
96b1abd515 Merge 2016-02-11 13:58:41 -08:00
David Holmes
1246d21895 8149697: Fix for 8145725 is broken
As per the existing comment we needed to check the saved 'index' instead

Reviewed-by: gthornbr, dcubed, kbarrett
2016-02-11 15:43:30 -05: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
Kevin Walls
b7298ad6da Merge 2016-02-11 12:11:02 +00: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
e82f5cf677 8148987: [Linux] Allow building on older systems without CPU_ALLOC support
Reviewed-by: dsamersoff, stuefe, dcubed
2016-02-10 22:22:48 -05: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
Alejandro Murillo
d58d230d11 Merge 2016-02-10 10:26:41 -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
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
Shafi Ahmad
aa21ff0460 8144957: Remove PICL warning message
There is no need to print any error/warning message when a library needed for performance optimization is not found on the system

Reviewed-by: poonam, kvn
2016-02-08 15:46:25 +05:30
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
Lana Steuck
87ae5ea963 Merge 2016-02-04 16:48:39 -08:00
Lana Steuck
33f44f2077 Added tag jdk-9+104 for changeset ee75f02947c2 2016-02-04 11:28:21 -08: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
Tobias Hartmann
65438b2b53 Merge 2016-02-04 15:27:15 +01:00
Zoltan Majo
8332da75a9 8148970: Quarantine testlibrary_tests/whitebox/vm_flags/IntxTest.java
Quarantine testlibrary_tests/whitebox/vm_flags/IntxTest.java

Reviewed-by: vlivanov, dcubed
2016-02-04 08:53:57 +01:00
Mikael Gerdin
8f88752757 8149013: Remove unused and dead code from G1CollectorPolicy
Reviewed-by: ehelin, jwilhelm
2016-02-04 08:22:26 +01:00
Tobias Hartmann
16f749ef45 8148751: [TESTBUG] compiler/whitebox/AllocationCodeBlobTest.java fails due to unexpected code cache allocation
Do all the measurements and then check the results to avoid unexpected code cache allocations.

Reviewed-by: vlivanov
2016-02-03 17:51:47 +01:00
Roland Westrelin
918ff2456b Merge 2016-02-03 13:32:52 +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
Tobias Hartmann
904898e762 8148564: compiler/intrinsics/string/TestStringIntrinsics2.java times out
Test should not run with -Xcomp because MaxInlineSize is large.

Reviewed-by: kvn, simonis
2016-02-12 12:18:44 +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
381b9a329d Merge 2016-02-10 16:31:17 +00:00
Jamsheed Mohammed
45bd62d1f1 8149123: [TESTBUG] compiler/loopopts/superword/SumRed* tests running on non-x86 platforms
Restricted test execution to supported archs.

Reviewed-by: kvn
2016-02-10 15:24:22 +01: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
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
Pavel Punegov
1cf3f7a2c8 Merge 2016-02-08 18:52:03 +01:00
Tatiana Pivovarova
ef3728de57 Merge 2016-02-08 16:44:09 +00: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
Zoltan Majo
eab1474601 8148758: Compilation fails with "this call site should not be polymorphic"
Change test to run in interpreter-only mode.

Reviewed-by: kvn
2016-02-08 08:57:39 +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
Christian Thalinger
dd6da5ea53 Merge 2016-02-05 18:24:41 +00:00
Tatiana Pivovarova
25db23a65e 8149135: [jittester] Makefile copies JitTesterDriver in incorrect directory and always uses default value for number-of-tests and seed
Reviewed-by: iignatyev
2016-02-05 21:16:14 +03:00
Pavel Punegov
fc58d951d2 8148864: Quarantine CompilerControl tests
Exclude tests affected by JDK-8148563 and JDK-8140354 from execution

Reviewed-by: kvn
2016-02-05 18:05:33 +03:00
Tobias Hartmann
4cce6f082e Merge 2016-02-05 15:38:21 +01:00
Tobias Hartmann
2bdb607d7d 8149109: [TESTBUG] TestRegisterRestoring.java fails with "VM option 'SafepointALot' is develop"
Added missing -XX:+IgnoreUnrecognizedVMOptions.

Reviewed-by: vlivanov
2016-02-05 12:43:57 +01:00
Roland Schatz
7e9c407a86 8149105: typo in jvmciCodeInstaller.cpp
Reviewed-by: twisti
2016-02-05 11:33:27 +01:00
Alejandro Murillo
34efd50e20 Merge 2016-01-28 16:30:37 -08:00
Lana Steuck
9b59a8f5d0 Merge 2016-01-28 15:42:23 -08:00
Lana Steuck
22e7c9cafb Added tag jdk-9+103 for changeset 9bd7d91ca664 2016-01-28 09:43:01 -08:00
Aleksey Shipilev
121083c09e 8148483: JEP 280: Indify String Concatenation
Co-authored-by: Remi Forax <forax@univ-mlv.fr>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: psandoz, mcimadamore, igerasim, forax, plevart, vlivanov, ihse
2016-01-28 19:43:18 +03:00
Tobias Hartmann
832443d3b0 Merge 2016-01-28 09:49:17 +01:00
Jesper Wilhelmsson
e8e6b0e6f0 Merge 2016-01-26 17:13:18 +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
Doug Simon
ed1d72e964 8147470: update JVMCI mx extensions
Reviewed-by: twisti
2016-01-25 14:09:28 -10:00
Igor Ignatyev
3bebe35b7b 8148136: compile control tests have incorrect @build directives
Reviewed-by: kvn
2016-01-26 00:25:20 +03:00
Igor Ignatyev
972bf92ef7 8148161: quarantine compiler/loopopts/UseCountedLoopSafepoints.java
Reviewed-by: kvn
2016-01-26 00:25:20 +03:00
Alejandro Murillo
ebe2e3bb56 Merge 2016-01-25 12:12:28 -08:00
Tom Rodriguez
a3351a8233 8148101: [JVMCI] Make CallingConvention.Type extensible
Reviewed-by: twisti
2016-01-25 09:12:58 -08: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
Lana Steuck
bcaa8c1c59 Merge 2016-01-21 10:16:09 -08:00
Lana Steuck
c688dcc7e0 Added tag jdk-9+102 for changeset 62df07007db2 2016-01-21 09:45: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
Roland Schatz
0691fac50b 8146244: compiler/jvmci/code/DataPatchTest.java crashes: SIGSEGV in (getConstClass)getConstClass
Reviewed-by: twisti
2016-01-21 16:22:01 +01: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
Igor Ignatyev
025890379a 8141557: TestResolvedJavaMethod.java times out after 1000 ms
Reviewed-by: twisti
2016-01-21 22:23:22 +03:00
Pavel Punegov
157f8f1313 Merge 2016-01-21 15:07:42 +01:00
Tobias Hartmann
f10b59d34a Merge 2016-01-21 11:30:22 +00:00
Alexander Kulyakhtin
a58cdadbf2 8147848: [TESTBUG] tmtools tests ported to JTREG need to be quarantined
Quarantined some tests with false failures

Reviewed-by: sla
2016-01-21 14:17:49 +03:00
Daniel D. Daugherty
8411cfaf4e Merge 2016-01-20 14:11:25 -08:00
Pavel Punegov
b5e16518f4 8145800: [Testbug] CompilerControl: inline message differs for not inlined methods
Create callables outside the Internal subclasses

Reviewed-by: kvn
2016-01-20 20:26:33 +03: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
66b4fd463a 8147475: compiler/jvmci/code/SimpleDebugInfoTest.java fails in Assembler::locate_operand: ShouldNotReachHere()
Reviewed-by: kvn, twisti
2016-01-20 17:00:17 -10: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
Magnus Ihse Bursie
7f812c4c86 8145596: Enable debug symbols for all libraries
Reviewed-by: erikj
2016-01-20 09:54:39 +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
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
Pavel Punegov
d26d6fa3ef 8144239: [TESTBUG] InlineCommandTest.java: unknown compiler level 0 for commpile ID: 651
Add Xbatch to make compilation block test thread.

Reviewed-by: kvn
2016-02-01 19:45:26 +03:00