Commit Graph

11584 Commits

Author SHA1 Message Date
Staffan Larsen
76311d7285 8157605: Can't set both CONCURRENCY and EXTRA_JTREG_OPTIONS when running tests
Reviewed-by: tbell, erikj
2016-05-24 12:15:46 +02:00
Dmitry Samersoff
ac8a504622 Merge 2016-05-24 10:03:07 +00:00
Dmitry Samersoff
6e4ea797f3 8155957: java.lang.IllegalAccessError: class <foo> (in unnamed module XXX) cannot access class jdk.internal.misc.Unsafe
Added missed exports

Reviewed-by: sspitsyn
2016-05-24 12:56:41 +03:00
Ed Nevill
6a56a5f255 8156943: aarch64: string compare does not support CompactStrings
Implement LL, UL and LU encodings for StrComp

Reviewed-by: aph
2016-05-24 01:13:57 -07:00
Tobias Hartmann
d99ab903b7 8160425: Vectorization with signalling NaN returns wrong result
Should not use doubles/floats for vector constants in the C code.

Reviewed-by: kvn, vlivanov
2016-06-30 08:24:51 +02:00
Pavel Punegov
320a29cbe4 8160471: compiler/rangechecks/TestRangeCheckEliminationDisabled.java fails after JDK-8150900
Add UnlockDiagnosticVMOptions to the test

Reviewed-by: kvn, thartmann
2016-06-29 18:04:04 +03:00
Tatiana Pivovarova
c38fb9f0c8 Merge 2016-06-29 11:38:58 +00:00
Tatiana Pivovarova
8caad345fd 8153515: [ctw] CompileTheWorld testlibrary should trigger compilation of <clinit> and <init>
Reviewed-by: thartmann
2016-06-29 14:32:13 +03:00
Ed Nevill
27cd22b69a 8160534: aarch64: fails to build after 8157834
Add missing #include

Reviewed-by: aph
2016-06-29 11:24:13 +00:00
Tom Rodriguez
7c7e22abfd Merge 2016-06-28 20:08:43 +00:00
Tom Rodriguez
b4aef2060b 8160121: [JVMCI] JvmciNotifyBootstrapFinishedEventTest.java failed NoClassDefFoundError: jdk/vm/ci/runtime/JVMCI
Reviewed-by: kvn
2016-06-28 17:22:56 +00:00
Tatiana Pivovarova
f1d61f4340 8143081: [ctw] Test CompileTheWorld.java needs to be updated for Jigsaw
Reviewed-by: iignatyev
2016-06-28 19:58:15 +03:00
Dmitrij Pochepko
490625cd8b 8132318: -XX:TraceJumps is broken on Sparc
Reviewed-by: kvn, thartmann
2016-06-27 17:23:15 +03:00
Tobias Hartmann
4ab4c66c41 8159016: Over-unrolled loop is partially removed
Prevent over-unrolling of loops by computing upper bound for trip count.

Reviewed-by: kvn
2016-06-27 10:10:11 +02:00
Vladimir Kozlov
cd75cb6a26 Merge 2016-06-24 15:30:50 -07:00
Igor Veresov
c3db7375dc Merge 2016-06-24 19:06:00 +00:00
Igor Veresov
33c94b986e 8157249: [JVMCI] remove ConstantReflectionProvider.isEmbeddable method
Remove unused API

Reviewed-by: kvn
2016-06-24 11:22:08 -07:00
Pavel Punegov
57c68f2ac1 Merge 2016-06-24 17:12:50 +00:00
Roland Schatz
1dd1fb6cca Merge 2016-06-24 17:11:17 +00:00
Pavel Punegov
048c1f8ad0 8160085: @library' must appear before first `@run'
Move @ignore after the @library

Reviewed-by: kvn
2016-06-24 19:06:15 +03:00
Roland Schatz
1ecfe15d17 8160177: [JVMCI] race condition in HotSpotMemoryAccessProviderImpl.verifyReadRawObject
Reviewed-by: kvn
2016-06-24 15:45:47 +00:00
Volker Simonis
87f15c2bcf 8159620: -XX:-UseOnStackReplacement does not work together with -XX:+TieredCompilation on ppc64 and sparc
Reviewed-by: goetz, kvn, thartmann
2016-06-22 17:05:40 +02:00
Ed Nevill
5db23a3b07 8159063: aarch64: optimise unaligned array copy long
Reviewed-by: aph, adinn
2016-06-16 06:42:08 -04:00
Stefan Johansson
1f60d4b0c3 8156028: G1YoungGenSizer _adaptive_size not correct when setting NewSize and MaxNewSize to the same value
Reviewed-by: jmasa, sangheki, drwhite
2016-05-24 10:05:03 +02:00
Zoltan Majo
50c5fb834b 8157560: Reserve space for allocation prefetch only in builds that support allocation prefetching
Create the reserved area only in C2-enabled builds.

Reviewed-by: kvn, thartmann
2016-05-24 09:07:22 +02:00
Alejandro Murillo
8eb7fed92f Merge 2016-05-23 13:52:12 -07:00
Alejandro Murillo
45db3a55b0 Merge 2016-05-23 09:30:18 -07:00
Igor Ignatyev
c912a69689 8156681: Add jtreg wrapper for hotspot gtest tests
Reviewed-by: jwilhelm, ehelin
2016-05-23 17:49:57 +03:00
Dmitrij Pochepko
34c101efc6 8157438: JVMCI: MaterializeVirtualObjectTest fails w/ "CASE: invalidate=true: has no virtual object before"
Reviewed-by: kvn
2016-05-23 17:33:39 +03:00
Gustavo Romero
066208e368 8154156: PPC64: improve array copy stubs by using vector instructions
Reviewed-by: goetz, mdoerr
2016-05-23 10:35:51 -03:00
Igor Ignatyev
05540f90da 8157821: [JITtester] OptionResolver and LiteralFactory use deprecated c-tors
Reviewed-by: kvn
2016-05-27 17:12:10 +03:00
Igor Ignatyev
1b5b717f54 8156469: [JITtester] Difference in generated golden output when run with Jigsaw build
Reviewed-by: vlivanov
2016-05-27 17:12:09 +03:00
Robbin Ehn
4154a35318 8157097: OptionsValidation/TestOptionsWithRanges.java crashes at CompactHashtableWriter::add during StringTable::copy_shared_string
Reviewed-by: dholmes, jiangli
2016-05-23 09:57:17 +02:00
Robbin Ehn
2096e37c4e 8153723: Change the default logging output for errors and warnings from stderr to stdout
Reviewed-by: mlarsson, sla
2016-05-23 08:02:04 +02:00
Alan Bateman
8fe0416551 8152650: ModuleFinder.compose should accept varargs
Reviewed-by: mchung
2016-05-21 08:00:33 +01:00
Vivek Deshpande
489b38091e 8154473: Update for CompilerDirectives to control stub generation and intrinsics
Use -XX:DisableIntrinsic flag to control intrinsics usage in Interpreter.

Reviewed-by: twisti, neliasso, kvn, simonis
2016-05-20 14:17:55 -07:00
Alejandro Murillo
a4eeccb502 Merge 2016-05-20 11:30:51 -07:00
Alejandro Murillo
e81bc31a88 Merge 2016-05-20 11:23:53 -07:00
Christian Tornqvist
3469a820b9 Merge 2016-05-20 16:39:40 +00:00
Vladimir Ivanov
6dfcf1dd81 8154831: CastII/ConvI2L for a range check is prematurely eliminated
Reviewed-by: kvn, thartmann
2016-05-20 18:27:03 +03:00
Vladimir Ivanov
36daf60d8f Merge 2016-05-20 18:05:09 +03:00
Christian Tornqvist
870555cea0 Merge 2016-05-20 14:57:18 +00:00
Michail Chernov
1570c8ce43 8154787: gc/g1/Test2GbHeap.java fails with java.lang.RuntimeException
Reviewed-by: jprovino, dfazunen, jmasa, drwhite
2016-05-20 14:53:13 +03:00
David Holmes
81a0fa24dd 8149901: [Solaris] Use of -XX:+UseThreadPriorities crashes fastdebug
Reviewed-by: gziemski, sspitsyn
2016-05-20 01:47:32 -04:00
Jon Masamitsu
08962e6714 8157373: Active workers should not be reset in AbstractWorkGang initialize()
Reviewed-by: kbarrett, tschatzl, jwilhelm
2016-05-19 14:53:18 -07:00
Jon Masamitsu
2899284bf6 Merge 2016-06-11 00:12:28 +00:00
Alejandro Murillo
abad4a1dbc Merge 2016-06-10 15:19:32 -07:00
Vladimir Kozlov
96627b1708 Merge 2016-06-10 20:28:46 +02:00
Vladimir Kozlov
1246644d4d Merge 2016-06-10 10:13:30 -07:00
Jon Masamitsu
35ba62637e 8026752: Cancel MetaspaceGC request for a CMS concurrent collection after GC
Reviewed-by: sjohanss, sangheki
2016-06-10 09:22:09 -07:00
Stefan Karlsson
d019f34077 8159237: PreservedMarks verification code fails
Reviewed-by: lmesnik, jwilhelm
2016-06-10 14:06:36 +02:00
Goetz Lindenmaier
59e5844219 8159056: [aix] Compressed class space not allocated in lower regions
Reviewed-by: dholmes, enevill
2016-06-08 16:07:49 +02:00
Leonid Mesnik
84cab6c56f 8156032: Clean up parallel GC specific code from vm/gc/shared/preservedMarks.cpp
Reviewed-by: stefank, tschatzl
2016-06-09 16:52:32 +03:00
Stefan Johansson
aa9857b6e2 8157243: JMap heap test fail when used with external heap
Reviewed-by: dsamersoff, ehelin
2016-06-08 16:26:11 +02:00
Stefan Johansson
ec6f427ecc 8146530: [testbug] some tests fail because the compiler is using Java heap memory
Reviewed-by: jwilhelm, jmasa, kvn
2016-06-09 13:24:44 +02:00
Jiangli Zhou
7631840502 Merge 2016-06-09 00:53:07 +02:00
Jiangli Zhou
81ff3b7d93 8158681: ClassLoader::classloader_type() is called from code not included under #if INCLUDE_CDS
Place CDS related code under #if INCLUDE_CDS.

Reviewed-by: lfoltan, gtriantafill, coleenp
2016-06-08 18:47:05 -04:00
Calvin Cheung
27f9eddfc2 8159019: ResourceMark in ClassLoader::open_versioned_entry() is being used incorrectly
Call FREE_RESOURCE_ARRAY instead of declaring a ResourceMark

Reviewed-by: hseigel, jiangli
2016-06-08 12:50:23 -07:00
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
Jon Masamitsu
8821cffac1 8157240: GC task trace logging is incomprehensible
Reviewed-by: tschatzl, redestad
2016-05-19 13:59:50 -07:00
Stefan Karlsson
ea82c69b6e 8159893: StringTable cleaning log line lacks the GC ID prefix
Reviewed-by: pliden, jmasa
2016-06-21 14:00:18 +02:00
Daniel D. Daugherty
8f7e6e317c 8068592: Remove unused code in objectMonitor.hpp
Reviewed-by: dholmes, redestad, gthornbr
2016-07-07 14:58:17 -07:00
Alan Burlison
4d5d6cabdd 8160350: cannot truss jdk9 [ solaris ]
Removed no longer needed code to enable or test for vtime support.

Reviewed-by: kbarrett, dcubed, gthornbr
2016-07-07 15:40:36 -04:00
Zoltan Majo
567113bed6 Merge 2016-07-06 12:01:07 +00:00
Thomas Schatzl
7fd90042ca 8159978: Use an array to store the collection set regions instead of linking through regions
Fix a potential problem with memory visibility in the sampling thread in the collection set by changing the way we store the collection set.

Reviewed-by: ehelin, jmasa
2016-07-06 11:22:55 +02:00
Zoltan Majo
e0e3bd5582 8160527: Check for final instance field updates can be omitted
Disable final field resolution in the constant pool cache. Correct error message printed at field resolution. New tests.

Reviewed-by: jrose, coleenp
2016-07-06 11:16:36 +02:00
Daniel D. Daugherty
9a3dc1d8cc Merge 2016-07-05 21:24:24 +00:00
Daniel D. Daugherty
65ae838dbf 8160739: quarantine tests failing due to -XX:TieredStopAtLevel=1
8160743: quarantine tests that can't attach symbolicator to the process on MacOS X

Reviewed-by: sspitsyn, dholmes, kvn
2016-07-05 14:00:21 -07:00
Derek White
2e1b011569 8158946: btree009 fails with assert(s > 0) failed: Bad size calculated
Set oop_size before setting _klass

Reviewed-by: coleenp, dholmes, kbarrett, tschatzl
2016-07-05 15:34:06 -04:00
Kim Barrett
4e25b9f930 Merge 2016-07-05 20:09:21 +02:00
Yasumasa Suenaga
146cbf3702 8160353: narrowing conversion error is occurred with GCC 6
Reviewed-by: kbarrett, dholmes
2016-07-04 12:43:01 +09:00
Yasumasa Suenaga
82858779e9 8160361: SEGV occurred at JNIHandleBlock::oops_do(OopClosure*)
Reviewed-by: dsamersoff, tschatzl
2016-06-28 00:24:10 +09:00
Per Lidén
3ad9aa0f10 8159974: G1 String deduplication logging not aligned with the rest of G1
Reviewed-by: stefank, tschatzl
2016-07-04 11:27:11 +02:00
Alejandro Murillo
a1dcb34cdc Merge 2016-07-02 00:26:51 +00:00
Alejandro Murillo
3fdd758961 Merge 2016-07-01 16:55:44 -07:00
Jon Masamitsu
3af1b64ce1 8024945: Remove check on minimum size of MetaspaceSize
Reviewed-by: kbarrett, tschatzl
2016-06-13 14:10:09 -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