Commit Graph

11132 Commits

Author SHA1 Message Date
Coleen Phillimore
277996e430 Merge 2016-04-20 05:27:06 +00:00
Coleen Phillimore
97a7246217 Merge 2016-04-20 03:12:01 +00:00
Coleen Phillimore
2aff402303 8154280: Zero build fails with undeclared G1LastPLABAverageOccupancy
Reviewed-by: twisti
2016-04-21 02:58:04 -04:00
Max Ockner
16c430d2b6 8151526: Print -Xlog configuration in the hs_err_pid file
Logging configuration is now printed in hs_err and in vm info.

Reviewed-by: coleenp, mlarsson, dholmes
2016-04-19 11:03:37 -04:00
Robbin Ehn
167be2a61c 8154059: JVMTI ObjectTagging to UL
Reviewed-by: sspitsyn, mlarsson
2016-04-19 14:21:26 +02:00
Robbin Ehn
9d7444952a 8154041: JVMTI trace to Unified Logging
Reviewed-by: sspitsyn, mlarsson
2016-04-19 14:14:04 +02:00
Marcus Larsson
1ea0fb7b87 Merge 2016-04-19 12:30:00 +02:00
Chris Hegarty
d6c8ba8845 8153756: jdk.vm.ci should not depend on sun.misc ( jdk.unsupported module )
Reviewed-by: twisti
2016-04-19 09:31:53 +01:00
Robbin Ehn
4b7eacd933 8154235: Using deprecated flags converted to UL shows wrong hint
Reviewed-by: rprotacio, mockner, coleenp
2016-04-19 09:48:43 +02:00
Mikael Gerdin
bda93dad55 Merge 2016-04-19 09:06:38 +02:00
Stefan Karlsson
66777c3399 8067785: Using AlwaysPreTouch does not always touch all pages
Reviewed-by: pliden, drwhite
2016-04-19 08:12:28 +02:00
Michael Berg
64cf7e6b6f 8153998: Masked vector post loops
Masked vectorization for post loops to execute in a single iteration in place of fixup scalar loops which used to take many iterations to complete work for user loops.

Reviewed-by: twisti, kvn
2016-04-18 15:18:14 -07:00
Tatiana Pivovarova
332ffb710a Merge 2016-04-18 20:57:16 +00:00
Kim Barrett
7ced38a6b5 Merge 2016-04-18 22:40:47 +02:00
Kim Barrett
3079c942b6 8133051: Concurrent refinement threads may be activated and deactivated at random
Establish min threshold step; earlier primary refinement thread activation.

Reviewed-by: tschatzl, drwhite, mgerdin, jmasa
2016-04-18 14:52:31 -04:00
Roland Westrelin
e08e2ac711 8154135: Loop alignment may be added inside the loop body
Reviewed-by: kvn, vlivanov
2016-04-18 20:57:27 +03:00
Harold Seigel
33aa33f03a 8154268: [TESTBUG] Compilation of ExportAllUnnamed.java failed, missing @modules
Add missing @modules and @build tags

Reviewed-by: ctornqvi, lfoltan, gtriantafill
2016-04-18 13:42:52 -04:00
Andrew Haley
66208f1fca 8152554: CompactStrings broken on AArch64
Correct the logic for string intrinsics.

Reviewed-by: roland
2016-04-18 15:37:29 +00:00
Thomas Schatzl
4c2f0704f3 8153170: Card Live Data does not correctly handle eager reclaim
The card live data of regions eagerly reclaimed during remark and cleanup pause could be wrong, not considering that these regions were eagerly reclaimed and empty.

Reviewed-by: drwhite, kbarrett
2016-04-18 16:54:04 +02:00
Thomas Schatzl
d55089d82b 8153503: Move remset scan iteration claim to remset local data structure
Reviewed-by: drwhite, mgerdin
2016-04-18 16:51:14 +02:00
Anton Ivanov
6c95220480 8154174: Improve JitTester performance
Reviewed-by: iignatyev
2016-04-18 15:40:11 +03:00
Severin Gehwolf
79859bc5dd 8153275: Zero JVM fails to initialize after JDK-8152440
Use a value for InitArrayShortSize which passes validation

Reviewed-by: aph, andrew, coleenp
2016-04-18 11:30:12 +02:00
Zoltan Majo
c05dd2fdca 8153357: C2 creates incorrect cast after eliminating phi with unique input
Refine C2's logic to determine the type of cast node added.

Reviewed-by: kvn
2016-04-18 11:22:51 +02:00
Zoltan Majo
acab1fddac 8072428: Enable UseLoopCounter ergonomically if on-stack-replacement is enabled
Set UseLoopCounter ergonomically if on-stack-replacement is enabled. Print warning.

Reviewed-by: kvn
2016-04-18 09:39:55 +02:00
Ioi Lam
6526d15d6e 8150607: Clean up CompactHashtable
Refactored code, and added test cases for serviceability agent

Reviewed-by: jiangli, ccheung
2016-04-17 19:15:52 -07:00
Chris Hegarty
00f6a09302 8137058: Clear out all non-Critical APIs from sun.reflect
Reviewed-by: alanb, jfranck, mchung
2016-04-15 16:19:15 +01:00
Jesper Wilhelmsson
633da50166 Merge 2016-04-15 17:17:58 +02:00
Daniel D. Daugherty
2e49c43a00 Merge 2016-04-14 20:43:16 -07:00
Alejandro Murillo
b3349ef0ea Merge 2016-04-14 19:55:39 -07:00
Daniel D. Daugherty
f6e4fcc556 Merge 2016-04-14 17:42:29 -07:00
Lana Steuck
76e228d3db Merge 2016-04-14 09:33:16 -07:00
Lana Steuck
31f8c74497 Added tag jdk-9+114 for changeset 03e2f4d0a421 2016-04-14 09:09:23 -07:00
Rachel Protacio
35554a995f Merge 2016-04-14 15:38:04 +00:00
Marcus Larsson
49b5714e90 Merge 2016-04-14 16:43:09 +02:00
Rachel Protacio
e3de4dada7 Merge 2016-04-14 14:14:28 +00:00
Dmitry Fazunenko
734903c517 Merge 2016-04-14 14:13:07 +00:00
Rachel Protacio
aa0d0aa80d Merge 2016-04-14 14:05:09 +00:00
Rachel Protacio
acd52761a2 8152845: Improve PackageEntry and ModuleEntry print methods for future logging
Changed print methods for PackageEntry and ModuleEntry to take an outputStream

Reviewed-by: lfoltan, hseigel, coleenp
2016-04-14 09:46:03 -04:00
Erik Joelsson
2710266ac2 8149777: Enable enhanced failure handler for "make test"
Reviewed-by: ihse
2016-04-14 15:13:42 +02:00
Marcus Larsson
7ef647996f Merge 2016-04-14 15:10:50 +02:00
Michail Chernov
8c6cc265f6 8153222: [TESTBUG] Move tests in stress/gc to gc/stress
Reviewed-by: dfazunen, jwilhelm
2016-04-14 15:45:38 +03:00
Bengt Rutisson
dc9715ebf1 Merge 2016-04-14 13:31:11 +02:00
Robbin Ehn
e13ecd97b0 8154064: JVMTI trace event crashes
Reviewed-by: sla, stefank
2016-04-14 11:55:28 +02:00
Bengt Rutisson
3bb96580fb 8073321: assert(q > prev_q) failed: we should be moving forward through memory
Reviewed-by: jmasa, mgerdin
2016-04-14 11:17:34 +02:00
Thomas Schatzl
2d6f4ee98f 8154141: [TESTBUG] test/gc/g1/TestRegionLivenessPrint.java misses -XX:+UnlockDiagnosticVMOption flag
Reviewed-by: dfazunen, jwilhelm
2016-04-14 10:57:09 +02:00
Stefan Johansson
e79c2a2d8b 8153745: Avoid spawning G1ParPreserveCMReferentsTask when there is no work to be done
Reviewed-by: brutisso, jmasa, tschatzl
2016-04-14 08:30:37 +02:00
Stefan Johansson
a9e64aa572 8154051: Change G1YoungGenSizer to use UL log_warning instead of warning
Reviewed-by: brutisso, mgerdin
2016-04-14 08:30:15 +02:00
Gerard Ziemski
8e65d33717 Merge 2016-04-14 03:57:13 +00:00
Coleen Phillimore
50a5ba9849 Merge 2016-04-13 23:31:40 +00:00
Derek White
1326ae31c8 8152905: hs_err file is missing gc threads
List the GC threads in the hs_err file in the "Other Threads" section

Reviewed-by: dcubed, coleenp
2016-04-13 17:00:54 -04:00
Gerard Ziemski
f474e970ba 8153039: Command line processing should use mtCommand or mtArguments rather than mtInternal for NMT
Added mtArguments and replaced argument related usages of mtInternal with the new flag.

Reviewed-by: coleenp, gtriantafill
2016-04-13 15:53:46 -05:00
Coleen Phillimore
8e63a10779 8148772: VM crash in nsk/jvmti/RedefineClasses/StressRedefine: assert failed: Corrupted constant pool
8151546: nsk/jvmti/RedefineClasses/StressRedefine fails in hs nightly

ConstantPool::resolve_constant_at_impl() isn't thread safe for MethodHandleInError and MethodTypeInError and Constant pool merging is not thread safe for source_file_name.

Reviewed-by: sspitsyn, dcubed
2016-04-13 12:57:31 -04:00
Dmitry Fazunenko
23da19a790 8153755: Improve test: stress/gc/TestStressRSetCoarsening.java
Reviewed-by: tschatzl, kzhaldyb
2016-04-13 19:55:40 +04:00
Nils Eliasson
90d0e9a566 8153013: BlockingCompilation test times out
Task has no invocation count and get stale at once

Reviewed-by: kvn, iveresov, twisti
2016-04-13 14:48:22 +02:00
Nils Eliasson
c8593eff81 8154151: VM crashes with assert "Ensure we don't compile before compilebroker init"
Drop compiles submitted with complevel_none

Reviewed-by: kvn
2016-04-18 11:30:10 +02:00
Mikael Gerdin
b5a7ed16dd Merge 2016-04-13 13:53:05 +02:00
Erik Joelsson
9166e5a215 Merge 2016-04-13 12:11:06 +02:00
Volker Simonis
7e7ae63929 8154087: Fix AIX and Linux/ppc64le after the integration of the new hotspot build
Reviewed-by: erikj, goetz
2016-04-13 11:13:14 +02:00
Derek White
8423e2c392 8149405: OOM Error running java/lang/invoke/MethodHandlesTest.java on windows-x86
Add missing ResourceMarks to release memory more quickly.

Reviewed-by: jmasa, kbarrett
2016-04-12 14:46:02 -04:00
Mikael Gerdin
89282b0c72 8153834: G1 Card table verification fails due to concurrent region cleanup
Reviewed-by: ehelin, tschatzl
2016-04-12 14:03:31 +02:00
Stefan Karlsson
e0d0903059 Merge 2016-04-12 09:08:48 +00:00
Stefan Karlsson
f78228b2ee 8153967: Remove top.hpp
Reviewed-by: coleenp, jwilhelm
2016-04-12 09:53:43 +02:00
Stefan Karlsson
cf254af2fb 8152491: Convert TracePageSizes to use UL
Reviewed-by: sjohanss, pliden
2016-04-12 07:17:44 +02:00
Alejandro Murillo
7ab9e3f794 8154028: Several hotspot tests need to be updated after 8153737 (Unsupported Module)
Reviewed-by: darcy, kvn
2016-04-11 20:38:38 -07:00
Alejandro Murillo
45b6e4a1ca Merge 2016-04-11 14:21:25 -07:00
Marcus Larsson
8b2f63bd2b 8146879: Add option for handling existing log files in UL
Reviewed-by: dsamersoff, gziemski, rehn
2016-04-11 12:22:09 +02:00
Mikael Gerdin
19cd9b20e8 8153843: G1CardLiveDataHelper incorrectly sets next_live_bytes on dead humongous regions
Reviewed-by: drwhite, tschatzl
2016-04-11 09:49:10 +02:00
Robbin Ehn
1afb9e9427 8153845: UL log write method missing essential assert
Reviewed-by: mlarsson, brutisso
2016-04-11 09:45:03 +02:00
Stefan Karlsson
3200059098 8153659: Create a CHeap backed LogStream class
Reviewed-by: brutisso, mlarsson
2016-04-11 08:51:53 +02:00
Stefan Karlsson
dab21ebd4d 8153658: Redundant memory copy in LogStreamNoResourceMark
Reviewed-by: kbarrett, jmasa
2016-04-11 08:51:53 +02:00
Stefan Karlsson
0f89b2e137 8153583: Make OutputAnalyzer.reportDiagnosticSummary public
Reviewed-by: brutisso, sjohanss
2016-04-11 08:51:53 +02:00
Stefan Karlsson
388236cc3d 8152962: CMSCollector::shouldConcurrentCollect incorrectly logs against the debug stream
Reviewed-by: brutisso, sjohanss
2016-04-11 08:51:53 +02:00
Stefan Karlsson
2ca745d47a 8152639: ResourceMark missing in reportFreeListStatistics
Reviewed-by: pliden, sjohanss
2016-04-11 08:51:53 +02:00
Stefan Karlsson
71bcff35cf 8153742: Move Thread::current() to thread.hpp
Reviewed-by: coleenp, jmasa
2016-04-11 08:51:53 +02:00
Max Ockner
ae7543e824 Merge 2016-04-12 02:30:13 +02:00
Max Ockner
da8b3bf9a7 Merge 2016-04-12 00:24:39 +02:00
Jesper Wilhelmsson
545a5175ca Merge 2016-04-11 20:38:50 +00:00
Max Ockner
46e3ccd80c Merge 2016-04-11 22:14:14 +02:00
Max Ockner
cf540ad2af 8145704: Make test for classinit logging more robust
8145704: Make test for classinit logging more robust.

Reviewed-by: hseigel, gtriantafill
2016-04-11 16:10:41 -04:00
Jesper Wilhelmsson
2497c61bc6 Merge 2016-04-11 20:16:35 +02:00
Max Ockner
ac0824cbad 8152468: PrintMiscellaneous in constantPool should use classresolve logging
Some instances of PrintMiscellaneous have ben replaced by classresolve logging.

Reviewed-by: coleenp, rprotacio
2016-04-11 11:33:52 -04:00
Dmitry Samersoff
a9a7c55767 Merge 2016-04-11 14:42:56 +00:00
Cheleswer Sahu
3a4f4362a6 8153319: new test serviceability/tmtools/jstack/JstackThreadTest.java fails
Reviewed-by: dsamersoff, lmesnik
2016-04-11 12:50:08 +00:00
Dmitry Samersoff
9aad06b66d Merge 2016-04-11 10:06:19 +00:00
Dmitry Samersoff
18ee0a135b Merge 2016-04-11 09:39:49 +00:00
David Holmes
7b27547030 8151322: Implement os::set_native_thread_name() on Solaris
Reviewed-by: sla, kbarrett, gziemski
2016-04-10 21:34:47 -04:00
Chris Hegarty
b7075c2db9 8153737: Unsupported Module
Reviewed-by: alanb, mchung, psandoz
2016-04-09 23:03:39 +01:00
Chris Hegarty
39e36bdf78 8153498: Update the PostVMInitHook mechanism to use an internal package in the base module
Reviewed-by: alanb, lfoltan
2016-04-09 23:03:25 +01:00
Coleen Phillimore
6cec4d5047 Merge 2016-04-09 08:34:51 -04:00
Dmitry Samersoff
78a7d2c169 8152679: DeadlockDetectionTest.java fails due to expected output missing
Detect OS X and bailout

Reviewed-by: sspitsyn, tbell
2016-04-09 12:15:13 +03:00
Coleen Phillimore
e9a1251fb3 8033735: make Throwable.backtrace visible to Class.getDeclaredField again
Removed old hack to workaround an old crash.

Reviewed-by: hseigel, twisti, mchung
2016-04-08 19:39:32 -04:00
Bharadwaj Yadavalli
cecf2d83d5 Merge 2016-04-08 12:36:27 -04:00
Robbin Ehn
e1a8c2d197 8153731: Increase max tag combinations for UL expression (config)
Reviewed-by: stefank, mlarsson
2016-04-08 15:36:34 +02:00
Erik Joelsson
87d68625af 8152666: The new Hotspot Build System
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Ingemar Aberg <ingemar.aberg@oracle.com>
Reviewed-by: ihse, dcubed, erikj
2016-04-08 13:14:23 +02:00
Frederic Parain
20330031f4 Merge 2016-04-08 10:39:53 +02:00
Frederic Parain
890207217f 8146093: [sparc only] compiler/interpreter/7116216/StackOverflow.java Program terminates with signal 11, Segmentation fault. in __1cLRegisterMap2t6MpnKJavaThread_b_v_ ()
Reviewed-by: dcubed, coleenp
2016-04-08 00:38:00 -07:00
Per Lidén
67ed025379 8152989: serviceability/tmtools/jstat/GcCauseTest02.java fails with OOME
Reviewed-by: dsamersoff, sjohanss, dfazunen
2016-04-08 08:51:45 +02:00
Calvin Cheung
28edd79d64 8145221: Use trampolines for i2i and i2c entries in Methods that are stored in CDS archive
This optimization reduces the size of the RW region of the CDS archive. It also reduces the amount of pages in the RW region that are actually written into during runtime.

Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: Goetz Lindenmaier <goetz.lindenmaier@sap.com>
Reviewed-by: dlong, iklam, jiangli
2016-04-07 22:03:04 -07:00
Brent Christian
2d2abce433 8153123: Streamline StackWalker code
Reviewed-by: coleenp, dfuchs, mchung, redestad
2016-04-08 12:26:29 -07:00
Bharadwaj Yadavalli
1e6ac67ecf 8153816: [BACKOUT] Make intrinsics flags diagnostic
Backout fix for 8145348

Reviewed-by: kvn, jwilhelm
2016-04-08 01:00:10 -04:00
Sangheon Kim
25f35cda7d 8152182: Possible overflow in initialzation of _rescan_task_size and _marking_task_size
Add constraints for CMSRescanMultiple and CMSConcMarkMultiple flags

Reviewed-by: jwilhelm, jmasa
2016-04-07 15:34:21 -07:00
Sangheon Kim
10c7cac93e 8152180: SIGFPE in CMSCollector::preclean with big CMSScheduleRemarkSamplingRatio
Rephrased the calculation routine to avoid an overflow for CMSScheduleRemarkSamplingRatio

Reviewed-by: jwilhelm, drwhite
2016-04-07 15:33:25 -07:00
Coleen Phillimore
c66cf8bde7 Merge 2016-04-07 21:24:12 +00:00
Coleen Phillimore
0d3e7977ae 8151939: VM_Version_init() print buffer is too small
Increase buffer size, use logging to print out version and os information

Reviewed-by: kvn, rprotacio, mockner
2016-04-07 16:37:35 -04:00
Daniel D. Daugherty
4f3b1c9ed5 Merge 2016-04-07 12:54:48 -07:00
Lana Steuck
50d3fe6b48 Merge 2016-04-07 11:04:36 -07:00
Rachel Protacio
02d268d760 8152896: Convert PrintCompressedOopsMode to Unified Logging
Converted -XX:+PrintCompressedOopsMode to -Xlog:gc+heap+coops and aliased old option

Reviewed-by: coleenp, sjohanss, kvn, hseigel
2016-04-07 13:11:15 -04:00
Lana Steuck
6a0cae9d3c Added tag jdk-9+113 for changeset 9bc1d0332a48 2016-04-07 10:06:57 -07:00
Daniel D. Daugherty
4397e85e26 Merge 2016-04-07 09:47:48 -07:00
Dmitry Fazunenko
efb6b67d27 Merge 2016-04-07 15:01:56 +00:00
Thomas Schatzl
a9cf95480f 8153734: TestHumongousReferenceObject.java occasionally crashes with "unable to allocate heap of 1g" on win32
Decrease the heap size used in the test from 1g to 128M.

Reviewed-by: dfazunen, sjohanss
2016-04-07 15:17:08 +02:00
Michail Chernov
0202ef201c 8153516: Hotspot TEST.group has error in GC groups definition
Reviewed-by: tschatzl, dfazunen
2016-04-07 16:01:16 +03:00
Michail Chernov
412ce42184 8148376: Test for PLAB behavior at evacuation failure
Reviewed-by: tschatzl, dfazunen
2016-04-07 15:58:24 +03:00
Dmitry Fazunenko
2b7a70a9d3 8152432: Implement setting jtreg @requires properties vm.flavor, vm.bits, vm.compMode
Reviewed-by: iignatyev
2016-04-07 17:42:30 +04:00
Martin Doerr
611e659be1 8153267: nmethod's exception cache not multi-thread safe
Reviewed-by: aph, jcm, kvn
2016-04-07 12:33:58 +02:00
Zoltan Majo
cd3197f341 8151708: C1 FastTLABRefill can allocate TLABs past the end of the heap
Use branch instruction that checks xcc instead of icc.

Reviewed-by: kvn, thartmann
2016-04-15 07:54:31 +02:00
Pavel Punegov
dc3f4fbc96 Merge 2016-04-14 18:15:41 +02:00
Pavel Punegov
3a407ecde7 Merge 2016-04-14 15:28:46 +02:00
Tobias Hartmann
63403a410e 8154073: Several compiler tests fail when are executed with C1 only
Added missing flag checks to the tests and Whitebox API.

Reviewed-by: kvn
2016-04-14 08:32:39 +02:00
Pavel Punegov
792ccb5056 8153852: [jittester] move TypeUtil to utils package
Rewrite TypeUtil and move to utils package

Reviewed-by: kvn
2016-04-13 18:56:51 +03:00
Pavel Punegov
82dc0d42a6 8140354: Unquarantine tests that failed with OutOfMemoryError
Unquarantine CompilerControl tests

Reviewed-by: iignatyev
2016-04-13 18:31:43 +03:00
Vladimir Kozlov
e33bf84754 8153818: Move similar CompiledIC platform specific code to shared code
Reviewed-by: iveresov, twisti
2016-04-12 17:12:51 -07:00
Igor Veresov
eb6d600333 8153115: Move private interface check to linktime
Check for private interface methods during linktime instead of runtime

Reviewed-by: kvn, never, coleenp, acorn, lfoltan
2016-04-12 14:55:18 -07:00
Bharadwaj Yadavalli
b2ead5ac2d Merge 2016-04-12 14:17:42 -04:00
Nils Eliasson
a74ee72e1e 8153885: [TESTBUG] few regression tests failed after 8151880 changes
Test that uses compile() as missed in update

Reviewed-by: kvn
2016-04-12 11:29:08 +02:00
Fei Yang
8215de72f5 8153713: aarch64: improve short array clearing using store pair
Aarch64: generate store pair instruction to clear short arrays

Reviewed-by: aph
2016-04-12 11:53:44 +08:00
Antonios Printezis
f22c068365 8152312: ParNew: Restore preserved marks in parallel
Reviewed-by: tschatzl
2016-04-07 10:55:54 +02:00
Daniel D. Daugherty
e266e56356 Merge 2016-04-06 23:42:52 +00:00
Daniel D. Daugherty
0fc167eb01 Merge 2016-04-06 15:49:40 -07:00
Calvin Cheung
5e6ae86ef2 Merge 2016-04-07 00:25:46 +02:00
Jesper Wilhelmsson
3f00e1fcef 8153671: Quarantine serviceability/tmtools/jstack/JstackThreadTest.java until JDK-8153319 is fixed
Reviewed-by: jprovino, dcubed
2016-04-06 14:51:39 -07:00
Calvin Cheung
c282f25964 8152329: jvm should treat the "Multi-Release" jar manifest attribute name as case insensitive
Reviewed-by: iklam, jiangli, mseledtsov
2016-04-06 11:40:45 -07:00
Filipp Zhinkin
6b6686bd43 8149374: Replace C1-specific collection classes with universal collection classes
Reviewed-by: kvn, mgerdin, coleenp
2016-04-06 18:51:03 +03:00
Vladimir Ivanov
7fc81004e3 8152590: C2: @Stable support doesn't always work w/ incremental inlining
Reviewed-by: kvn
2016-04-11 21:42:55 +03:00
Vladimir Ivanov
0c233de7ff 8138861: C2 complains about unreasonably large method running Octane zlib in Nashorn
Reviewed-by: kvn
2016-04-11 21:42:31 +03:00
Long Chen
19d90c789d 8153797: aarch64: Add Arrays.fill stub code
Reviewed-by: aph
2016-04-07 22:36:16 +00:00
Doug Simon
1131e05b66 8153439: do not install an empty SpeculationLog in an nmethod
Reviewed-by: iveresov, twisti
2016-04-07 08:57:26 -10:00
Nils Eliasson
d9c49d2be5 Merge 2016-04-07 18:27:50 +02:00
Tobias Hartmann
a6c687cd6a 8153514: Whitebox API should allow compilation of <clinit>
Added Whitebox API method to trigger compilation of static initializer.

Reviewed-by: zmajo, kvn, iignatyev
2016-04-07 16:51:37 +02:00
Tobias Hartmann
7502a7a7f2 Merge 2016-04-07 12:16:03 +00:00
Aleksey Shipilev
a5c6b5ee3f Merge 2016-04-07 10:50:08 +00:00
Rahul Raghavan
28e72b2675 8149488: Incorrect declaration of bitsInByte in regmask.cpp
Corrected BITS_IN_BYTE_ARRAY_SIZE value as 256 for all bitsInByte usage.

Reviewed-by: dlong, mcberg, thartmann, vlivanov
2016-04-07 01:56:16 -07:00
Harold Seigel
27216177ce Merge 2016-04-06 16:03:02 +02:00
Nils Eliasson
c70e07ccbe 8151880: EnqueueMethodForCompilationTest.java still fails to compile method
Extract SimpleTestCaseHelper inner class

Reviewed-by: kvn
2016-04-06 14:48:45 +02:00
Yasumasa Suenaga
af3081628b 8152435: (CL)HSDB should be started with no argument
Reviewed-by: dsamersoff
2016-04-06 20:43:03 +09:00
Thomas Schatzl
a009aa9ca7 8151386: Extract card live data out of G1ConcurrentMark
Move card live data management out of G1ConcurrentMark into extra class G1CardLiveData managed by G1RemSet

Reviewed-by: mgerdin, kbarrett
2016-04-06 13:41:59 +02:00
Harold Seigel
2904ea7d45 8152846: Creation of ModuleEntryTable Investigate Need For OrderAccess::storestore()
Remove the unneeded OrderAccess::storestore() call

Reviewed-by: acorn, coleenp
2016-04-06 07:37:15 -04:00
Thomas Schatzl
0c06163b35 8077144: Concurrent mark initialization takes too long
Remove per-marking thread liveness bitmaps and recreate liveness bitmap concurrently after the cleanup pause.

Reviewed-by: mgerdin, ehelin, kbarrett
2016-04-06 13:32:48 +02:00
Aleksey Shipilev
b349843be4 8153265: [TESTBUG] compiler/whitebox/ForceNMethodSweepTest should not assume asserts are benign
Reviewed-by: twisti, ikrylov
2016-04-06 10:55:46 +03:00
Shravya Rukmannagari
ad79a5ae65 8152907: Update for x86 tan and log10 in the math lib
Optimize Math.tan() and log10() for 64 and 32 bit X86 architecture using Intel LIBM  implementation.

Reviewed-by: kvn, twisti
2016-04-06 10:29:26 -07:00
Aleksey Shipilev
b51a55a78c 8153277: [TESTBUG] gc/arguments/TestMaxMinHeapFreeRatioFlags is too sensitive for stray allocations in verifyRatio
Reviewed-by: mgerdin, dfazunen
2016-04-06 10:50:19 +03:00
Sangheon Kim
2f5768493d Merge 2016-04-05 23:59:12 +00:00
Sangheon Kim
7908c3db94 8152188: Allow CMSBitMapYieldQuantum for BitMap::clear_range and clear_large_range
Let BitMap::clear_large_range call clear_range instead of firing an assert

Reviewed-by: jmasa, jwilhelm
2016-04-05 16:15:53 -07:00
Ioi Lam
3d629c6dd3 8153300: [TESTBUG] Enhance test/testlibrary/ClassFileInstaller.java to support JAR files
Reviewed-by: lfoltan, mseledtsov
2016-04-05 14:52:12 -07:00
Bharadwaj Yadavalli
cf5871861f Merge 2016-04-05 20:32:54 +00:00
Bharadwaj Yadavalli
e258fc4bc7 Merge 2016-04-05 15:39:35 -04:00
Michael Berg
e38aef947f 8151003: Remove nds->is_valid() checks from assembler_x86.cpp
Reviewed-by: kvn
2016-04-05 11:37:41 -07:00
Michael Berg
ff80cc58c9 8151573: Multiversioning for range check elimination
Range check elimination in post loops

Reviewed-by: kvn
2016-04-05 10:34:05 -07:00
Tobias Hartmann
9ee03a4b4f 8151724: Remove -XX:GenerateCompilerNullChecks
Removed the broken GenerateCompilerNullChecks flag.

Reviewed-by: zmajo, kvn
2016-04-05 17:51:44 +02:00
Tom Benson
4f0ffb6ce9 8153117: Back out JDK-8142935 until JDK-8152723 fixed
JDK-8142935 fix can lead to avoidable Full GCs

Reviewed-by: jwilhelm, tschatzl
2016-04-05 11:17:50 -04:00
Rachel Protacio
d077700179 8153026: Change logging tag 'verboseverification' to 'verification'
Changed UL tag to 'verification'

Reviewed-by: hseigel, lfoltan
2016-04-05 09:42:27 -04:00
Richard Reingruber
9438549080 8153176: ParOldGC: Use correct TaskQueueSet for ParallelTaskTerminator in marking
Reviewed-by: mgerdin, tschatzl
2016-04-05 13:55:31 +02:00
Tobias Hartmann
edee2ddca8 Merge 2016-04-05 10:11:07 +00:00
Thomas Schatzl
fa7ae5825a Merge 2016-04-05 12:10:03 +02:00
Thomas Schatzl
d77d2cc010 8151499: gc/g1/g1OopClosures.inline.hpp: assert(_from->is_in_reserved(p)) failed: p is not in from
Fix wrong assertion.

Reviewed-by: tbenson, shade
2016-04-05 11:22:20 +02:00
Stefan Karlsson
621ac24c59 Merge 2016-04-05 11:00:22 +02:00
Jamsheed Mohammed C M
b26b78a4d4 8067247: Crash: assert(method_holder->data() == 0 ...) failed: a) MT-unsafe modification of inline cache
Made invoker LambdaForm instance & its compiled form lifetime tightly coupled.

Reviewed-by: vlivanov
2016-04-05 01:46:40 -07:00
Robbin Ehn
16988281fc 8153396: Remove unused ResourceMarks from UL internal vm tests
Reviewed-by: stefank, brutisso
2016-04-05 10:42:01 +02:00
Stefan Karlsson
ccf6f713e8 8152711: Create a non-template Log wrapper class
Reviewed-by: kbarrett, rehn
2016-04-05 10:41:52 +02:00
Stefan Karlsson
6c4d96782c 8152637: Create a stack allocatable LogStream class
Reviewed-by: rehn, brutisso
2016-04-05 10:35:39 +02:00
Per Lidén
07299d4428 8152929: Remove UNSUPPORTED_GC_OPTION, use UNSUPPORTED_OPTION instead
Reviewed-by: brutisso, jmasa
2016-04-05 09:05:19 +02:00
Tobias Hartmann
36e384c810 8074553: Crash with assert(!is_unloaded()) failed: should not call follow on unloaded nmethod
Sweeper thread needs to override nmethods_do() to prevent G1 from unloading _scanned_nmethod.

Reviewed-by: kvn, mgerdin
2016-04-05 07:19:44 +02:00
Daniel D. Daugherty
ab20ebaaa0 Merge 2016-04-05 00:41:55 +02:00
Daniel D. Daugherty
2e87e3178c 8152358: code and comment cleanups found during the hunt for 8077392
Reviewed-by: gthornbr, kvn, cvarming
2016-04-04 14:49:19 -07:00
Daniel D. Daugherty
66570c722b 8077392: Stream fork/join tasks occasionally fail to complete
8131715: backout the fix for JDK-8079359 when JDK-8077392 is fixed

Add missing BasicLock::_displaced_header init to ObjectSynchronizer::quick_enter() and re-enable Contended Locked "fast enter" bucket.

Reviewed-by: gthornbr, dholmes, kvn, cvarming, acorn
2016-04-04 14:41:00 -07:00
Dmitry Dmitriev
a0d59719d3 8153437: Temporary exclude AllocatePrefetchDistance from testing
Reviewed-by: dcubed
2016-04-05 00:36:59 +03:00
Alejandro Murillo
2b06e96dc0 Merge 2016-04-04 13:40:18 -07:00
Jesper Wilhelmsson
7233d45a4d 8153410: Disable tests until JDK-8151460 gets to main
Reviewed-by: gtriantafill, dcubed
2016-04-04 20:39:42 +02:00
Joseph Provino
5cef85023b 8132524: Missing includes to resourceArea.hpp
Files that use ResourceMark are missing the include of resourceArea.hpp

Reviewed-by: tschatzl, jwilhelm
2016-04-04 12:57:48 -04:00
Robbin Ehn
58419856b3 8153254: Delegate (v)write from Log to LogTagSet
Reviewed-by: stefank, kbarrett
2016-04-04 15:05:52 +02:00
Stefan Karlsson
cce4337499 Merge 2016-04-04 13:36:27 +02:00
Zoltan Majo
69d14c811b 8072422: Cleanup: Remove some unused flags/code in loop optimizations
Remove unused flags, change test using them.

Reviewed-by: kvn, twisti
2016-04-04 12:52:11 +02:00
Stefan Karlsson
65a3b7e6b3 8152635: Create a UL class to represent a Log + Level combination
Reviewed-by: brutisso, mlarsson, rehn
2016-04-04 12:45:04 +02:00
Stefan Karlsson
64efc0eb0f Merge 2016-04-04 11:32:04 +02:00
Marcus Larsson
e5135d3d4a Merge 2016-04-04 09:59:57 +02:00
Stefan Karlsson
15c4140ae5 8152632: Rename LogHandle(...) to Log(...)
Reviewed-by: brutisso, mlarsson, rprotacio
2016-04-04 09:15:15 +02:00
Stefan Karlsson
ff771a6686 8152538: UL doesn't inline the LogTagSet::is_level check
Reviewed-by: mlarsson, brutisso
2016-04-04 09:15:01 +02:00
Marcus Larsson
12eaa83e0e 8153174: Remove trailing comma from log configuration listings
Reviewed-by: rehn, sla
2016-04-04 08:58:38 +02:00
Tom Rodriguez
fa667c5409 8153315: [JVMCI] evol_method dependencies failures should return dependencies_failed
Reviewed-by: iveresov
2016-04-03 21:44:54 -07:00
Chris Hegarty
721765cda0 8153181: Move sun.misc.VMSupport to an internal package
Reviewed-by: alanb, mchung
2016-04-03 16:28:47 +01:00
Jesper Wilhelmsson
ee442d71e1 Merge 2016-04-02 05:39:25 +02:00
Daniel D. Daugherty
a6c899150e Merge 2016-04-01 14:34:17 -07:00
Daniel D. Daugherty
8076bee28c 8153302: [BACKOUT] STW phases at Concurrent GC should count in PerfCounter
Reviewed-by: jmasa, jwilhelm
2016-04-01 14:30:10 -07:00
Jon Masamitsu
d650ab04e2 8150994: UseParallelGC fails with UseDynamicNumberOfGCThreads with specjbb2005
Reviewed-by: tschatzl, kbarrett
2016-04-01 12:32:34 -07:00
Sangheon Kim
a9176a6796 8153201: TestOptionsWithRanges fails with -XX:OldPLABSize=2147483648
Add parallel gc into min/max PLAB constraint function

Reviewed-by: brutisso, tbenson
2016-04-01 09:45:50 -07:00
Sangheon Kim
a868617af7 8152176: Big ParGCCardsPerStrideChunk values can cause overflow for CMS GC
Limit the max value of ParGCCardsPerStrideChunk based on card table size and other stride flags

Reviewed-by: jmasa, tbenson
2016-04-01 09:43:13 -07:00
Dmitrij Pochepko
05de4a3fe0 8138798: improve tests for HotSpotVMEventListener::notifyInstall
Reviewed-by: twisti
2016-04-01 16:56:49 +03:00
Dmitrij Pochepko
b595c21417 8151828: Jittester: array creation node handled inproperly in source code visitor for non-int numerical arrays
Reviewed-by: iignatyev
2016-04-01 16:31:08 +03:00
Michail Chernov
c3469071aa 8148397: Create new tests for IHOP
Reviewed-by: tschatzl, dfazunen
2016-04-01 16:15:37 +03:00
Thomas Schatzl
9be0552a61 Merge 2016-04-01 12:46:06 +02:00
Thomas Schatzl
7fb0e65901 8153193: Missing includes in gc/g1/heapRegionBounds.hpp
Reviewed-by: jwilhelm, brutisso
2016-04-01 12:00:09 +02:00
Thomas Schatzl
166d473e2e 8153182: GC ID prefix for gc, humongous log messages are missing
Reviewed-by: mgerdin, brutisso
2016-04-01 11:58:45 +02:00
Thomas Schatzl
f8070cc44a 8148099: Improve memory access to FromCardCache during GC
Transpose the FromCardCache data array so the access during GC is linear instead of element-by-element with stride.

Reviewed-by: mgerdin, brutisso
2016-04-01 11:57:58 +02:00
Tobias Hartmann
f571030571 Merge 2016-04-01 08:46:47 +00:00
Rahul Raghavan
2630177fdc 8150690: C++11 user-defined literal syntax in jvmciCompilerToVM.cpp
Changes done for - 'C++11 requires a space between literal and identifier'.

Reviewed-by: twisti
2016-04-01 01:34:00 -07:00
Cheleswer Sahu
6f3cb076c4 8151442: jstack doesn't close quotation marks properly with threads' name greater than 1996 characters
Reviewed-by: dsamersoff, kevinw
2016-04-01 13:51:29 +05:30
Bengt Rutisson
0d7e6c5add 8153203: Remove liveRange.hpp
Reviewed-by: mgerdin, jwilhelm
2016-04-01 10:16:31 +02:00
Konstantin Shefov
cce84da126 8153165: Fix MX tool config script to make the tool work with TESTNG
Reviewed-by: dnsimon, twisti
2016-04-01 10:43:35 +03:00
Bengt Rutisson
0c5e3bcbd6 8153188: Use log_error(gc, verify) for logging in verification code
Reviewed-by: mgerdin, tschatzl
2016-04-01 07:08:55 +02:00
Bengt Rutisson
eeec4b781b 8153187: Convert TraceWorkGang to use unified logging
Reviewed-by: mgerdin, tschatzl
2016-04-01 07:08:40 +02:00
Bengt Rutisson
8098362a32 8153186: Convert TraceGCTaskThread to use unified logging
Reviewed-by: mgerdin, tschatzl
2016-04-01 07:08:30 +02:00
Christian Tornqvist
84e45bf683 Merge 2016-04-01 03:33:39 +00:00
Christian Thalinger
879c8b43c6 8144964: JVMCI compilations need to be disabled until the module system is initialized
Reviewed-by: kvn
2016-03-31 15:52:07 -10:00
Calvin Cheung
2685f965d3 Merge 2016-04-01 03:07:25 +02:00
Jon Masamitsu
e036e40e87 Merge 2016-03-31 22:04:19 +00:00
Alejandro Murillo
73dbcc3149 Merge 2016-03-31 14:25:35 -07:00
Rachel Protacio
81ebd2a801 Merge 2016-03-31 18:22:54 +00:00
Calvin Cheung
c3fd09e417 8075253: Multiversion JAR feature: CDS does not support MV-JARs
Handle "Multi-Release" jar during CDS dump time

Reviewed-by: jiangli, iklam, minqi, redestad
2016-03-31 10:42:57 -07:00
Bengt Rutisson
650a015581 Merge 2016-03-31 18:51:53 +02:00
Doug Simon
b75d50cc75 8152024: MemoryAccessProvider javadoc should be modified
Reviewed-by: kvn, twisti
2016-03-31 09:16:49 -07:00
Doug Simon
adb3a381c2 8152023: MethodHandleAccessProvider.resolveLinkToTarget throws NPE/IAE on null/wrong argument
Reviewed-by: kvn, twisti
2016-03-31 09:16:49 -07:00
Doug Simon
e3cbdb7632 8152022: JVMCI: MethodHandleAccessProvider.resolveInvokeBasicTarget throws NPE on null first argument
Reviewed-by: kvn, twisti
2016-03-31 09:16:49 -07:00
Doug Simon
40c8ad359a 8152021: MethodHandleAccessProvider.lookupMethodHandleIntrinsic throws NPE on null argument
Reviewed-by: kvn, twisti
2016-03-31 09:16:49 -07:00
Vladimir Kozlov
ee06cb9b8a Merge 2016-03-31 09:16:49 -07:00
Rachel Protacio
ed7a01e044 8145235: Deprecate product flags that have been converted to Unified Logging
Added deprecation message/mechanism for product flags aliased to Unified Logging options

Reviewed-by: mockner, coleenp, ddmitriev, mlarsson
2016-03-31 12:06:51 -04:00
Christian Tornqvist
dedfabbaac 8150899: [TESTBUG] Split hotspot_all job into smaller jobs
Reviewed-by: gtriantafill, iignatyev
2016-03-31 11:39:00 -04:00
Bengt Rutisson
69ae3e0c64 8152952: Allow G1 phase logging to use individual number of threads
Reviewed-by: tschatzl, jmasa
2016-03-31 17:05:29 +02:00
Gerard Ziemski
b1e438f157 Merge 2016-03-31 14:18:25 +00:00
Zoltan Majo
526582022d 8153195: Quarantine compiler/gcbarriers/PreserveFPRegistersTest.java
Quarantine test.

Reviewed-by: thartmann
2016-03-31 16:09:29 +02:00
Felix Yang
57f06537c2 8153172: aarch64: hotspot crashes after the 8.1 LSE patch is merged
Fix scratch register usage in C1 atomic_op to avoid unpredictable instruction

Reviewed-by: aph
2016-03-31 12:00:32 +00:00
Dmitry Samersoff
cba7605902 Merge 2016-03-31 11:21:20 +00:00
Dmitry Samersoff
5a57d8ab99 8150973: Hotspot agent use of sun.boot.class.path needs to be updated for Jigsaw
Remove the code

Reviewed-by: alanb, sspitsyn
2016-03-31 14:17:16 +03:00
Thomas Schatzl
5031466171 8153065: "Preserve CM refs" log message disconnected from "Parallel Preserve CM refs"
Bring the log messages into the correct order again.

Reviewed-by: mgerdin
2016-03-31 12:00:08 +02:00
Lana Steuck
348a914f04 Added tag jdk-9+112 for changeset 5531985950c0 2016-03-31 01:13:19 -07:00
Tobias Hartmann
3aa353de7b 8136798: TestMonomorphicObjectCall.java fails with compilation error
Refactored test to work with Jake.

Reviewed-by: kvn, zmajo
2016-03-31 09:26:13 +02:00
Gerard Ziemski
64a7656938 8142510: -XX:+PrintFlagsRanges should print default range value for those flags that have constraint and an implicit range
Implemented default ranges for flags with constraints and no explicit ranges

Reviewed-by: ddmitriev, coleenp
2016-03-30 14:44:27 -05:00
Chris Plummer
fbe049838a 8148639: Some MethodCounter fields can be excluded when not including C2
Removed _interpreter_invocation_count and _interpreter_throwout_count fields for C1

Reviewed-by: kvn, coleenp
2016-03-30 09:52:02 -07:00
Gerard Ziemski
5a7ecbdf94 8143958: CDS Shared flags need constraint function
Implement range constraints for CDS flags.

Reviewed-by: iklam, jiangli
2016-03-30 11:28:51 -05:00
Ivan Krylov
429b1c80a1 8147844: new method j.l.Runtime.onSpinWait() and the corresponding x86 hotspot instrinsic
Adds c1 & c2 x86 intrinsics for j.l.Runtime.onSpinWait() that utilize the PAUSE instruction

Co-authored-by: Yuri Gaevsky <ygaevsky@azul.com>
Reviewed-by: iveresov, kvn
2016-03-30 17:04:14 +02:00
Dmitry Fazunenko
7e6e45906b 8152422: Optimize GC JPRT test set
Reviewed-by: sjohanss, pliden
2016-03-30 17:25:32 +03:00
Yasumasa Suenaga
7e964d8697 8151674: STW phases at Concurrent GC should count in PerfCounter
Reviewed-by: jmasa, sla, tschatzl
2016-03-30 21:05:13 +09:00
Tobias Hartmann
b256715d77 Merge 2016-03-30 12:34:08 +02:00
Tobias Hartmann
6a65ad52d6 8152861: VM crash on assert: locked methods shouldn't be flushed
Check if nmethod is locked by JVMTI before flushing.

Reviewed-by: kvn
2016-03-30 08:04:59 +02:00
Tobias Hartmann
c3ebf37e24 8152947: VM crash with assert(!removed || is_in_use()) failed: unused osr nmethod should be invalidated
Check OSR invalidation after nmethod state transition.

Reviewed-by: ddmitriev, vlivanov
2016-03-30 08:00:51 +02:00
Christian Thalinger
58c9c16e11 Merge 2016-03-29 22:39:17 +00:00
Igor Ignatyev
9723b912e9 8152636: TestHasNegatives.java fails after Jigsaw changes were integrated
Reviewed-by: kvn
2016-03-30 00:25:39 +03:00
Kim Barrett
3af6c14332 8152916: ostream has unnecessary dependency on GCId
Removed unneeded #includes and forward class declaration.

Reviewed-by: pliden, rehn, brutisso, mgerdin
2016-03-29 16:21:16 -04:00
Max Ockner
0ce26421c4 Merge 2016-03-29 21:44:06 +02:00
Max Ockner
e721b555eb Merge 2016-03-29 20:51:59 +02:00
Max Ockner
45b8dc27fe 8150084: Convert TraceMonitorMismatch to Unified Logging
TraceMonitorMismatch has been converted to Unified Logging.

Reviewed-by: coleenp, rprotacio
2016-03-29 14:37:07 -04:00