2704 Commits

Author SHA1 Message Date
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
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
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
Daniel D. Daugherty
4397e85e26 Merge 2016-04-07 09:47:48 -07: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
Bharadwaj Yadavalli
b2ead5ac2d Merge 2016-04-12 14:17:42 -04: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
Tobias Hartmann
9ee03a4b4f 8151724: Remove -XX:GenerateCompilerNullChecks
Removed the broken GenerateCompilerNullChecks flag.

Reviewed-by: zmajo, kvn
2016-04-05 17:51:44 +02: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
Tobias Hartmann
edee2ddca8 Merge 2016-04-05 10:11:07 +00: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
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
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
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
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
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
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
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
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
Rahul Raghavan
9acc5ad3ce 8145348: Make intrinsics flags diagnostic
Converted product or develop intrinsics flags to diagnostic.

Reviewed-by: kvn
2016-03-28 01:08:02 -07:00
Zoltan Majo
720f99dec9 Merge 2016-03-24 16:21:18 +01:00
Stefan Karlsson
15c4140ae5 8152632: Rename LogHandle(...) to Log(...)
Reviewed-by: brutisso, mlarsson, rprotacio
2016-04-04 09:15:15 +02:00
Jesper Wilhelmsson
ee442d71e1 Merge 2016-04-02 05:39:25 +02: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
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
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
Rachel Protacio
81ebd2a801 Merge 2016-03-31 18:22:54 +00: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
Gerard Ziemski
b1e438f157 Merge 2016-03-31 14:18:25 +00: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
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
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
Max Ockner
aa9da340e0 8149996: TraceLoaderConstraints has been converted to Unified Logging
TraceLoaderConstraints has been converted to Unified Logging.

Reviewed-by: coleenp, dholmes, rprotacio
2016-03-29 13:02:16 -04:00
Per Lidén
0fb3d6a52e 8068579: Running with -XX:-UseParallelGC does not turn ParalleGC off
Reviewed-by: jmasa, dfazunen, brutisso
2016-03-29 08:42:22 +02:00
Tobias Hartmann
ce350e07fa 8136458: Remove "marked for reclamation" nmethod state
Removed "marked for reclamation" nmethod state because only sweeper sets nmethods to zombie.

Reviewed-by: kvn, neliasso
2016-03-24 09:09:52 +01:00
Jesper Wilhelmsson
b7ca1e57ee Merge 2016-03-23 23:36:29 +01:00
Rachel Protacio
f50eeb2649 Merge 2016-03-25 01:20:14 +00:00
Rachel Protacio
0f7f8e05ab 8146947: Remove PrintOopAddress rather than converting to UL
Deprecated PrintOopAddress and made functionality default

Reviewed-by: coleenp, stefank
2016-03-24 13:25:10 -04:00