Commit Graph

11509 Commits

Author SHA1 Message Date
Max Ockner
fecc46c774 Merge 2016-06-08 18:09:04 +02:00
Stefan Johansson
09caec497d 8149085: IntegrationTest1.java fails intermittently due to use of semi-initialized TLAB
Reviewed-by: ehelin, mgerdin
2016-06-08 16:29:12 +02:00
Stefan Karlsson
23e05cabc5 8155638: Resource allocated BitMaps are often cleared twice
Reviewed-by: neliasso, kvn
2016-06-08 11:15:49 +02:00
Coleen Phillimore
47309c3715 8158297: Lack of proper checking of non-well formed elements in CONSTANT_Utf8_info's structure
Disallow // in class file names during parsing and throw ClassNotFoundException

Reviewed-by: sspitsyn, rehn, gtriantafill
2016-06-07 15:34:22 -04:00
Rachel Protacio
abbd13bc13 Merge 2016-06-07 18:17:41 +00:00
Erik Joelsson
9843c160eb Merge 2016-06-07 19:05:37 +02:00
Volker Simonis
4a9d6dcbba 8158938: AIX: some more new hotspot build fixes
Reviewed-by: erikj
2016-06-07 18:26:10 +02:00
Rachel Protacio
e956abefe6 8153858: Clean up needed when obtaining the package name from a fully qualified class name
Consolidated and refactored code parsing fully qualified names. Includes gtest.

Reviewed-by: dholmes, coleenp
2016-06-07 11:39:47 -04:00
Goetz Lindenmaier
7bd006dd5a 8158929: [TESTBUG] CommitOverlappingRegions.java can not deal with pages > 32K
Reviewed-by: mockner, dholmes
2016-06-07 16:08:25 +02:00
Leonid Mesnik
f35b70764b 8154209: Remove client VM from default JIB profile on windows-x86 and linux-x86
Reviewed-by: dholmes
2016-06-07 12:55:29 +03:00
Calvin Cheung
b0fab9d6b7 Merge 2016-06-07 00:57:23 +00:00
Calvin Cheung
0275bab2ce Merge 2016-06-07 00:06:17 +00:00
Markus Grönlund
cbe83ea707 Merge 2016-06-07 01:58:33 +02:00
Calvin Cheung
66e3ba7296 8153876: Replace 4K stack allocations with Resource allocations
Reviewed-by: dholmes, hseigel
2016-06-06 12:51:53 -07:00
Aleksey Shipilev
2137769825 8075030: JvmtiEnv::GetObjectSize reports incorrect java.lang.Class instance size
Reviewed-by: coleenp, sspitsyn, sla
2016-06-06 22:34:57 +03:00
Markus Grönlund
c82212e143 8149803: Adjust lock rankings for some Event-based tracing locks
Reviewed-by: dholmes, acorn
2016-06-06 20:48:56 +02:00
Jon Masamitsu
c3d0e73480 8157620: Guarantee in run_task(task, num_workers) fails
Reviewed-by: tschatzl, drwhite
2016-05-25 09:28:20 -07:00
Lana Steuck
0eb01672dd Merge 2016-05-19 19:45:52 +00:00
Vladimir Kozlov
5acfcd3615 8157184: java/lang/invoke/LFCaching/LFMultiThreadCachingTest.java failed with a fatal error
Add missing cache_line_size > 0 checks.

Reviewed-by: vlivanov, kbarrett
2016-05-19 11:01:38 -07:00
Lana Steuck
dd30421115 Added tag jdk-9+119 for changeset 45c70a976569 2016-05-19 17:48:01 +00:00
Christian Tornqvist
1fc82093ca Merge 2016-05-19 11:39:53 -04:00
Joseph Provino
5648deddee 8153582: Logging of ConcGCThreads is done too early
ConcGCThreads is logged as 0 because it hasn't been initialized yet.

Reviewed-by: tschatzl, dfazunen
2016-05-19 10:48:28 -04:00
Erik Joelsson
2f4c6f1b05 8157325: gtest tests are not excluded for minimal builds
Reviewed-by: erikj, jwilhelm
2016-05-19 11:43:21 +02:00
Nils Eliasson
1af289e8c3 8155108: CompilerControl: tests incorrectly set states for excluded methods
Remove redundant code that was not properly updated

Reviewed-by: kvn
2016-05-19 10:40:19 +02:00
Doug Simon
64001ce527 8156835: [JVMCI] clean up and minimize JVMCI
Reviewed-by: iveresov, kvn
2016-05-18 21:50:27 +00:00
Tatiana Pivovarova
6fd77565f4 Merge 2016-05-18 19:16:14 +00:00
Tatiana Pivovarova
ef96f2b85c 8141149: [jittester] create Visitor for generating bytecode
8149463: [jittester] rarely generates tests with compile error

Co-authored-by: Dmitrij Pochepko <dmitrij.pochepko@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Pavel Punegov <pavel.punegov@oracle.com>
Reviewed-by: iignatyev, iveresov
2016-05-18 20:19:23 +03:00
Roland Schatz
5686cc1784 8156942: [JVMCI] replace LIRKind with abstract base class
Reviewed-by: iveresov
2016-05-18 17:01:01 +00:00
Andreas Eriksson
46627989d5 8135322: ConstantPool::release_C_heap_structures not run in some circumstances
Reviewed-by: coleenp, sspitsyn
2016-05-18 11:06:00 +02:00
Claes Redestad
807e2b367c 8157090: SharedArchiveFile/SpaceUtilizationCheck.java fails as space utilization is below 30 percent
Reviewed-by: iklam, mseledtsov
2016-05-18 16:28:42 +02:00
Jiangli Zhou
d40a606f06 8149977: DumpLoadedClassList should not include generated classes
Exclude anonymous classes from the generated class list.

Reviewed-by: ccheung, iklam, hseigel
2016-05-17 17:42:16 -04:00
Jon Masamitsu
20d335f09b Merge 2016-05-17 17:40:19 +00:00
Christian Tornqvist
100d77bf15 8156882: Remove hotspot/test/testlibrary/whitebox
Reviewed-by: coleenp, mockner, dfazunen, iignatyev
2016-05-17 11:39:38 -04:00
Coleen Phillimore
178842d251 8155951: VM crash in nsk/jvmti/RedefineClasses/StressRedefine: assert failed: Corrupted constant pool
8151066: assert(0 <= i && i < length()) failed: index out of bounds

Lock classes for redefinition because constant pool merging isn't thread safe, use method constant pool because constant pool merging doesn't make equivalent cpCaches because of invokedynamic

Reviewed-by: sspitsyn, dholmes
2016-05-17 08:51:05 -04:00
Goetz Lindenmaier
e84506041e 8156929: [aix] Add missing includes
Reviewed-by: coleenp, dholmes
2016-05-17 03:26:07 -04:00
Dmitrij Pochepko
fd3645227b 8152343: JVMCI test tasks: Unit tests for MetaAccessProvider
Reviewed-by: twisti
2016-05-16 17:01:53 +03:00
Dmitrij Pochepko
768ffb978f 8152342: JVMCI test task: Unit tests for MethodHandleAccessProvider
Reviewed-by: kvn
2016-05-16 17:00:08 +03:00
Dmitrij Pochepko
9a48b975a1 8152341: JVMCI test task: Unit tests for MemoryAccessProvider
Reviewed-by: twisti
2016-05-16 16:58:02 +03:00
Dmitrij Pochepko
173e8139c0 8139703: [TESTBUG] compiler/jvmci/compilerToVM/MaterializeVirtualObjectTest fails using -Xcomp
Reviewed-by: kvn
2016-05-16 16:54:09 +03:00
Alejandro Murillo
7bd620bff1 Merge 2016-05-14 15:34:30 -07:00
Christian Thalinger
d88959ebfb Merge 2016-05-13 21:26:06 +00:00
Joseph Provino
6be4410a0e 8156964: gc/logging/TestUnifiedLoggingSwitchStress.java hits assert
Old debug code needs to be removed.

Reviewed-by: stefank, jwilhelm
2016-05-13 15:57:17 -04:00
Jon Masamitsu
db0f9f020b 8156867: Simplify/reduce testing in ParallelCompact_test
Reviewed-by: jwilhelm, jprovino
2016-05-13 12:36:03 -07:00
Martin Doerr
cb6496c297 8141635: Implement VarHandles/Unsafe intrinsics on POWER
Reviewed-by: shade, kvn, simonis
2016-05-13 22:21:54 +03:00
Goetz Lindenmaier
fd19ab133b 8156923: [ppc] Implement "JEP 270: Reserved Stack Areas for Critical Sections"
Reviewed-by: simonis, dholmes
2016-05-13 15:22:48 +02:00
Goetz Lindenmaier
618f5131e6 8156922: [ppc] Implement template interpreter stack overflow checks as on x86/sparc
Reviewed-by: dlong, dholmes, simonis, coleenp
2016-05-13 15:20:06 +02:00
Harold Seigel
1fae073d9c 8156156: Add module specific NMT MemoryType
Change NMT tag for allocations for modules support to mtModule

Reviewed-by: coleenp, lfoltan, gtriantafill
2016-06-01 11:14:58 -04:00
Harold Seigel
737a2a5946 8158060: BasicLayerTest causes fatal error: Thread holding lock at safepoint that vm can block on: Module_lock
Move the exception throw outside of the block containing the lock

Reviewed-by: dholmes, kbarrett, lfoltan
2016-06-01 07:44:43 -04:00
Christian Tornqvist
9d801b98a7 8158106: native/GTestWrapper.java gets SIGABR
Reviewed-by: lfoltan, gtriantafill
2016-05-31 15:21:56 -04:00
Robbin Ehn
227131fb2a Merge 2016-05-31 17:09:45 +02:00
Robbin Ehn
e456d998a8 8158150: LogConfiguration::describe output can get truncated
Reviewed-by: dholmes, kbarrett
2016-05-31 12:40:42 +02:00
Dmitry Fazunenko
acc40d57ab 8154096: Extend WhiteBox API with methods which retrieve from VM information about available GC
Reviewed-by: iignatyev, kbarrett
2016-05-30 19:56:27 +04:00
Michail Chernov
286b967574 8157452: [TESTBUG] PLAB tests don't handle unexpected GC
Reviewed-by: dfazunen, tschatzl
2016-05-27 17:48:56 +03:00
Artem Smotrakov
c7a54bbb06 Merge 2016-05-27 19:43:58 +00:00
Dmitry Samersoff
001f163ea7 Merge 2016-05-27 17:56:49 +00:00
Coleen Phillimore
f0f9e93eb1 Merge 2016-05-27 16:39:49 +00:00
Dmitry Samersoff
0cf2e90d17 8152950: BasicLauncherTest.java fails due to type error
Better handle js engine initialization error

Reviewed-by: jbachorik
2016-05-27 19:31:17 +03:00
Artem Smotrakov
68c8a74fbe 8152207: Perform array bound checks while getting a length of bytecode instructions
Reviewed-by: hseigel
2016-05-27 09:25:49 -07:00
Coleen Phillimore
8fea607c9c Merge 2016-05-27 14:57:11 +00:00
Coleen Phillimore
c36295e947 8145148: InterfaceMethod CP entry pointing to a class should cause ICCE
Pass tag in LinkInfo and check that resolved method type matches tag, fix tests.

Reviewed-by: sspitsyn, minqi
2016-05-27 10:52:39 -04:00
Vladimir Ivanov
3cda431b12 Merge 2016-05-27 14:49:05 +00:00
Vladimir Ivanov
df9373aad7 Merge 2016-05-27 16:56:23 +03:00
Ioi Lam
e5e41a2375 8145247: incorrect comment in SystemDictionary::load_shared_class
Reviewed-by: jiangli, ccheung, gtriantafill
2016-05-27 05:49:24 -07:00
Stefan Johansson
84d9673da4 8157153: TestStressRSetCoarsening fails with OOM
Reviewed-by: mgerdin, dfazunen
2016-05-27 12:57:38 +02:00
David Holmes
6253b1d251 8154589: assert(k != NULL) failed: preloaded klass not initialized
Reviewed-by: sspitsyn, hseigel
2016-05-26 20:43:13 -04:00
Alejandro Murillo
33dc2cac3c Merge 2016-05-26 14:24:50 -07:00
Tobias Hartmann
c0c3e64713 Merge 2016-05-13 06:36:52 +00:00
Tobias Hartmann
b8dd2e555f 8155608: String intrinsic range checks are not strict enough
Range checks in inflate, compress and getChars are not strict enough.

Reviewed-by: kvn, twisti, jrose
2016-05-13 08:32:20 +02:00
Roland Schatz
476ef7367c 8156552: [JVMCI] remove final and stable field handling from ConstantReflectionProvider
Reviewed-by: kvn, twisti
2016-05-13 01:06:46 +00:00
Tom Rodriguez
5405125902 8155047: [JVMCI] findLeafConcreteSubtype should handle arrays of leaf concrete subtype
Reviewed-by: twisti
2016-05-12 22:06:55 +00:00
Lana Steuck
25fdc88ad6 Merge 2016-05-12 18:46:40 +00:00
Mandy Chung
2bbe02b202 8155977: ObjectInputStream::resolveClass & resolveProxyClass for platform loader
Reviewed-by: acorn, alanb, chegar, dfuchs
2016-05-12 11:16:16 -07:00
Roland Schatz
4c94cba880 Merge 2016-05-12 18:11:14 +00:00
Joseph Provino
69c05c937e Merge 2016-05-12 16:46:13 +00:00
Joseph Provino
24fae49324 8156851: Compilation error compiling XpatchDupModule.java and XpatchDupJavaBase.java
Test needs @modules java.base/jdk.internal.misc

Reviewed-by: jwilhelm, drwhite
2016-05-12 11:54:03 -04:00
Lana Steuck
8789a8b955 Added tag jdk-9+118 for changeset 3657c978f79a 2016-05-12 15:15:02 +00:00
Dmitry Samersoff
cddb3b11ef 8156769: gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java fails with java.lang.Exception
Update test to use jhsdb instead of jmap

Reviewed-by: sla
2016-05-12 17:47:45 +03:00
Leonid Mesnik
5e087a4336 8156777: [TESTBUG] test/testlibrary_tests/SimpleClassFileLoadHookTest.java requires non minimal VM
Reviewed-by: mseledtsov, ctornqvi, gtriantafill
2016-05-12 14:29:02 +03:00
Christian Tornqvist
3b2bc5df71 8151805: fatal error: heap walk aborted with error 1
Reviewed-by: gtriantafill, dcubed
2016-05-17 15:44:20 -04:00
Pavel Punegov
c4a1f3b65e Merge 2016-05-12 13:25:11 +02:00
Roland Schatz
9f43471b55 8156768: [JVMCI] remove support for patching Symbol pointers
Reviewed-by: iveresov
2016-05-12 12:59:35 +02:00
Aleksey Shipilev
5e2fa37504 8153792: EA: assert(ptn->as_LocalVar()->edge_count() > 0) failed: sanity when compiling compareAndExchange
Reviewed-by: kvn, psandoz
2016-05-12 12:46:07 +03:00
Tobias Hartmann
8adbc20c87 8155241: Crash with assert in Xcomp mode and with disabled ReduceBulkZeroing
We should not assume that a CloneBasic arraycopy sets array initialization to complete.

Reviewed-by: kvn, roland
2016-05-12 08:25:42 +02:00
Tobias Hartmann
cf5a61530f 8155643: Java crash with assert in Xcomp mode and disabled ReduceInitialCardMarks
We should not emit a subtype check for CloneOop arraycopy.

Reviewed-by: kvn
2016-05-12 08:23:25 +02:00
Josef Eisl
536db8741f 8156034: [JVMCI] Notify the jvmci compiler on completion of a bootstrap
Reviewed-by: twisti
2016-05-12 04:17:00 +00:00
Tom Rodriguez
3548f9ecba 8137296: [JVMCI] Enable sharing of debug info by default in all configurations
Reviewed-by: kvn, twisti
2016-05-11 17:43:23 -07:00
Andrew Haley
bff0e66d94 8155627: Enable SA on AArch64
Reviewed-by: roland, dholmes
2016-05-11 20:10:03 -04:00
Christian Thalinger
60360e8793 Merge 2016-05-11 20:27:17 +00:00
Christian Thalinger
3c0ef9eadc 8156159: replace CompilerToVM.readUncompressedOop with Unsafe.getUncompressedObject
Reviewed-by: kvn
2016-05-11 10:23:59 -10:00
Calvin Cheung
baca9fb3f6 8156789: missing condition in ClassPathZipEntry::open_versioned_entry()
Added back the !_is_boot_append condition

Reviewed-by: hseigel, jiangli
2016-05-11 12:19:59 -07:00
Tom Rodriguez
41310f897d Merge 2016-05-11 18:32:38 +00:00
Pavel Punegov
415bf9842e Merge 2016-05-11 19:41:50 +02:00
Pavel Punegov
87861c61e1 8150247: CompilerControl: LogCompilation testing
Add a test for standalone LogCompilation testing

Reviewed-by: kvn
2016-05-11 20:06:38 +03:00
Tom Rodriguez
b6c0e4788c 8156775: IGV: StringUtils is absent
Reviewed-by: kvn
2016-05-11 09:44:39 -07:00
Doug Simon
1d60ce77a0 8153782: [JVMCI] update JVMCI sources to Eclipse 4.5.2 format style
Reviewed-by: twisti, never
2016-05-11 16:40:04 +00:00
Kirill Zhaldybin
2b53799702 8156763: Quarantine gc/g1/humongousObjects/objectGraphTest/TestObjectGraphAfterGC.java
Reviewed-by: jprovino, tschatzl
2016-05-11 18:49:29 +03:00
Roland Schatz
037bd78182 8156741: [JVMCI] remove LocationIdentity interface
Reviewed-by: kvn, iveresov
2016-05-11 13:27:56 +02:00
Staffan Larsen
8eed1ef6af 8156658: Common way to run jtreg tests
Reviewed-by: erikj, dsamersoff
2016-05-11 11:04:17 +02:00
Marcus Larsson
b28f905e05 8146948: Enable listing of LogTagSets and add support for LogTagSet descriptions
Reviewed-by: rehn, iklam, kbarrett
2016-05-11 10:54:31 +02:00
Paul Sandoz
1917be9572 8144826: [JVMCI] Remove jdk.vm.ci.hotspot.Stable and use jdk.internal.vm.annotation.Stable
Reviewed-by: twisti
2016-05-11 09:13:49 +02:00
David Holmes
ce9242dc85 8156689: [TESTBUG] runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java disable range testing of Allocate*PrefetchLines
Reviewed-by: kvn
2016-05-11 02:32:14 -04:00
Brian Gardner
0e8376bd17 8154715: Missing destructor and/or TLS clearing calls for terminating threads
Clear TLS on return from thread->run() unless already done. Prohibit asynchronous thread deletion.

Reviewed-by: stefank, sspitsyn
2016-05-11 01:02:28 -04:00
Vladimir Ivanov
cdc0b9792f Merge 2016-05-11 00:40:59 +00:00
Dmitry Fazunenko
346484c899 Merge 2016-05-10 23:23:55 +00:00
Vladimir Ivanov
d47a54fa7e Merge 2016-05-10 21:38:44 +00:00
Vladimir Ivanov
3fcc58a80d Merge 2016-05-11 00:31:28 +03:00
Gerard Ziemski
ef0b81c5d3 Merge 2016-05-10 20:56:31 +00:00
Kirill Zhaldybin
5992b4a6b2 8150865: SQE test: GC unified logging: check that dynamic log level doesn't break anything
Reviewed-by: jwilhelm, dfazunen
2016-05-10 21:23:33 +03:00
Gerard Ziemski
a991801b42 8073500: Prevent certain commercial flags from being changed at runtime
Implement new writeable mechanism for flag control

Reviewed-by: coleenp, iklam
2016-05-10 12:10:21 -05:00
Thomas Schatzl
a5233544b5 Merge 2016-05-10 18:30:03 +02:00
Thomas Schatzl
125e864c0d 8047328: Improve memory usage for cards in SparsePRTEntry
Use uint16_t for cards in a SparsePRTEntry, and use an additional integer to record the current position on where to add the next card.

Co-authored-by: Andreas Sjoberg <andreas.sjoberg@oracle.com>
Reviewed-by: mgerdin, ehelin
2016-05-10 16:42:14 +02:00
Thomas Schatzl
99c9a7f6f6 8155810: Bound the number of root region scan threads to the number of survivor regions
Reviewed-by: jmasa, sjohanss
2016-05-10 16:40:15 +02:00
Thomas Schatzl
a7471fdca3 8155721: Sparse remset wastes half of entry memory
Only allocate as much SparsePRTEntry memory as required, not for the theoretical maximum.

Reviewed-by: mgerdin, sjohanss
2016-05-10 16:40:09 +02:00
Thomas Schatzl
029fbccccb 8156660: JDK-8150393 does not set _scan_in_progress properly
Reviewed-by: ehelin, mgerdin
2016-05-10 16:40:04 +02:00
Dmitry Samersoff
9127a0961b Merge 2016-05-10 14:26:31 +00:00
Dmitry Samersoff
ad35e5189a Merge 2016-05-10 11:50:45 +00:00
Doug Simon
32a12da3bf 8152311: [JVMCI] allow JVMCI compiler to change the compilation policy for a method
Reviewed-by: kvn, never
2016-05-10 11:48:06 +02:00
Tom Rodriguez
41dcc3f305 Merge 2016-05-10 23:08:42 +00:00
Tom Rodriguez
d0f68c65db Merge 2016-05-10 21:55:27 +00:00
Vladimir Ivanov
a288d192f3 Merge 2016-05-10 21:45:32 +00:00
Vladimir Ivanov
d14a64b0ed Merge 2016-05-11 00:38:58 +03:00
Doug Simon
db7608c21c 8155023: jdk.vm.ci needs to securely export services
Reviewed-by: twisti, kvn, alanb
2016-05-10 08:52:43 -07:00
Roland Schatz
aab69bdeb5 8155719: remove TrustedInterface from JVMCI
Reviewed-by: twisti
2016-05-10 12:18:22 +02:00
Vojin Jovanovic
79fa047585 8156211: [JVMCI] ResolvedJava* interfaces should extend AnnotatedElement
Reviewed-by: twisti
2016-05-10 11:18:40 +02:00
Coleen Phillimore
0c4ccddf92 Merge 2016-05-09 23:06:05 +00:00
Igor Ignatyev
b298fb9be2 Merge 2016-05-09 23:53:11 +02:00
Robbin Ehn
2523b1942a 8153535: Convert TraceRedefineClasses to Unified Logging
Reviewed-by: rprotacio, coleenp
2016-05-09 22:22:15 +02:00
Igor Ignatyev
865ac314a6 Merge 2016-05-09 22:03:04 +02:00
Calvin Cheung
1e6507f1b0 Merge 2016-05-09 21:27:19 +02:00
Calvin Cheung
fef5de6f41 8155574: ClassLoader::initialize_module_loader_map crashes if the char_buf is not NULL terminated
Reviewed-by: jiangli, iklam
2016-05-09 12:20:02 -07:00
Jon Masamitsu
2945c4da22 Merge 2016-05-09 17:36:13 +00:00
Marcus Larsson
17dce93f31 8145934: Make ttyLocker equivalent for Unified Logging framework
Reviewed-by: rprotacio, stuefe, jrose
2016-05-09 15:46:12 +02:00
Dmitry Samersoff
c052a98d6f Merge 2016-05-10 03:37:36 +00:00
Dmitry Samersoff
f4ffadd18b 8155091: Remove SA related functions from tmtools
Remove options that enables support for non-cooperative mode

Reviewed-by: alanb, mchung, sla
2016-05-09 23:41:41 +03:00
Roland Westrelin
a1e5418d19 8154826: AArch64: take advantage better of base + shifted offset addressing mode
Reshape address subtree to fit aarch64 addressing mode

Reviewed-by: kvn, aph
2016-05-09 11:34:09 +02:00
Rahul Raghavan
7adc4034cd 8153655: Make intrinsics flags diagnostic and update intrinsics tests to enable diagnostic options
Converted all intrinsics flags to diagnostic and updated related intrinsics tests to enable diagnostic options

Reviewed-by: kvn
2016-05-09 01:21:55 -07:00
Yasumasa Suenaga
f2e1814b1a 8156033: jhsdb jmap cannot set heapdump name
Reviewed-by: dsamersoff
2016-05-07 10:29:16 +09:00
Claes Redestad
d25ad32507 8150044: Generate classlists at build-time
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Reviewed-by: alanb, mchung, iklam
2016-05-07 00:43:37 +02:00
Jon Masamitsu
fbe14c5250 8155992: Change name of StealRegionCompactionTask to something that emphasizes the compaction task
Reviewed-by: kbarrett, ehelin, drwhite
2016-05-06 14:35:59 -07:00
Erik Joelsson
baff09847c Merge 2016-05-09 13:55:21 +02:00
Magnus Ihse Bursie
01fcb7adcf 8156018: Hotspot visual studio project generation broken
Reviewed-by: mgronlun, ctornqvi
2016-05-09 13:22:39 +02:00
Vladimir Ivanov
5dc9f56544 Merge 2016-05-09 13:13:07 +03:00
Tom Rodriguez
4e7451cd5b Merge 2016-05-06 18:08:01 +00:00
Vladimir Ivanov
71d2f5b46d Merge 2016-05-06 19:45:22 +03:00
Vladimir Ivanov
e704d47b85 Merge 2016-05-06 19:35:23 +03:00
Vladimir Ivanov
e1512b1e15 Merge 2016-05-06 18:37:58 +03:00
Aleksey Shipilev
ffc21de072 8155965: Unsafe.weakCompareAndSetVolatile entry points and intrinsics
Reviewed-by: psandoz, vlivanov
2016-05-06 17:59:35 +03:00
Kirill Zhaldybin
bb79607f67 8132710: Add tests which check that Humongous objects behave as expected after Young GC
8132712: Add tests which check that Humongous objects behave as expected after Full GC

Reviewed-by: jmasa, dfazunen
2016-05-06 17:51:11 +03:00
Igor Ignatyev
dc12061bb6 8148244: Finalize and integrate GTest implementation
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Stefan Sarne <stefan.sarne@oracle.com>
Co-authored-by: Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Reviewed-by: jwilhelm, erikj
2016-05-09 14:15:40 +03:00
Igor Ignatyev
66686b8152 8149591: Prepare hotspot for GTest
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Stefan Sarne <stefan.sarne@oracle.com>
Co-authored-by: Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Reviewed-by: jwilhelm
2016-05-09 14:15:39 +03:00
Aleksey Shipilev
9773289026 Merge 2016-05-06 14:44:09 +00:00
Alejandro Murillo
4247e12f6b Merge 2016-05-06 06:23:29 -07:00
Alejandro Murillo
b68bd82d9b Merge 2016-05-06 06:12:56 -07:00
Jamsheed Mohammed C M
08dac03ddc 8156131: C2: MachProj dumps data on tty w/ -XX:+WizardMode
Made to dump on output stream on wizard mode.

Reviewed-by: vlivanov
2016-05-06 06:08:15 -07:00
Jamsheed Mohammed C M
88cbbd634e 8156124: Update compiler/unsafe/UnsafeGetConstantField after JDK-8148518 is fixed
Removed workaround added for 8148518.

Reviewed-by: vlivanov
2016-05-06 05:57:43 -07:00
Jamsheed Mohammed C M
28efea6754 8156126: LogCompilation: Dump additional info about deoptimization events
Added reason and pc information to deoptimization info.

Reviewed-by: vlivanov
2016-05-06 05:42:36 -07:00
Vladimir Ivanov
622a5ae6f0 Merge 2016-05-06 18:20:50 +03:00
Aleksey Shipilev
b3f1f110f4 8156068: Unsafe.{get|set}Opaque should be single copy atomic
Reviewed-by: psandoz, vlivanov
2016-05-06 15:41:15 +03:00
Kevin Walls
fc13e59776 Merge 2016-05-06 09:54:58 +00:00
Goetz Lindenmaier
37389f4e60 8156190: [ppc] Fix build after "8151268: Wire up the x86 _vectorizedMismatch stub routine in C1"
New function was placed within other function.

Reviewed-by: mdoerr
2016-05-06 09:10:47 +02:00
Tom Rodriguez
b9a1863e45 8156178: [JVMCI] expose StubRoutines trig functions
Reviewed-by: kvn
2016-05-05 20:14:46 -07:00
Paul Sandoz
107de3478c 8155794: Move Objects.checkIndex BiFunction accepting methods to an internal package
Reviewed-by: shade, vlivanov
2016-05-05 18:14:51 -07:00
Tomasz Wojtowicz
0a123cad8f 8154974: AVX-512 equipped inflate, has_negatives & compress intrinsics
Reviewed-by: kvn
2016-05-05 17:16:08 -07:00
Yasumasa Suenaga
05e186869f 8156133: FindCrashesAction in HSDB does not work except Solaris platform
Reviewed-by: dsamersoff
2016-05-06 09:13:31 +09:00
Jon Masamitsu
a74454fc1e Merge 2016-05-05 20:11:14 +00:00
Kim Barrett
c90e8fc308 Merge 2016-05-05 21:13:48 +02:00
Lana Steuck
5d72543efb Merge 2016-05-05 19:10:36 +00:00
Paul Sandoz
24b184b665 8155258: VarHandle implementation improvements
Relax return type check for call to linked method handle invocation

Reviewed-by: shade, vlivanov
2016-05-05 11:39:23 -07:00
Christian Tornqvist
c44255db9b Merge 2016-05-05 17:53:37 +00:00
Kim Barrett
b260a19e7b 8156072: AllocatedObj msgs coming out during -version etc
Removed obsolete print.

Reviewed-by: jmasa, ecaspole
2016-05-05 13:47:46 -04:00
Lana Steuck
0817cd2a01 Added tag jdk-9+117 for changeset 065e8305bdc6 2016-05-05 17:35:47 +00:00
Paul Sandoz
472a1bc607 8151268: Wire up the x86 _vectorizedMismatch stub routine in C1
Reviewed-by: kvn
2016-05-05 10:03:26 -07:00
George Triantafillou
88be76356f 8154942: Remove ProcessTools.getVmInputArguments() from the hotspot test library, as it is not used by any of the hotspot tests
Reviewed-by: ctornqvi, hseigel
2016-05-05 12:25:29 -04:00
Antonios Printezis
80dc8b84bc 8155257: ParNew/CMS: Clean up promoted object tracking
Reviewed-by: jmasa, ysr
2016-05-05 08:51:27 -07:00
Ahmed Khawaja
7057abda29 8155162: java.util.zip.CRC32C Interpreter/C1 intrinsics support on SPARC
Reviewed-by: kvn
2016-05-04 15:30:21 -07:00
Jon Masamitsu
05ae0adfe4 8156050: ParallelCompact_test should skip test if UseParallelOldGC is off
Reviewed-by: drwhite, pliden
2016-05-04 15:04:15 -07:00
Roland Schatz
08cdde3f7c 8156025: [JVMCI] make HotSpotResolvedObjectTypeImpl.createField non-public
Reviewed-by: twisti
2016-05-04 12:06:51 +02:00
Erik Helin
fdc03a7cd8 8156022: Add prediction for cost_per_byte_ms to G1Analytics
Reviewed-by: sjohanss, mgerdin
2016-05-04 11:29:05 +02:00
Ioi Lam
565780b7aa 8155239: [TESTBUG] Simple test setup for JVMTI ClassFileLoadHook
Reviewed-by: cjplummer, mseledtsov
2016-05-03 07:23:23 -07:00
David Holmes
c68110a135 Merge 2016-05-05 03:53:25 +00:00
Yasumasa Suenaga
e41ab59d63 8153073: UL: Set filesize option with k/m/g
Reviewed-by: mlarsson, dholmes
2016-05-04 21:53:01 -04:00
Jiangli Zhou
b74a788987 Merge 2016-05-05 03:04:55 +02:00
Christian Tornqvist
e24c1e8bbd Merge 2016-05-04 23:45:10 +00:00
Jiangli Zhou
9a430638df Merge 2016-05-05 00:56:06 +02:00
Jiangli Zhou
34fe707dad 8155678: ClassLoader::initialize_module_loader_map should only be called when dumping CDS archive
Make ClassLoader::initialize_module_loader_map explicitly CDS dump time only.

Reviewed-by: ccheung, lfoltan
2016-05-04 17:32:08 -04:00
Vladimir Ivanov
df9476f5a9 Merge 2016-05-04 21:00:41 +00:00
Vladimir Ivanov
d312e84812 8155751: Some tests miss othervm for main/bootclasspath mode
Reviewed-by: kvn
2016-05-04 23:08:43 +03:00
Christian Tornqvist
06e3a5cb60 8156066: Backout JDK-8153892
Reviewed-by: coleenp, mikael
2016-05-04 15:32:26 -04:00
Leonid Mesnik
094416e1ec 8155946: Minimal VM fails to built after 8154153: PS: Restore preserved marks in parallel
Reviewed-by: stefank
2016-05-04 17:47:05 +03:00
Mikael Gerdin
9cad8a6125 8155943: Move G1Eden/SurvivorRegions into their own source files
Reviewed-by: sjohanss, ehelin
2016-05-04 13:12:23 +02:00
Goetz Lindenmaier
1e4b00b1dc 8140594: Various minor code improvements (compiler)
Various minor code improvements (compiler)

Reviewed-by: thartmann, kvn
2016-05-03 12:23:06 +02:00
Jamsheed Mohammed C M
96c4dc3210 8144856: fix assert in CompiledStaticCall::set_to_interpreted
Trivial cleanup in assert code.

Reviewed-by: kvn, goetz, thartmann
2016-05-09 23:49:22 -07:00
Jamsheed Mohammed C M
4ece44cbfa 8150016: small typo in ciReplay code
Changed atol to atoi

Reviewed-by: kvn
2016-05-10 00:17:46 -07:00
Alan Bateman
a503db18fb 8154956: Module system implementation refresh (4/2016)
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Reviewed-by: acorn, jiangli, ccheung, hseigel
2016-05-03 09:09:20 +01:00
Cheleswer Sahu
323c1d5dbf 8054326: Confusing message in "Current rem set statistics"
Reviewed-by: pliden, kevinw
2016-05-02 13:28:08 +05:30
Roland Westrelin
160798c7e7 8154943: AArch64: redundant address computation instructions with vectorization
Duplicated i2l nodes can be eliminated to optimize redundant address computations

Reviewed-by: kvn, dlong
2016-04-29 17:24:16 +02:00
Roland Westrelin
0ab61a6e28 8155717: Aarch64: enable loop superword's unrolling analysis
Reviewed-by: aph, kvn, mcberg
2016-05-04 13:32:03 -07:00
Aleksey Shipilev
a8fb392baf 8155739: [TESTBUG] VarHandles/Unsafe tests for weakCAS should allow spurious failures
Reviewed-by: psandoz, vlivanov, simonis
2016-05-04 17:17:10 +03:00
Ed Nevill
fbac01c4e5 8155967: aarch64: fix register usage in block zeroing
Fix array fill stub to use r10 == base and r11 == count

Reviewed-by: aph
2016-05-03 20:36:17 +00:00
Tom Rodriguez
0091cd268a Merge 2016-05-03 21:28:46 +00:00
Christian Thalinger
2898a8c8f0 Merge 2016-05-03 19:45:44 +00:00
Tom Rodriguez
38df4e48a4 8155771: [JVMCI] expose JVM_ACC_IS_CLONEABLE_FAST
Reviewed-by: twisti
2016-05-03 12:15:06 -07:00
Roland Schatz
fc0b590c74 8155735: use strings instead of Symbol* in JVMCI exception stubs
Reviewed-by: never, twisti
2016-05-03 11:57:03 +02:00
Goetz Lindenmaier
9722354d37 8155738: C2: fix frame_complete_offset
During scratch_emit_size wrong value was set. Also set offset of ppc.

Reviewed-by: kvn, dlong
2016-05-02 14:17:19 -07:00
Dmitrij Pochepko
73db8859bf 8155163: JVMCI: MethodHandleAccessProvider.resolveInvokeBasicTarget implementation doesn't match javadoc
Reviewed-by: twisti
2016-05-02 03:24:02 +03:00
Dmitrij Pochepko
7982dafac2 8155244: JVMCI: MemoryAccessProvider.readUnsafeConstant javadoc should be updated for null JavaKind case
Reviewed-by: twisti
2016-05-02 03:20:23 +03:00
Ed Nevill
17ee5a98f3 8155790: aarch64: debug VM fails to start after 8155617
Fix base register to point to end after zeroing

Reviewed-by: aph
2016-04-30 00:57:04 -07:00
Tom Rodriguez
f1eeebc17e 8154483: update IGV with improvements from Graal
Reviewed-by: kvn
2016-04-29 12:56:27 -07:00
Zoltan Majo
528bf589fd 8155653: TestVectorUnalignedOffset.java not pushed with 8155612
Add missing test.

Reviewed-by: aph, adinn
2016-04-29 14:32:19 +02:00
Zoltan Majo
17cc8b583e Merge 2016-04-29 13:10:01 +02:00
Zoltan Majo
b5f1bd24d2 Merge 2016-04-29 12:05:31 +02:00
Zoltan Majo
413417522f 8153340: Disallow misconfiguration and improve the consistency of allocation prefetching
Improve allocation prefetching.

Reviewed-by: kvn
2016-04-29 08:32:42 +02:00
Lana Steuck
a78f728480 Added tag jdk-9+116 for changeset e29791634c81 2016-04-28 08:26:32 -07:00
Ed Nevill
41258ea37a 8155617: aarch64: ClearArray does not use DC ZVA
Implement block zero using DC ZVA

Co-authored-by: Long Chen <long.chen@linaro.org>
Reviewed-by: aph
2016-04-28 13:26:29 +00:00
Tobias Hartmann
06645bc9d5 6941938: Improve array equals intrinsic on SPARC
Array equals intrinsic should do 8-byte comparison on SPARC.

Reviewed-by: kvn, jrose, mgerdin, twisti
2016-04-28 17:36:37 +02:00
Roland Westrelin
cca965a11d 8155612: Aarch64: vector nodes need to support misaligned offset
Add support for misaligned offsets.

Reviewed-by: aph
2016-04-28 15:24:17 +02:00
Martin Doerr
8f2a47ba2e 8154836: VM crash due to "Base pointers must match"
Improve the handling of AddP nodes in final graph reshaping.

Reviewed-by: kvn, zmajo
2016-04-28 10:32:12 +02:00
Tom Rodriguez
593cf3fb16 8152903: [JVMCI] CompilerToVM::resolveMethod should correctly handle private methods in interfaces
Reviewed-by: iveresov
2016-04-27 16:20:49 -07:00
Vivek Deshpande
8cb0a98032 8154975: Update for vectorizedMismatch with AVX512
Reviewed-by: kvn
2016-04-27 13:37:07 -07:00
Mikael Gerdin
432cff9626 8155634: Clean out old logging and dead code from SurvRateGroup
Reviewed-by: jmasa, tschatzl, sjohanss
2016-04-27 16:20:05 +02:00
Mikael Gerdin
512ffd9ded Merge 2016-05-04 10:06:00 +02:00
Vladimir Kozlov
654f1d0efd Merge 2016-05-04 03:19:43 +02:00
Vivek Deshpande
1b213af30c 8155864: api/java_lang/Math/cos_cos6 and sin_sin6 fail
Reviewed-by: kvn
2016-05-03 17:11:39 -07:00
Jon Masamitsu
15134d34fc Merge 2016-05-04 00:00:24 +00:00
Jon Masamitsu
6663f0cfed 8155966: Assertion failures when -XX:+UseParallelGC -XX:ParallelGCThreads=1
Reviewed-by: drwhite, kbarrett
2016-05-03 16:19:42 -07:00
Stefan Karlsson
0b374990d0 Merge 2016-05-04 00:45:59 +02:00
Stefan Karlsson
f8be292b88 8141501: Problems with BitMap buffer management
Reviewed-by: pliden, kbarrett
2016-05-03 22:45:27 +02:00
Daniel D. Daugherty
ac61c34c54 8155958: quarantine failing tests from JDK-8155957
Reviewed-by: hseigel, gtriantafill, dsamersoff, sspitsyn
2016-05-03 13:30:40 -07:00
Mikael Gerdin
462ad706f1 8150721: Don't explicitly manage G1 young regions in YoungList
Reviewed-by: ehelin, sjohanss, tschatzl
2016-05-03 12:33:10 +02:00
David Holmes
0adae4d914 8154710: [Solaris] Investigate use of in-memory low-resolution timestamps for Java and internal time API's
Reviewed-by: shade, rriggs, dcubed
2016-05-02 19:38:15 -04:00
Derek White
46d52062aa 8134889: Kitchensink stress test crashes with out of memory error
Add a hard max of 16 GC threads (each for concurrent and parallel G1) on 32-bit JVMs.

Reviewed-by: mgerdin, pliden
2016-05-02 12:14:26 -04:00
Mikael Vidstedt
7933c418de 8153892: Handle unsafe access error directly in signal handler instead of going through a stub
Reviewed-by: stuefe, dholmes
2016-05-03 08:12:25 -07:00
Kim Barrett
c4bafa7975 8155524: HotCardCache shouldn't be part of ConcurrentG1Refine
Make G1CollectedHeap owner of HotCardCache.

Reviewed-by: jmasa, mgerdin, tschatzl
2016-05-02 12:07:58 -04:00
Jon Masamitsu
b12be07514 Merge 2016-05-02 17:46:08 +00:00
Thomas Schatzl
7e5bce7e90 Merge 2016-05-02 19:43:41 +02:00
Thomas Schatzl
d8aeeee668 Merge 2016-05-02 18:54:09 +02:00
Derek White
56d3ee3dbc Merge 2016-05-02 17:58:42 +02:00
Yu Zhang
547e732790 8154955: Negative Other Time in gc logs due to 'Wait for Root Region Scan' not included
Move the note_gc_start() call before the wait_for_root_region_scanning() one.

Reviewed-by: kbarrett, tschatzl
2016-05-02 17:45:19 +02:00
Derek White
081466c0e7 8155754: Quarantine serviceability/tmtools/jstat/GcTest02.java
Add @ignore 8155570

Reviewed-by: kbarrett, stefank
2016-05-02 11:18:10 -04:00
Mikael Gerdin
fead1c01cd Merge 2016-05-02 16:53:03 +02:00
Thomas Schatzl
d4bfb42264 8155811: Remove HeapRegionRemSet::_coarse_dirty flag
Reviewed-by: mgerdin, jmasa
2016-05-02 14:14:16 +02:00
Thomas Schatzl
461078c649 8155813: Fix indentation in G1RemSetScanState::clear_card_table()
Reviewed-by: mgerdin
2016-05-02 14:13:05 +02:00
Severin Gehwolf
a0fa7abd14 8155819: Support non-continuous CodeBlobs in HotSpot broke Zero
Adjust to CompiledMethod changes.

Reviewed-by: coleenp, rbackman
2016-05-02 13:39:52 +02:00
Erik Gahlin
6f649fdca0 Merge 2016-05-02 12:44:25 +02:00
Thomas Schatzl
39d3c3f512 8155229: Tune thread usage for live data clearing
Reviewed-by: mgerdin, drwhite
2016-05-02 10:24:41 +02:00
Thomas Schatzl
53d670b469 8155233: Lazy coarse map clear
Only clear the coarse bitmaps of the remembered sets if they were dirtied.

Reviewed-by: jmasa, mgerdin
2016-05-02 10:24:41 +02:00
Thomas Schatzl
72977f4009 8155230: Tune thread usage for mark bitmap clear
Reviewed-by: jmasa, mgerdin
2016-05-02 10:24:41 +02:00
Thomas Schatzl
bd8bbf9e27 8153507: Improve Card Table Clear Task
Move card table clear code into remembered set related files. Improve work distribution of this task, and tune thread usage.

Reviewed-by: jmasa, mgerdin
2016-05-02 10:24:41 +02:00
Thomas Schatzl
238fada762 8155232: Augment Workgang to run task with a given number of threads
Add a method to run a WorkGang with a set number of threads.

Reviewed-by: stefank, jmasa, mgerdin
2016-05-02 10:24:41 +02:00
Dmitry Samersoff
85deb5aa7e 8154258: [TESTBUG] Various serviceability tests fail compilation
Replace sun.misc.Unsafe with jdk.internal.misc.Unsafe

Reviewed-by: chegar, kvn
2016-05-01 12:47:00 +03:00