Commit Graph

7630 Commits

Author SHA1 Message Date
David Holmes
26dc1466b7 8035663: Suspicious failure of test java/util/concurrent/Phaser/FickleRegister.java
Reviewed-by: shade, coleenp
2014-11-25 21:00:21 -05:00
Roland Westrelin
15dcd41e87 6898462: The escape analysis with G1 cause crash assertion src/share/vm/runtime/vframeArray.cpp:94
OOM during reallocation of scalar replaced objects in deoptimization causes crashes

Reviewed-by: kvn, jrose
2014-11-25 17:33:59 +01:00
Niclas Adlertz
53f42d325b Merge 2014-12-05 15:16:01 +01:00
Roland Westrelin
1976f161a5 Merge 2014-12-04 14:11:11 +00:00
Roland Westrelin
07537703cc 8048170: Test closed/java/text/Normalizer/ConformanceTest.java failed
PhaseIdealLoop::split_if_with_blocks_post() shoulnd't reorder range checks adjusted by range check smearing

Reviewed-by: kvn, jrose
2014-12-04 14:34:11 +01:00
Goetz Lindenmaier
bdefb9e250 8065915: Fix includes after 8058148: MaxNodeLimit and LiveNodeCountInliningCutoff
Reviewed-by: vlivanov, dholmes
2014-11-25 15:59:42 +01:00
Jesper Wilhelmsson
1da0a96993 8065305: Make it possible to extend the G1CollectorPolicy
Added a G1CollectorPolicyExt where it is possible to extend the class.

Reviewed-by: sjohanss, tschatzl
2014-11-25 13:41:08 +01:00
Ivan Gerasimov
5ffd65a731 8064694: Kitchensink: WaitForMultipleObjects failed in hotspot\src\os\windows\vm\os_windows.cpp: 3844
Increase the timeout in debug builds; raise the priority of exiting threads

Reviewed-by: dcubed, dholmes
2014-11-25 14:16:32 +03:00
Staffan Larsen
c44953a395 Merge 2014-11-24 09:57:02 +01:00
Alejandro Murillo
ee49c27e76 Merge 2014-11-21 08:00:31 -08:00
Tatiana Pivovarova
585ca822b8 8064696: compiler/startup/SmallCodeCacheStartup.java doesn't check exit code
Reviewed-by: kvn, anoll, iignatyev
2014-11-21 17:28:29 +03:00
Igor Ignatyev
bf5546e48d 8059550: JEP-JDK-8043304: Test task: segment overflow w/ empty others
Reviewed-by: kvn, thartmann, iignatyev
2014-11-21 17:27:11 +03:00
Lana Steuck
752f6b08a0 Merge 2014-11-20 10:57:38 -08:00
Alexander Harlap
aba13c04f2 8059492: Wrong spelling in assert: "Not initialied properly?"
Fixed typo in metaspace assert message

Reviewed-by: mgerdin
2014-11-20 10:03:22 -05:00
Tobias Hartmann
5ef6d4e99d 8050079: crash while compiling java.lang.ref.Finalizer::runFinalizer
Ignore non-instance Klasses in the subclass hierarchy.

Reviewed-by: kvn, iignatyev, jrose
2014-11-20 11:06:26 +01:00
Ioi Lam
68c088e66f 8065346: WB_AddToBootstrapClassLoaderSearch calls JvmtiEnv::create_a_jvmti when not in _thread_in_vm state
Removed ThreadToNativeFromVM and use java_lang_String::as_utf8_string instead

Reviewed-by: dholmes, minqi
2014-11-19 19:31:13 -08:00
Coleen Phillimore
4151db8bfd 8042235: redefining method used by multiple MethodHandles crashes VM
Note all MemberNames created on internal list for adjusting method entries.

Reviewed-by: sspitsyn, dcubed, lfoltan
2014-11-19 13:02:11 -05:00
Andrey Zakharov
5b5a52cd58 8059661: Test SoftReference and OOM behavior
Reviewed-by: tschatzl
2014-11-19 19:22:49 +04:00
Markus Grönlund
ac5d9dad16 8065361: Fixup headers and definitions for INCLUDE_TRACE
Reviewed-by: sla, stefank
2014-11-19 16:08:01 +01:00
Evgeniya Stepanova
b83ddbef42 8062537: [TESTBUG] Conflicting GC combinations in hotspot tests
Reviewed-by: brutisso
2014-11-19 17:43:19 +03:00
David Katleman
785151164a Added tag jdk9-b40 for changeset e549997f615f 2014-11-18 15:25:14 -08:00
Zoltan Majo
68b0d32b05 8062854: move compiler jtreg test to corresponding subfolders and use those in TEST.groups
Move all test from <bug_id> directories to <functional_dir_name>/<bug_id>; update TEST.groups to execute more tests

Reviewed-by: drchase, kvn
2014-11-18 19:44:45 +01:00
Ioi Lam
ef64d5393d 8064701: Some CDS optimizations should be disabled if bootclasspath is modified by JVMTI
Added API to track bootclasspath modification

Reviewed-by: jiangli, dholmes, minqi
2014-11-18 03:38:50 -08:00
Poonam Bajaj
ae592ef688 Merge 2014-11-18 20:51:55 +00:00
Poonam Bajaj
1de1806455 8065220: Include alternate sa.make file for MacOSX
Include alternate sa.make in make/bsd/makefiles/sa.make

Reviewed-by: mgronlun, egahlin, sla
2014-11-18 10:19:04 -08:00
Severin Gehwolf
8a5d63f3a2 8064815: Zero+PPC64: Stack overflow when running Maven
Reviewed-by: kvn, simonis
2014-11-18 19:17:16 +01:00
Vladimir Ivanov
10999c6095 Merge 2014-11-17 23:11:40 +00:00
Vladimir Ivanov
f3d9096e4d 8062258: compiler/debug/TraceIterativeGVN.java segfaults in trace_PhaseIterGVN
Reviewed-by: kvn
2014-11-17 14:02:45 -08:00
Igor Ignatyev
f81bd8ff29 8059732: improve hotspot_*test targets
Reviewed-by: kvn, dholmes
2014-11-17 12:57:49 +03:00
Andrey Zakharov
da1287a38f 8064716: TestHumongousShrinkHeap.java can not be run with -XX:+ExplicitGCInvokesConcurrent
8062957: Heap is not shrunk when deallocating under memory pressure

Added explicit -XX:-ExplicitGCInvokesConcurrent to invocations

Reviewed-by: brutisso, tschatzl
2014-11-14 17:36:56 +04:00
Alejandro Murillo
e2cd480dee Merge 2014-11-13 16:11:00 -08:00
Lana Steuck
7a9938e29c Merge 2014-11-13 09:38:49 -08:00
David Chase
f454e5e02c Merge 2014-11-13 11:35:15 -05:00
Gunter Haug
8e5771854a 8064471: Port 8013895: G1: G1SummarizeRSetStats output on Linux needs improvement to AIX
Reviewed-by: dholmes, simonis
2014-11-13 16:58:56 +01:00
Thomas Stuefe
c96487313b 8064779: Add additional comments for "8062370: Various minor code improvements"
Provide additional comments to jio_snprintf and jio_vsnprintf

Reviewed-by: simonis, coleenp, mgronlun
2014-11-17 11:26:43 -05:00
Staffan Larsen
c217bdda86 Merge 2014-11-17 09:36:40 +01:00
Coleen Phillimore
6ea8243276 Merge 2014-11-15 02:51:48 +00:00
Coleen Phillimore
95e4545589 Merge 2014-11-15 01:38:35 +00:00
Coleen Phillimore
2989453543 Merge 2014-11-15 01:29:25 +00:00
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