Commit Graph

7398 Commits

Author SHA1 Message Date
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
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