Commit Graph

11354 Commits

Author SHA1 Message Date
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
Alejandro Murillo
7bd620bff1 Merge 2016-05-14 15:34:30 -07: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
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
Nils Eliasson
d5b029d48d 8153352: Crash with assert(pd != 0L) failed: PcDesc must not be NULL
Simplify look_for_reserved_stack_annotated_method

Reviewed-by: kvn
2016-05-26 14:17:50 +02:00
Nils Eliasson
24805477df 8157717: MultiCommand breaks directives amount limit
Increase directives amount for these tests

Reviewed-by: kvn, ppunegov
2016-05-26 14:17:49 +02:00
David Holmes
3568b43a30 Merge 2016-05-25 23:45:17 +02:00
David Holmes
15def391b5 8157175: GetNanoTimeAdjustment.java fails with excessive adjustment error
Reviewed-by: dcubed, gziemski
2016-05-25 16:23:15 -04:00
Kim Barrett
83dbb0faba 8156548: gc/gctests/StringInternSyncWithGC2 fails with Test level exit status: 151
Avoid repeated verification.

Reviewed-by: jmasa, drwhite
2016-05-25 13:46:05 -04:00
Ed Nevill
75909b48f3 8157841: aarch64: prefetch ignores cache line size
Fix prefetch to take account of cache line size

Co-authored-by: Stuart Monteith <stuart.monteith@linaro.org>
Reviewed-by: aph
2016-05-25 13:30:07 +00:00
Ed Nevill
7694596568 8157834: aarch64: Hello World crashes with fastdebug build
Support LL, UL and LU encodings of StrIndexOf

Reviewed-by: aph
2016-05-25 15:05:26 +00:00
Dmitrij Pochepko
ac5718b306 8156470: [JITtester] EOL on Windows
Reviewed-by: kvn
2016-05-25 16:22:31 +03:00
Dmitrij Pochepko
fdf9e5a63e 8156585: Cosmetic: AARCH64 defines in c1_LIRAssembler_aarch64.hpp
Reviewed-by: kvn
2016-05-25 16:20:02 +03:00
Paul Sandoz
e54a25914e 8157683: Thread.onSpinWait intrinsification doesn't have sufficient test coverage
Reviewed-by: kvn
2016-05-25 10:46:21 +02:00
Gerard Ziemski
f1c490f5fa 8152856: Xcode 7.3 -Wshift-negative-value compile failure on Mac OS X
Implement _lh_array_tag_type_value as const, not enum.

Reviewed-by: vlivanov, minqi
2016-05-24 12:42:43 -05:00
Vladimir Ivanov
255569b3a9 Merge 2016-05-24 13:39:18 +00:00
Dmitry Samersoff
d9be06bf8d Merge 2016-05-24 12:00:15 +00:00
Vladimir Ivanov
3221da3cf7 Merge 2016-05-24 14:13:57 +03: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
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
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
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
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
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
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
Christian Thalinger
d88959ebfb Merge 2016-05-13 21:26:06 +00:00
Martin Doerr
cb6496c297 8141635: Implement VarHandles/Unsafe intrinsics on POWER
Reviewed-by: shade, kvn, simonis
2016-05-13 22:21:54 +03: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