Commit Graph

7591 Commits

Author SHA1 Message Date
Coleen Phillimore
2488d9b005 Merge 2014-11-14 15:08:28 -05:00
Max Ockner
54d2060d42 8060449: Obsolete command line flags accept arbitrary appendix
Proper error messages for newly obsolete command line flags.

Reviewed-by: lfoltan, dcubed, coleenp
2014-11-14 13:09:53 -05:00
Eric McCorkle
3e575a7078 8064571: java/lang/instrument/IsModifiableClassAgent.java: assert(length > 0) failed: should only be called if table is present
Remove tautological assert

Reviewed-by: coleenp, lfoltan, sspitsyn, jiangli
2014-11-14 12:45:55 -05:00
Daniel D. Daugherty
b259ede692 8033602: wrong stabs data in libjvm.debuginfo on JDK 8 - SPARC
8034005: cannot debug in synchronizer.o or objectMonitor.o on Solaris X86

Solaris needs objcopy version of 2.21.1 or newer is needed to create valid .debuginfo files.

Reviewed-by: dsamersoff, sspitsyn, dholmes, ihse
2014-11-13 10:39:35 -08:00
Aleksey Shipilev
8f3190b805 8064749: -XX:-UseCompilerSafepoints breaks safepoint rendezvous
Reviewed-by: dcubed, coleenp, kvn, dholmes
2014-11-13 19:12:28 +03:00
Nils Eliasson
bc52e8443e 8061256: com/sun/management/DiagnosticCommandMBean/DcmdMBeanPermissionsTest.java timed out
Must not be at safepoint when taking CompileQueue_lock

Reviewed-by: kvn, anoll
2014-11-13 14:42:54 +01:00
Jesper Wilhelmsson
c72d5c48e2 Merge 2014-11-13 12:29:09 +01:00
Roland Westrelin
4bc2edad15 8054478: C2: Incorrectly compiled char[] array access crashes JVM
Dead backbranch in main loop results in erroneous array access

Reviewed-by: kvn, iveresov
2014-11-13 09:19:46 +01:00
Vladimir Ivanov
5a00d5f6b5 8058148: MaxNodeLimit and LiveNodeCountInliningCutoff
Reviewed-by: kvn, roland
2014-11-24 07:29:03 -08:00
Tobias Hartmann
9adb455ba8 8065339: Failed compilation does not always trigger a JFR event 'CompilerFailure'
CompilerFailure JFR event should be triggered in ciEnv.

Reviewed-by: kvn
2014-11-24 08:48:15 +01:00
David Chase
ff95f67cce Merge 2014-11-22 03:10:33 +00:00
David Chase
54b5c3864e Merge 2014-11-21 21:08:48 -05:00
Vladimir Kozlov
f36e847523 8065618: C2 RA incorrectly removes kill projections
Don't remove KILL projections if their "defining" nodes have SCMemProj projection (memory side effects).

Reviewed-by: iveresov
2014-11-21 17:17:41 -08:00
Staffan Larsen
8adbb0b63a Merge 2014-11-13 07:58:28 +01:00
David Katleman
e6c564c97f Added tag jdk9-b39 for changeset 4d506c3aaee1 2014-11-12 20:32:23 -08:00
Coleen Phillimore
a44e4f2067 Merge 2014-11-13 03:48:47 +00:00
Calvin Cheung
7942d78cb9 Merge 2014-11-13 02:09:11 +00:00
Coleen Phillimore
2993751669 Merge 2014-11-12 20:18:13 -05:00
Coleen Phillimore
1b8924bdb6 Merge 2014-11-13 00:40:07 +00:00
Calvin Cheung
1f7d2d4c0d 8043491: warning LNK4197: export '... ...' specified multiple times; using first specification
No need to use the /export linker option on windows 64-bit platform

Reviewed-by: ctornqvi, minqi
2014-11-12 16:22:12 -08:00
David Holmes
959631d58d 8062307: 'Reference handler' thread triggers assert w/ TraceThreadEvents
Removed unused and non-working TraceThreadEvents option

Reviewed-by: coleenp, jiangli
2014-11-12 19:05:59 -05:00
Aleksey Shipilev
f8712e7800 8059677: Thread.getName() instantiates Strings
Reviewed-by: coleenp, dholmes, sla
2014-11-13 01:57:09 +03:00
Jiangli Zhou
afd3405c2f 8054008: Using -XX:-LazyBootClassLoader crashes with ACCESS_VIOLATION on Win 64bit
Only enable the assert for current_stack_pointer after stub routines become available.

Reviewed-by: dholmes, roland, lfoltan
2014-11-12 13:12:35 -05:00
Jiangli Zhou
c4806e0186 Merge 2014-11-11 14:52:50 -05:00
Jiangli Zhou
0bad624124 Merge 2014-11-11 19:42:52 +00:00
Coleen Phillimore
629b0a66ee Merge 2014-11-11 18:00:06 +00:00
Jiangli Zhou
7251d384ac Merge 2014-11-11 16:54:24 +00:00
Coleen Phillimore
d6de951947 8062870: src/share/vm/services/mallocTracker.hpp:64 assert(_count > 0) failed: Negative counter
Signed bitfield size y can only have (1 << y)-1 values.

Reviewed-by: shade, dholmes, jrose, ctornqvi, gtriantafill
2014-11-11 09:59:50 -05:00
Vladimir Ivanov
3e0d07ed5c 8060147: SIGSEGV in Metadata::mark_on_stack() while marking metadata in ciEnv
Reviewed-by: kvn, roland, coleenp, mgerdin
2014-11-11 04:46:13 -08:00
Dmitry Samersoff
fb8f27e2af 8059131: sawindbg.dll is not compiled with /SAFESEH
Make variable SAFESEH_FLAG replaced with /SAFESEH link option.

Reviewed-by: mgronlun, sla
2014-11-11 04:34:56 -08:00
Aleksey Shipilev
21527b2ff2 8015272: Make @Contended within the same group to use the same oop map
Reviewed-by: coleenp, dholmes
2014-11-11 15:07:09 +03:00
Tobias Hartmann
00aa20db4a 8056071: compiler/whitebox/IsMethodCompilableTest.java fails with 'method() is not compilable after 3 iterations'
Always use MDO if valid and always compile trivial methods with C1 if available.

Reviewed-by: kvn, iveresov
2014-11-11 11:05:41 +01:00
Jiangli Zhou
9b1628d0b5 Merge 2014-11-10 19:52:28 -05:00
Eric McCorkle
cba5bd2638 8058322: Zero name_index item of MethodParameters attribute cause MalformedParameterException
Allow hotspot to report null for 0 parameter_name index in MethodParameters attribute

Reviewed-by: coleenp, dholmes
2014-11-10 19:37:32 -05:00
Jiangli Zhou
4f4c4bbd5c 8064375: Change certain errors to warnings in CDS output
Change CDS non-fatal preloading errors to warnings.

Reviewed-by: minqi, mseledtsov, coleenp
2014-11-10 19:28:51 -05:00
Eric McCorkle
bbd7b058d1 8058313: Mismatch of method descriptor and MethodParameters.parameters_count should cause MalformedParameterException
Allow hotspot to store and report zero-length MethodParameters attribute data

Reviewed-by: coleenp, jiangli
2014-11-10 16:45:46 -05:00
Calvin Cheung
5ccaf44879 8060721: Test runtime/SharedArchiveFile/LimitSharedSizes.java fails in jdk 9 fcs new platforms/compiler
Replaced strcat() with jio_snprintf()

Reviewed-by: dholmes, iklam, dlong, minqi
2014-11-10 10:13:10 -08:00
Igor Ignatyev
bdac822811 8059624: Test task: WhiteBox API for testing segmented codecache feature
Reviewed-by: kvn, thartmann
2014-11-10 19:04:38 +03:00
Tatiana Pivovarova
80830d4932 8062742: compiler/EliminateAutoBox/UnsignedLoads.java fails with client vm
Reviewed-by: kvn, rbackman, anoll, vlivanov, iignatyev
2014-11-08 16:00:28 +03:00
Tatiana Pivovarova
dda16f6ccd 8062011: JT_HS/compiler/7068051 uses jre/lib/javaws.jar
Reviewed-by: kvn, iignatyev
2014-11-08 16:00:27 +03:00
Yumin Qi
1768fe1eb9 8062247: [TESTBUG] Allow WhiteBox test to access JVM offsets
Reviewed-by: coleenp, iklam, mseledtsov
2014-11-07 12:48:09 -08:00
David Chase
fbe3993153 Merge 2014-11-07 13:58:52 -05:00
Alejandro Murillo
0aa14570e8 Merge 2014-11-07 06:35:23 -08:00
Staffan Larsen
33477d9cac Merge 2014-11-07 13:50:55 +01:00
Daniel D. Daugherty
d7ec650456 8062851: cleanup ObjectMonitor offset adjustments
JEP-143/JDK-8046133 - cleanup computation of ObjectMonitor field pointers

Reviewed-by: dholmes, redestad, coleenp
2014-11-06 13:05:14 -08:00
Staffan Larsen
bcb6a1586a Merge 2014-11-06 19:59:32 +00:00
David Katleman
baf9de8bf6 Added tag jdk9-b38 for changeset 8cc25b0f95a0 2014-11-06 10:11:35 -08:00
Coleen Phillimore
8a90e389bd Merge 2014-11-06 13:57:26 +00:00
David Buck
5b4d655ce3 Merge 2014-11-06 08:18:10 +00:00
David Buck
af50fa526b 8058715: stability issues when being launched as an embedded JVM via JNI
Use mmap call without MAP_FIXED so we avoid corrupting already allocated memory

Reviewed-by: coleenp, dsimms
2014-11-05 23:37:17 -08:00
Albert Noll
4af87513d4 8062735: CodeCacheSweeperThread missing from SA
Make SA aware of the code cache sweeper thread

Reviewed-by: kvn, coleenp, sspitsyn
2014-11-06 07:27:25 +01:00
Jiangli Zhou
75778598e2 Merge 2014-11-06 01:31:31 +00:00
Jeremy Manson
54e9fee4d2 8062116: JVMTI GetClassMethods is Slow
Allocate enough space for all jmethodids; make adding a jmethodid O(1)

Reviewed-by: coleenp, rasbold, sspitsyn
2014-11-05 16:47:37 -08:00
Coleen Phillimore
78aaa377f4 Merge 2014-11-06 00:01:33 +00:00
Chris Plummer
7a414a2c7d 8043770: File leak in MemNotifyThread::start() in hotspot.src.os.linux.vm.os_linux.cpp
Fixed by removing all code related to LowMemoryProtection, which removed offending code.

Reviewed-by: dholmes, minqi
2014-11-05 13:00:59 -08:00
George Triantafillou
b4138cce10 8061969: [TESTBUG] MallocSiteHashOverflow.java should be enabled for 32-bit platforms
Reviewed-by: ctornqvi, coleenp
2014-11-05 08:22:17 -08:00
Christian Tornqvist
76971f377b 8058251: assert(_count > 0) failed: Negative counter when running runtime/NMT/MallocTrackingVerify.java
Fixed an issue when overflowing the MallocSite hash table bucket

Reviewed-by: coleenp, gtriantafill
2014-11-05 13:20:09 -08:00
Christian Tornqvist
d934df8a84 8061733: [TESTBUG] Exclude tests that have issues with Jigsaw M2 changes
[TESTBUG] Exclude tests that have issues with Jigsaw M2 changes

Reviewed-by: lfoltan, gtriantafill
2014-11-05 13:18:51 -08:00
Martin Doerr
d4fc9133ab 8062950: Bug in locking code when UseOptoBiasInlining is disabled: assert(dmw->is_neutral()) failed: invariant
Reviewed-by: dholmes, kvn
2014-11-05 16:28:11 +01:00
Zoltan Majo
49b224a4f7 8057622: java/util/stream/test/org/openjdk/tests/java/util/stream/InfiniteStreamWithLimitOpTest: SEGV inside compiled code (sparc)
In Parse::array_store_check(), add control edge FROM IfTrue branch of runtime type check of the destination array TO loading _element_klass from destination array.

Reviewed-by: kvn, roland, anoll
2014-11-06 09:40:58 +01:00
Igor Veresov
8db9a55e68 8062591: SPARC PICL causes significantly longer startup times
Optimize traversals of the PICL tree

Reviewed-by: kvn
2014-11-04 07:09:34 -10:00
Christian Tornqvist
f048251de8 8059803: Update use of GetVersionEx to get correct Windows version in hs_err files
Update use of GetVersionEx to get correct Windows version in hs_err files

Reviewed-by: dcubed, gtriantafill
2014-11-03 11:34:13 -08:00
Jaroslav Bachorik
f52a43892a 8061616: HotspotDiagnosticMXBean.getVMOption() throws IllegalArgumentException for flags of type double
Reviewed-by: mchung, sla
2014-11-03 11:19:43 +01:00
Daniel D. Daugherty
c6b9495b55 Merge 2014-10-31 18:18:58 +00:00
Daniel D. Daugherty
2730e1ad50 Merge 2014-10-31 10:15:29 -07:00
David Buck
f27723c08b 8060169: Update the Crash Reporting URL in the Java crash log
Update the URL for HotSpot bug reports.

Reviewed-by: dcubed, rdurbin
2014-10-31 09:37:17 -07:00
Jesper Wilhelmsson
752ab53592 Merge 2014-10-31 08:00:09 +00:00
Alejandro Murillo
73fa4d8c8a Merge 2014-10-30 22:52:13 -07:00
Lana Steuck
6c8da71920 Merge 2014-10-30 13:57:02 -07:00
Igor Veresov
5870a5b77b Merge 2014-10-30 09:50:16 -10:00
David Katleman
6adc3da841 Added tag jdk9-b37 for changeset 566704615ade 2014-10-30 08:34:54 -07:00
Tobias Hartmann
fe1762fbd6 8061817: Whitebox.deoptimizeMethod() does not deoptimize all OSR versions of method
Fixed Whitebox.deoptimizeMethod() to deoptimize all OSR versions of the method.

Reviewed-by: kvn, iignatyev
2014-10-30 13:03:30 +01:00
Jesper Wilhelmsson
1486e4bf7d Merge 2014-10-30 01:01:37 +01:00
Albert Noll
8aa05f7690 8062284: Sweeper thread should not be visible when calling Thread.getAllStackTraces()
Make thread not visible when calling Thread.getAllStackTraces()

Reviewed-by: kvn, shade
2014-10-29 15:42:48 +01:00
Goetz Lindenmaier
0aa09022fa 8062370: Various minor code improvements
A lot of fixes useful to improve the code quality.

Reviewed-by: coleenp, dholmes
2014-10-29 10:13:24 +01:00
Coleen Phillimore
63080521d7 8058093: Test nsk/stress/jck60/jck60014: assert in src/share/vm/oops/constantPool.cpp: should not be resolved otherwise
8044209: nsk/split_verifier/security/coglio06 fails with exit code 97 - missing 'prohibited package name'

Fix resolution error saving.

Reviewed-by: lfoltan, sspitsyn, hseigel, ctornqvi
2014-10-28 17:02:08 -04:00
Nils Eliasson
897d6c5c9b 8061250: serviceability/dcmd/compiler/CompilerQueueTest.java failed
Fixed logging to avoid parsing mistake and added test case.

Reviewed-by: kvn, twisti
2014-10-28 20:16:08 +01:00
Tobias Hartmann
1c866d8433 8062250: [TESTBUG] compiler/codecache/CheckSegmentedCodeCache.java fails after CodeCacheMinimumFreeSpace removal
Adapted calculation of minimum code cache size after CodeCacheMinimumFreeSpace was removed by JDK-8046809.

Reviewed-by: kvn, anoll
2014-10-28 16:44:39 +01:00
Vladimir Kempik
24c29c4db4 8059216: Make PrintGCApplicationStoppedTime print information about stopping threads
Reviewed-by: dholmes, brutisso
2014-10-28 18:41:34 +04:00
Coleen Phillimore
4c036f5730 8037842: Failing to allocate MethodCounters and MDO causes a serious performance drop
Stop allocating compiler profiling metadata when metaspace is full.

Reviewed-by: kvn, anoll
2014-10-30 18:38:42 -04:00
Alex Schenkman
b301b207b3 8062135: serviceability/threads/TestFalseDeadLock.java should be quarantined
Reviewed-by: sla
2014-10-28 12:28:58 +01:00
Ivan Gerasimov
14e05b4858 8059533: (process) Make exiting process wait for exiting threads [win]
Reviewed-by: dholmes, dcubed
2014-10-29 09:53:56 -07:00
Daniel D. Daugherty
0d3acc8838 8061552: Contended Locking speedup PlatformEvent unpark bucket
JEP-143/JDK-8046133 - optimization #2 - speedup PlatformEvent unpark bucket.

Co-authored-by: Dave Dice <dave.dice@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Reviewed-by: acorn, dice, dholmes
2014-10-29 09:19:59 -07:00
Tobias Hartmann
1e7b7a410e 8061983: [TESTBUG] compiler/whitebox/MakeMethodNotCompilableTest.java fails with "must not be in queue"
Added a method checkNotCompiled(boolean isOsr) to either check if the method is OSR compiled or to check if it is non-OSR compiled.

Reviewed-by: kvn
2014-10-28 09:17:36 +01:00
Igor Veresov
1af7144df1 Merge 2014-10-27 20:03:57 -10:00
Daniel D. Daugherty
ee1de3ce2f Merge 2014-10-27 15:09:23 -07:00
Kim Barrett
f9d8e2ae9d 8062206: Remove unusable G1RSLogCheckCardTable command line argument
Remove dependent assertion and remove develop option

Reviewed-by: jwilhelm, mgerdin, tschatzl
2014-10-27 17:24:10 -04:00
Marcus Larsson
6e148efe69 8064348: Add TraceEvent::is_enabled() for embedded/minimal builds
Reviewed-by: ehelin, sla
2014-11-10 12:13:46 +01:00
John Coomes
894e9e8f87 8060467: CMS: small OldPLABSize and -XX:-ResizePLAB cause assert(ResizePLAB || n_blks == OldPLABSize) failed: Error
Reviewed-by: tschatzl, jmasa, kbarrett
2014-11-07 15:34:33 -08:00
Mikael Gerdin
bb556024a7 8061964: Insufficient compiler barriers for GCC in OrderAccess functions
Fix OrderAccess functions to emit memory clobbering inline assembly to attempt to stop copiler reordering.

Reviewed-by: dcubed, dholmes, bdelsart
2014-11-03 11:08:03 +01:00
Jesper Wilhelmsson
7339456266 8062836: BACKOUT - Parallelize clearing the next mark bitmap
Backing out due to non-trivial issues found in nightly testing

Reviewed-by: mgerdin, mlarsson
2014-11-05 15:50:14 +01:00
Erik Helin
0e54928686 8061467: Bad page size passed to setup_large_pages() on Solaris
Reviewed-by: tschatzl, mgerdin
2014-11-05 16:39:10 +01:00
Bengt Rutisson
c1bc4be92b 8061449: G1: FreeRegionList_test() fails with G1 after the JDK-8058534 fix to HeapRegion::orig_end()
Reviewed-by: mgerdin, tschatzl, stefank
2014-11-05 10:12:51 +01:00
Jesper Wilhelmsson
b59b80b068 Merge 2014-11-03 15:53:48 +01:00
Marcus Larsson
4a9f067587 8049341: Parallelize clearing the next mark bitmap
Reviewed-by: mgerdin, tschatzl
2014-11-03 12:49:21 +01:00
Marcus Larsson
fe45f7091b 8054491: Remove wrong assert and refactor code in G1CollectorPolicy::record_concurrent_mark_end
Reviewed-by: tschatzl, brutisso
2014-11-03 11:29:00 +01:00
Bengt Rutisson
4601eb634a 8061308: Remove iCMS
Reviewed-by: mgerdin, jmasa
2014-10-31 09:10:51 +01:00
Marcus Larsson
5fd7516136 8043243: convert SCAN_AND_FORWARD, SCAN_AND_ADJUST_POINTERS, SCAN_AND_COMPACT macros to methods
Reviewed-by: mgerdin, kbarrett
2014-10-30 12:45:22 +01:00
Stefan Johansson
6306dce831 8061234: ResourceContext.requestAccurateUpdate() is unreliable
Changing copy_allocation_context_stats to return if there are more stats available after the copy.

Reviewed-by: rriggs, jcoomes
2014-10-30 10:51:06 +01:00
Jesper Wilhelmsson
76db8ade45 Merge 2014-10-27 19:15:23 +00:00
Jesper Wilhelmsson
ca6fb51841 Merge 2014-10-27 20:00:04 +01:00
Jesper Wilhelmsson
5cb1dff557 Merge 2014-10-27 20:00:04 +01:00
Jon Masamitsu
f01e2584c7 Merge 2014-10-27 16:39:29 +00:00
Andrey Zakharov
b9c70becab 8059614: [TESTBUG] Test for UseNUMA enable UseNUMAInterleaving
Tests that UseNUMAInterleaving enabled for all collectors by ergonomics, on all platforms when UseNUMA feature is enabled.

Reviewed-by: jmasa, dfazunen
2014-10-27 07:52:49 -07:00
Alejandro Murillo
ea60f1eddd Merge 2014-10-27 07:49:54 -07:00
Harold Seigel
f5c3ac04e4 8061962: classFileParser.cpp.orig got erroneously added to the hotspot source repository
Remove the file

Reviewed-by: coleenp, ccheung
2014-10-24 08:56:47 -04:00
Boris Molodenkov
f55d90353f 8057135: [TESTBUG] Need a test to cover JDK-8050167
Reviewed-by: ctornqvi, coleenp
2014-10-24 12:32:53 +04:00
Chris Plummer
5306f2430a 6191224: (reflect) Misleading detail string in IllegalArgumentException thrown by Array.get<Type>
The test case shows that an exception is thrown with the message "Argument is not an array", when in fact the argument is an array, but an array of a primitive type is actually what was expected. Fixed by differentiating between failing because an array was expected and failing because an array of a primitive type was expected.

Reviewed-by: dholmes, ctornqvi, lfoltan
2014-10-23 14:43:08 -07:00
Lana Steuck
88ecaa471d Merge 2014-10-23 13:44:59 -07:00
Kim Barrett
8f8d87ece5 8061748: Remove check_ct_logs_at_safepoint()
Remove unused function and related closure class

Reviewed-by: jwilhelm, mgerdin
2014-10-23 16:19:32 -04:00
David Katleman
94c271fa96 Added tag jdk9-b36 for changeset 1f97f4f1b7d9 2014-10-23 11:19:10 -07:00
Calvin Cheung
1aa3da1067 8038268: VM Crashes in MetaspaceShared::generate_vtable_methods while creating CDS archive with limiting SharedMiscCodeSize
Estimate the minimum required size for the misc code region and check if the specified misc code region size meets the minimum size requirement

Reviewed-by: jiangli, dholmes
2014-10-23 10:08:02 -07:00
Jesper Wilhelmsson
84aecba04d Merge 2014-10-23 17:36:30 +02:00
Jesper Wilhelmsson
5c52a46b60 Merge 2014-10-23 17:36:30 +02:00
Erik Helin
3a3e45ab40 8061630: G1 iterates over JNIHandles two times
Reviewed-by: mgerdin, brutisso
2014-10-23 11:43:29 +02:00
Karen Kinnear
397e42b775 Merge 2014-10-22 22:37:06 +00:00
Karen Kinnear
0e1283a811 8043275: Fix interface initialization for default methods
Initialize interfaces that declare concrete instance methods.

Reviewed-by: kamg, coleenp, psandoz
2014-10-22 15:24:37 -07:00
Jesper Wilhelmsson
27e9dd8a8d 8061805: BACKOUT - Remove the generations array
Backing out the change due to non-trivial test problems in nightly testing.

Reviewed-by: jwilhelm, mgerdin
2014-10-22 16:40:43 +02:00
Andreas Eriksson
ea48bceb5e 8057043: Type annotations not retained during class redefine / retransform
Reviewed-by: coleenp, sspitsyn, jfranck
2014-10-22 13:59:56 +02:00
Frederic Parain
209ffcd9a5 8061618: Removed unused networking functions from os class
Reviewed-by: lfoltan, hseigel, dholmes
2014-10-22 02:31:25 -07:00
Erik Osterlund
a324ff0f31 8058255: Native jbyte Atomic::cmpxchg for supported x86 platforms
Use the native cmpxchgb instruction on x86.

Reviewed-by: dholmes, kbarrett, phh
2014-10-21 15:07:25 +02:00
Bengt Rutisson
a5d4521aa1 Merge 2014-11-18 12:33:47 +00:00
Erik Helin
491a4a8ea6 Merge 2014-11-18 11:10:02 +00:00
Bengt Rutisson
2da855a259 8064865: Remove the debug funciontality RotateCMSCollectionTypes for CMS
Reviewed-by: jmasa, kbarrett, ysr
2014-11-18 10:39:16 +01:00
Erik Helin
f3997d8eed 8064721: The card tables only ever need two covering regions
Reviewed-by: jmasa, tschatzl, kbarrett
2014-11-18 10:36:42 +01:00
Bengt Rutisson
4b60638d85 8064702: Remove the CMS foreground collector
Reviewed-by: kbarrett, ysr
2014-11-18 10:23:26 +01:00
Jesper Wilhelmsson
2616e09389 Merge 2014-11-17 21:32:32 +01:00
Stefan Karlsson
eebf2b9126 8064581: Move INCLUDE_ALL_GCS include section to the end of the include list
Reviewed-by: jwilhelm, brutisso, coleenp, dholmes
2014-11-12 12:41:59 +01:00
Stefan Karlsson
d326162380 8064580: Move INCLUDE_CDS include section to the end of the include list
Reviewed-by: jwilhelm, brutisso, coleenp, dholmes
2014-11-11 17:05:33 +01:00
Staffan Friberg
04bdb774e1 8064473: Improved handling of age during object copy in G1
Reviewed-by: brutisso, tschatzl
2014-11-14 15:03:39 +01:00
Mikael Gerdin
4feb7b4dab 8058209: Race in G1 card scanning could allow scanning of memory covered by PLABs
Read _top before _gc_time_stamp in saved_mark_word() with LoadLoad order to ensure we get a consistent view

Reviewed-by: brutisso, dcubed, dholmes, stefank
2014-11-14 14:23:25 +01:00
Stefan Karlsson
95704b233c 8064811: Use THREAD instead of CHECK_NULL in return statements
Reviewed-by: coleenp, simonis, dholmes
2014-11-14 09:47:09 +01:00
Goetz Lindenmaier
3b31df26c8 8064786: Fix debug build after 8062808: Turn on the -Wreturn-type warning
Reviewed-by: stefank, tschatzl
2014-11-13 11:14:01 +01:00
Kim Barrett
294a63af5f 8062036: ConcurrentMarkThread::slt may be invoked before ConcurrentMarkThread::makeSurrogateLockerThread causing intermittent crashes
Suppress gc_alot during VM init, improve error for SLT uninitialized.

Reviewed-by: jmasa, brutisso, tschatzl
2014-11-11 13:39:00 -05:00
Stefan Karlsson
692dbfd02d 8062808: Turn on the -Wreturn-type warning
Reviewed-by: mgerdin, tschatzl, coleenp, jrose, kbarrett
2014-11-12 13:55:59 +01:00
Marcus Larsson
46e9fb5176 6979279: remove special-case code for ParallelGCThreads==0
Reviewed-by: jwilhelm, brutisso, kbarrett
2014-10-21 11:57:22 +02:00
Roland Westrelin
79738069b0 8060252: JDK-7173584 compiler changes regress SPECjvm2008 on SPARC
Arraycopy code misses opportunities to optimize copies to just allocated array.

Reviewed-by: kvn
2014-10-20 22:53:37 +02:00
Vladimir Kozlov
8cd1a874e8 8059780: SPECjvm2008-MPEG performance regressions on x64 platforms
Back-out 8052081 changes made in lcm.cpp.

Reviewed-by: iveresov, roland
2014-11-03 12:02:40 -08:00
Sergei Kovalev
8152a3ea35 8044186: Introduce a reproducible random generator
Reviewed-by: kvn, iveresov, iignatyev
2014-11-02 18:43:38 +03:00
Igor Ignatyev
e429e497ce 8043125: compiler/types/correctness/CorrectnessTest.java: assert(layout->tag() == DataLayout::speculative_trap_data_tag) failed: wrong type
Reviewed-by: kvn
2014-11-02 18:43:00 +03:00
Igor Ignatyev
e5a126fe00 8036913: make DeoptimizeALot dependent on number of threads
Reviewed-by: kvn, shade
2014-11-02 18:42:30 +03:00
Vladimir Kozlov
74def215cd 8054492: Casting can result in redundant null checks in generated code
Add C2 intrinsic for Class.cast() method and force inline it too.

Reviewed-by: jrose, roland, drchase, iignatyev
2014-10-31 16:51:57 -07:00
Igor Veresov
daf2fd0593 Merge 2014-10-31 12:01:27 -10:00
Tobias Hartmann
7d202a428b Merge 2014-10-31 11:31:30 +00:00
Tobias Hartmann
62d33442b8 8062169: Multiple OSR compilations issued for same bci
Fixed 'SimpleThresholdPolicy::event' to always perform OSR if an OSR nmethod is available.

Reviewed-by: kvn, iveresov
2014-10-31 12:16:20 +01:00
Stefan Johansson
bd227a9bac 8058568: GC cleanup phase can cause G1 skipping a System.gc()
Marking G1 FullGC as a _full collection and passing down the correct before count.

Reviewed-by: brutisso, mgerdin
2014-10-20 10:18:17 +02:00
Daniel D. Daugherty
aed4b0760c Merge 2014-10-18 11:37:11 -07:00
Alejandro Murillo
c3b487d84f Merge 2014-10-17 07:58:54 -07:00
Daniel D. Daugherty
31986657eb Merge 2014-10-17 06:58:57 -07:00
Lana Steuck
2b931469de Merge 2014-10-16 14:15:37 -07:00
David Katleman
f0c24e1a0f Added tag jdk9-b35 for changeset 58090065f895 2014-10-16 12:01:59 -07:00
Jiangli Zhou
cc264643ac 8060256: The loop in Arguments::parse() can be enhanced
Add continue statement for matching cases.

Reviewed-by: dholmes, bdelsart
2014-10-16 14:11:53 -04:00
Daniel D. Daugherty
f7f1cca26e Merge 2014-10-16 17:36:47 +00:00
Jesper Wilhelmsson
1570e4c406 Merge 2014-10-16 15:59:39 +00:00
George Triantafillou
b79e1193cd 8058606: [TESTBUG] Detailed Native Memory Tracking (NMT) data is not verified as output at VM exit
Reviewed-by: coleenp, hseigel
2014-10-15 05:55:44 -07:00
Zoltan Majo
ed26c7e640 8059604: Add CompileThresholdScaling flag to control when methods are first compiled (with and withour TieredCompilation)
This patch adds a new flag (CompileThresholdScaling) to control when methods are first compiled

Reviewed-by: anoll, iveresov, kvn
2014-10-15 14:00:41 +02:00
Zoltan Majo
bde7fd61b4 8060215: per-method PrintIdealGraphLevel
Use CompileCommand=option to set PrintIdealGraphLevel on a per-method level. Introduce the PrintIdealGraph develop to control/check if printing the graph is enabled for any method

Reviewed-by: kvn, dlong, thartmann
2014-10-15 10:51:43 +02:00
Jiangli Zhou
ad65e81ce7 8044269: Analysis of archive files
Add checksum verification.

Reviewed-by: iklam, dholmes, mschoene
2014-10-14 18:47:46 -07:00
Jesper Wilhelmsson
1055ae0436 Merge 2014-10-14 20:35:45 +00:00
Jiangli Zhou
01f7696c6d Merge 2014-10-14 19:39:28 +00:00
Sangheon Kim
8d288ccc54 8027428: Different conditions for printing taskqueue statistics for parallel gc, parNew and G1
Changed flag names for printing taskqueue and termination statistics for parallel gc, parNew and G1.

Reviewed-by: jwilhelm, brutisso, tschatzl
2014-10-14 20:58:43 +02:00
Marcus Larsson
d10dd28393 8060116: After JDK-8047976 gc/g1/TestSummarizeRSetStatsThreads fails
Also reviewed by: sangheon.kim@oracle.com

Reviewed-by: brutisso
2014-10-14 19:55:54 +02:00
Jiangli Zhou
5b06cbcdad Merge 2014-10-14 13:43:47 -04:00
Daniel D. Daugherty
f1ab0fae73 8049737: Contended Locking reorder and cache line bucket
JEP-143/JDK-8046133 - optimization #1 - reorder and cache line bucket.

Co-authored-by: Dave Dice <dave.dice@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Reviewed-by: shade, dice, dholmes, dsimms
2014-10-14 10:32:12 -07:00
Jiangli Zhou
d7fe532761 8047934: Adding new API for unlocking diagnostic argument
New API for unlocking diagnostic argument.

Reviewed-by: dholmes, ccheung, egahlin, iklam, bdelsart
2014-10-14 12:09:33 -04:00
Thomas Stuefe
51866388d1 7102541: RFE: os::set_native_thread_name() cleanups
Implement os::set_native_thread_name() on windows, linux

Reviewed-by: sla, ctornqvi, simonis
2014-10-13 22:11:39 +02:00
Jesper Wilhelmsson
1934c66969 Merge 2014-10-13 16:05:46 +02:00
Tobias Hartmann
38e46e728d 8046268: compiler/whitebox/ tests fail : must be osr_compiled
Added code to 'warm up' the methods before triggering OSR compilation by executing them a limited number of times. Like this, the profile information marks the loop exit as taken and we don't add an uncommon trap.

Reviewed-by: kvn, dlong, iignatyev
2014-10-13 12:30:37 +02:00
Coleen Phillimore
c5dbe0cf46 Merge 2014-10-10 21:47:04 +00:00
Coleen Phillimore
3a86f9cd27 8059100: SIGSEGV VirtualMemoryTracker::remove_released_region
Disallow increasing native memory tracking level

Reviewed-by: hseigel, ctornqvi, gtriantafill
2014-10-10 19:36:12 +00:00
Daniel D. Daugherty
f5bcc77f94 Merge 2014-10-10 18:00:14 +00:00
Daniel D. Daugherty
c70dbd3959 Merge 2014-10-10 08:28:12 -07:00
Albert Noll
aed6e5a976 Merge 2014-10-10 13:26:23 +00:00
Albert Noll
026dd65916 Merge 2014-10-10 13:05:49 +00:00
Albert Noll
e210688db9 8059847: complement JDK-8055286 and JDK-8056964 changes
Extend scan_flag_and_value() to process flag of type double. Add regression test compiler/oracle/CheckCompileCommandOption.java.

Reviewed-by: kvn, anoll
2014-10-10 14:48:30 +02:00
Sangheon Kim
3f18eda414 8058801: G1TraceReclaimDeadHumongousObjectsAtYoungGC only prints humongous object liveness output when there is at least one candidate humongous object
If G1TraceReclaimDeadHumongousObjectsAtYoungGC is enabled, always print humongous object liveness output.

Reviewed-by: tschatzl
2014-10-10 12:15:51 +02:00
Alejandro Murillo
f8d533e6b6 Merge 2014-10-10 02:24:35 -07:00
Serguei Spitsyn
99096d6e68 8059904: libjvm_db.c warnings in solaris/sparc build with SS
Fix warnings by correcting the cast of pointers returned from calloc()

Reviewed-by: dholmes
2014-10-09 16:56:27 -07:00
Staffan Friberg
8b424b422f 8057737: Avoid G1 write barriers on newly allocated objects
Reviewed-by: mgerdin, kvn, iveresov
2014-10-09 13:06:15 -07:00
Igor Veresov
7d595c0799 Merge 2014-10-09 12:36:20 -07:00
Lana Steuck
ce26e95e4f Merge 2014-10-09 12:17:17 -07:00
David Katleman
28ce04fffe Added tag jdk9-b34 for changeset 8af850ba9862 2014-10-09 11:24:04 -07:00
Aleksey Shipilev
fe03f41db8 8059924: com/sun/management/DiagnosticCommandMBean/DcmdMBeanPermissionsTest.java: assert(Universe::verify_in_progress() || !SafepointSynchronize::is_at_safepoint()) failed: invariant
Revive the hashcode installation in Verifier

Reviewed-by: kamg, lfoltan
2014-10-09 16:41:28 +04:00
Frederic Parain
94af790733 8057777: Cleanup of old and unused VM interfaces
Reviewed-by: coleenp, hseigel, alanb, sherman
2014-10-09 04:45:58 -07:00
Jesper Wilhelmsson
067456b11d Merge 2014-10-09 13:42:29 +02:00
Thomas Schatzl
60f3ade82b 8059758: Footprint regressions with JDK-8038423
Changes in JDK-8038423 always initialize (zero out) virtual memory used for auxiliary data structures. This causes a footprint regression for G1 in startup benchmarks. This is because they do not touch that memory at all, so the operating system does not actually commit these pages. The fix is to, if the initialization value of the data structures matches the default value of just committed memory (=0), do not do anything.

Reviewed-by: jwilhelm, brutisso
2014-10-09 11:40:11 +02:00
Tobias Hartmann
3ed02be10e 8059735: make_not_entrant_or_zombie sees zombies
Make sure nmethod is not set to zombie state twice by sweeper and safepoint code.

Reviewed-by: kvn, anoll, mgerdin
2014-10-08 09:23:18 +02:00
John Coomes
ecfa03bddc Merge 2014-10-07 15:44:11 -07:00
Marcus Larsson
6d1c35615a 8058298: Separate heap region iterator claim values from the data structures iterated over
Reviewed-by: tschatzl, brutisso
2014-10-07 14:54:53 +02:00
Albert Noll
82171aa7ab 8059331: Print additional information for the assert in Compile::start()
Add additional output that shows the failure reason

Reviewed-by: kvn
2014-10-06 06:51:37 -07:00
Roland Westrelin
f575843d51 8058746: escape analysis special case code for array copy broken by 7173584
Escape analysis doesn't handler arraycopy nodes properly

Reviewed-by: kvn, iveresov, vlivanov
2014-10-06 14:53:30 +02:00
Stefan Johansson
18eb46eb95 8059466: Force young GC to initiate marking cycle when stat update is requested
Enable yc to be forced for stat update.

Reviewed-by: mgerdin, jcoomes
2014-10-06 10:11:13 +02:00
Tobias Hartmann
4c1c76ae4f 8059559: SIGSEGV at CodeHeap::allocate(unsigned int, bool)
Create the non-profiled code heap if TieredStopAtLevel=0 is set because we compile method handle intrinsics.

Reviewed-by: kvn
2014-10-06 07:58:50 +02:00
Chris Plummer
db57351f43 8046607: Code cleanup: PerfMemory::backing_store_filename() should be removed
Removed PerfMemory::backing_store_filename() API since it is not used anywhere.

Reviewed-by: sla, hseigel
2014-10-03 13:56:18 -07:00
Gerard Ziemski
259a454043 Merge 2014-10-03 15:41:56 -05:00
Igor Veresov
c39454ae56 8059621: JVM crashes with "unexpected index type" assert in LIRGenerator::do_UnsafeGetRaw
Get types from LIR instructions instead of HIR

Reviewed-by: kvn
2014-10-03 13:34:46 -07:00
Lana Steuck
dcd1a49883 Merge 2014-10-03 12:11:14 -07:00
Igor Veresov
8327c8c62e Merge 2014-10-03 11:14:58 -07:00
Lana Steuck
272bbf52b6 Added tag jdk9-b33 for changeset 1197007e187c 2014-10-03 11:07:02 -07:00
Jesper Wilhelmsson
4a82f3067a Merge 2014-10-03 13:00:21 +02:00
Marcus Larsson
08dd794b92 8059651: Tests specify -XX:+UseG1GC and -XX:ParallelGCThreads=0
Reviewed-by: jwilhelm, brutisso
2014-10-03 10:05:11 +02:00
Coleen Phillimore
a791dae7b4 Merge 2014-10-03 03:31:30 +00:00
Ioi Lam
da6e20fd64 Merge 2014-10-03 02:59:14 +00:00
Igor Veresov
0f0d955738 Merge 2014-10-03 01:10:39 +00:00
Jesper Wilhelmsson
07d76f58c8 Merge 2014-10-03 00:21:49 +02:00
Coleen Phillimore
90200446c1 8047736: Remove JVM_GetClassLoader as no longer used
Remove this function from hotspot.  It's already removed from the JDK.

Reviewed-by: mchung, fparain, ctornqvi
2014-10-02 16:31:44 -04:00
Ioi Lam
2b2786873d Merge 2014-10-02 12:55:40 -07:00
Igor Veresov
5a0ca33566 Merge 2014-10-02 12:31:03 -07:00
Aleksey Shipilev
0ba4969549 8059595: Verifier::verify is wasting time before is_eligible_for_verification check
Do the check earlier.

Reviewed-by: hseigel, kamg
2014-10-02 17:13:31 +04:00
Tobias Hartmann
c410cd3bfb 8059596: VM startup fails with 'Invalid code heap sizes' if -XX:ReservedCodeCacheSize is set
Only increase code heap sizes in Arguments::set_tiered_flags() if reserved code cache size is default.

Reviewed-by: shade, vlivanov, sla
2014-10-02 12:58:37 +02:00
Marcus Larsson
628fcb087d 8059527: Disallow ParallelGCThreads=0 for G1
Reviewed-by: ehelin, brutisso
2014-10-02 11:22:02 +02:00
Goetz Lindenmaier
3263a62bb4 8059592: Recent bugfixes in ppc64 port
Reviewed-by: kvn
2014-10-02 09:32:53 +02:00
Vladimir Kozlov
d124a839ce 8059299: assert(adr_type != NULL) failed: expecting TypeKlassPtr
Use top() for dead paths when initializing Phi node of exceptions klasses in Parse::catch_inline_exceptions().

Reviewed-by: jrose, vlivanov
2014-10-02 11:36:44 -07:00
Ioi Lam
235ae5eb62 Merge 2014-10-01 15:24:34 -07:00
Vladimir Ivanov
5a5f718b6f 8059556: C2: crash while inlining MethodHandle invocation w/ null receiver
Reviewed-by: kvn, jrose
2014-10-01 12:34:45 -07:00
Vladimir Ivanov
0a751b424f 8058828: Wrong ciConstant type for arrays from ConstantPool::_resolved_reference
Reviewed-by: kvn, jrose
2014-10-01 12:34:38 -07:00
Igor Veresov
2fa26393fb Merge 2014-10-01 11:43:03 -07:00
Erik Helin
6f4355a3a6 8049599: MetaspaceGC::_capacity_until_GC can overflow
Reviewed-by: jmasa, stefank
2014-10-01 16:09:01 +02:00
Tobias Hartmann
8fcc715e8a Merge 2014-10-01 09:40:43 +00:00
Aleksey Shipilev
8c9dff938c 8059474: Clean up vm/utilities/Bitmap type uses
Reviewed-by: coleenp, mgerdin
2014-10-01 12:29:28 +04:00
Zoltan Majo
72eb3f0643 8059390: code cache fills up for bigapps/Weblogic+medrec/nowarnings
Retrieve code heap in CodeCache::allocate(), ::report_codemem_full(), and ::unallocated_capacity()  also if segmented code cache is disabled.

Reviewed-by: vlivanov, thartmann
2014-10-01 10:01:46 +02:00
Tobias Hartmann
ea755702aa 8059468: Fix PrintCodeCache output changed by JDK-8059137
Change output of PrintCodeCache to print "CodeCache" instead of "Code Cache" and change name of non-method code heap to non-nmethod code heap.

Reviewed-by: vlivanov, anoll
2014-09-30 15:44:43 +02:00
Bengt Rutisson
82931dcc1c 8059452: G1: Change the default values for G1HeapWastePercent and G1MixedGCLiveThresholdPercent
Reviewed-by: tschatzl, jwilhelm
2014-09-30 13:14:22 +02:00
Nils Eliasson
609974cfdd 8058891: serviceability/dcmd/CodelistTest.java - fails on all platforms
Fix can not reflect MethodHandles

Reviewed-by: kvn, drchase
2014-09-30 10:22:58 +02:00
Tobias Hartmann
3525490c57 8059137: MemoryPoolMXBeans for different code heaps should contain 'Code heap' in their names
The segmented code cache implementation registers a memory pool for each code heap. To be consistent with the "non-segmented" output, the names of these pools should contain the word "code heap".

Reviewed-by: kvn, sla, fzhinkin
2014-09-30 09:06:39 +02:00
Goetz Lindenmaier
1d9e66c743 8058880: Introduce identifier TEMP_DEF for effects in adl
Modified adlc sources.

Reviewed-by: kvn, drchase
2014-09-29 16:03:30 -04:00
Vladimir Ivanov
55291de970 8058825: EA: ConnectionGraph::split_unique_types does incorrect scalar replacement
Reviewed-by: kvn
2014-09-29 11:46:05 -07:00
Evgeniya Stepanova
a73a5247a5 8038098: [TESTBUG] remove explicit set build flavor from hotspot/test/compiler/* tests
Reviewed-by: iignatyev, vlivanov, kvn, fzhinkin
2014-09-29 09:32:15 -07:00
Evgeniya Stepanova
dc7da7467b 8025606: [TESTBUG] Move ctw-tests to /testlibrary_tests
Reviewed-by: iignatyev, vlivanov, kvn
2014-09-29 09:29:24 -07:00
Vladimir Ivanov
872804d9dc 8058578: -XX:+TraceDependencies is broken for call_site_target_value dependency type
Reviewed-by: jrose, kvn
2014-09-29 09:26:48 -07:00
Erik Helin
179b5f7fd1 Merge 2014-09-29 12:05:44 +00:00
Erik Helin
d072dfaf9d 8058963: CollectorPolicy::satisfy_failed_metadata_allocation can avoid some safepoints
Reviewed-by: brutisso, mgerdin
2014-09-29 10:38:50 +02:00
Andrey Zakharov
c01e7966b6 8043766: CMM Testing: 8u40 Decommit auxiliary data structures
Check that native memory is returned to the system when decommiting memory within the heap with G1.

Reviewed-by: tschatzl, jwilhelm
2014-09-29 09:59:23 +02:00
Jesper Wilhelmsson
261735f6fa 8047976: Ergonomics for GC thread counts should update the flags
Ergonomics updates flags for number of GC threads

Reviewed-by: tschatzl, jwilhelm
2014-09-27 15:11:41 +02:00
Ioi Lam
4c5840ada6 Merge 2014-09-26 17:55:09 -07:00
Coleen Phillimore
d3a84af0af Merge 2014-09-26 18:59:09 -04:00
Coleen Phillimore
866de7bb9c 8057846: ClassVerifier::change_sig_to_verificationType temporary symbol creation code is hot
Only update the refcount without looking it up in the symbol table.

Reviewed-by: hseigel, lfoltan, shade
2014-09-26 17:11:27 -04:00
Coleen Phillimore
ae9681a5cf 8058927: ATG throws ClassNotFoundException
ClassLoader for array klass set to null and not the class loader of the component type.

Reviewed-by: dcubed, ctornqvi
2014-09-26 12:50:30 -04:00
Alejandro Murillo
854f91fd5b Merge 2014-09-26 01:40:31 -07:00
Jesper Wilhelmsson
b15f3b438d Merge 2014-09-26 06:07:48 +00:00
Lana Steuck
e20499314f Merge 2014-09-25 16:21:54 -07:00
Niclas Adlertz
a15b864ec9 Merge 2014-09-25 23:37:41 +02:00
David Katleman
feb5f12af6 Added tag jdk9-b32 for changeset 16409c45f454 2014-09-25 12:40:17 -07:00
Coleen Phillimore
968d1fec16 Merge 2014-09-25 12:04:28 +00:00
Coleen Phillimore
31b9cf6251 8058818: Allocation of more then 1G of memory using Unsafe.allocateMemory is still causing a fatal error on 32bit platforms
The assert was firing for NMT_Off and minimal too even though the size isn't used.

Reviewed-by: gtriantafill, dholmes
2014-09-25 07:52:32 -04:00
Dmitry Samersoff
1ac95fd847 8054194: jstack crash: assert(handle != NULL) failed: JNI handle should not be null
Add better error check to sa to avoid secondary crash

Reviewed-by: sla, jbachorik, sspitsyn
2014-09-25 02:48:25 -07:00
Aleksey Shipilev
f824f8c3cb 8058968: Compiler time traces should be improved
Use CITime consistently, make C2 to report to CompilerBroker, more probes.

Reviewed-by: vlivanov, jrose
2014-09-25 12:10:57 +04:00
Tobias Hartmann
d63b9025d8 8058737: CodeCache::find_blob fails with 'unsafe access to zombie method'
Remove active ICStubs from zombie nmethods

Reviewed-by: kvn, iveresov
2014-09-29 08:40:51 +02:00
Igor Veresov
bea6d40f48 8058536: java/lang/instrument/NativeMethodPrefixAgent.java fails due to VirtualMachineError: out of space in CodeCache for method handle intrinsic
Make sure MH intrinsics can be created before compiler instances

Reviewed-by: kvn
2014-09-26 20:09:02 -07:00
Volker Simonis
a1628426d3 8058345: Refactor native stack printing from vmError.cpp to debug.cpp to make it available in gdb as well
Also fix stack trace on x86 to enable walking of runtime stubs and native wrappers

Reviewed-by: kvn
2014-09-24 12:19:07 -07:00