Commit Graph

2709 Commits

Author SHA1 Message Date
Igor Ignatyev
46225e207d 8158754: compilercontrol tests: RandomCommandsTest.java and RandomValidCommandsTest.java - fail in PIT
Reviewed-by: neliasso
2016-06-15 22:58:04 +03:00
Gustavo Romero
0fd874e9c5 8158260: PPC64: unaligned Unsafe.getInt can lead to the generation of illegal instructions
Adjust instruction generation.

Co-authored-by: Hiroshi H Horii <horii@jp.ibm.com>
Reviewed-by: goetz
2016-06-17 11:31:24 +02:00
Roland Schatz
9f373603a0 8159167: [JVMCI] fix HotSpotVMConfig startup performance
Reviewed-by: iveresov
2016-06-16 16:41:50 +00:00
Erik Helin
1d07931eae 8159366: Header guards missing for unittest.hpp
Reviewed-by: jwilhelm, stefank, pliden
2016-06-13 13:52:38 +02:00
Erik Helin
d39f9a9b55 8159365: assert is not defined for unit tests
Reviewed-by: jwilhelm, coleenp
2016-06-13 13:54:46 +02:00
Erik Helin
3be991b9fb 8159364: Gtest unit tests does not support PCH
Reviewed-by: erikj, jwilhelm, gtriantafill
2016-06-13 13:48:37 +02:00
Coleen Phillimore
39b4f0d53e Merge 2016-06-19 20:14:37 -04:00
Dmitry Fazunenko
b199df41f5 Merge 2016-06-17 19:04:09 +00:00
Michail Chernov
4dd736d71a 8158412: [TESTBUG] TestIHOPErgo and TestStressG1Humongous should not be executed when JFR is enabled
Reviewed-by: dfazunen, tschatzl
2016-06-17 18:45:09 +03:00
Rachel Protacio
c77d3aa077 Merge 2016-06-17 15:06:47 +00:00
Rachel Protacio
36ac8c8a00 8153394: Add Unified Logging to make it easy to trace time taken in initPhase2
Added modules+startuptime logging for initPhase2 via TraceTime class

Reviewed-by: rehn, hseigel, mockner
2016-06-17 10:46:55 -04:00
Leonid Mesnik
f04cf89a79 8157831: JVMCI tests should not be executed on linux-arm32
Reviewed-by: dpochepk, dholmes
2016-06-17 13:07:27 +03:00
Lois Foltan
f3741800fe 8156871: Possible concurrency issue with JVM_AddModuleExports
Need for single PackageEntry flag to determine a package's unqualifed export state.

Reviewed-by: acorn, ctornqvi, dholmes, jiangli
2016-06-16 13:34:32 -04:00
Robbin Ehn
f5b4d9e51f 8149778: serviceability/tmtools/jstat/GcCapacityTest.java causes JVM to hang during GC
Reviewed-by: pliden, stefank
2016-06-15 09:43:42 +02:00
Harold Seigel
2d7e2d242f Merge 2016-06-14 19:30:19 +00:00
George Triantafillou
69bdc4f247 8159328: [TESTBUG] ProblematicFrameTest.java throws an exception (due to trying to access Unsafe) but still passes
Reviewed-by: hseigel, ddmitriev
2016-06-14 14:31:36 -04:00
George Triantafillou
ada2d65793 8159255: [TESTBUG] XpatchJavaBase.java compilation failure
Reviewed-by: lfoltan, hseigel, ddmitriev
2016-06-14 14:35:34 -04:00
Kirill Zhaldybin
dd9df0a16c Merge 2016-06-14 19:38:44 +02:00
Kirill Zhaldybin
0f8af0955c 8132713: Add tests which check that Humongous objects behave as expected after finishing ConcMark Cycle
Reviewed-by: tschatzl, dfazunen
2016-06-14 19:15:27 +03:00
Robbin Ehn
9eeb285818 8072440: serviceability/dcmd/ tests timeout
Reviewed-by: sla, mlarsson
2016-06-13 10:10:35 +02:00
Goetz Lindenmaier
8a945875b6 8159335: Fix problems with stack overflow handling
Reviewed-by: dlong, coleenp, mdoerr
2016-06-13 09:28:25 +02:00
Goetz Lindenmaier
8bb3799029 8159156: [TESTBUG] ReserveMemory test is not useful on Aix
Reviewed-by: dholmes
2016-06-09 15:17:18 +02:00
Jon Masamitsu
d618ceab2e 8159073: : Error handling incomplete when creating GC threads lazily
Reviewed-by: drwhite, tschatzl, sangheki
2016-06-08 14:11:51 -07:00
Rickard Bäckman
5ce5d9f4cc Merge 2016-07-29 09:23:05 +02:00
Lois Foltan
6066d30e17 8160487: JVM should validate a module by checking for an instance of java.lang.reflect.Module
Correct the checking of an instance of java.lang.reflect.Module to validate a module

Reviewed-by: alanb, coleenp, redestad
2016-07-28 09:57:49 -04:00
Michail Chernov
f47008ae10 8159606: gc/g1/TestShrinkAuxiliaryData* tests fail because GC triggered before VM initialization completed
Reviewed-by: tschatzl
2016-07-27 18:43:52 +03:00
Dmitry Fazunenko
b831167138 8161990: Un-quarantine TestParallelHeapSizeFlags.java and TestSmallHeap.java
Reviewed-by: tschatzl
2016-07-27 21:16:38 +04:00
David Holmes
5c9019c64a 8140723: Remove source code conditionalized on JAVASE_EMBEDDED
Reviewed-by: twisti, fparain, cjplummer
2016-07-26 23:52:25 -04:00
Alexander Kulyakhtin
1a81918931 8153978: New test to verify the modules info as returned by the JVMTI
A new JVMTI test

Reviewed-by: ctornqvi, sspitsyn
2016-07-22 16:55:55 +03:00
Jini George
73a516d68e 8145627: sun.jvm.hotspot.oops.InstanceKlass::getSize() returns the incorrect size and has no test
Fix the size and add a test

Reviewed-by: sspitsyn
2016-07-22 02:36:39 -07:00
Alejandro Murillo
560886751b Merge 2016-07-21 20:09:19 -07:00
Alejandro Murillo
ff1f1235ab Merge 2016-07-21 19:50:41 -07:00
Dmitry Fazunenko
fdec5ff217 Merge 2016-07-21 16:45:56 +00:00
Paul Sandoz
44d9cb476f 8161947: runtime/Unsafe/GetUnsafe.java is failing on jdk9/dev
Reviewed-by: alanb, dholmes
2016-07-21 16:29:21 +02:00
Dmitry Fazunenko
92110548e8 8161552: Test issue: VM init failed: GC triggered before VM initialization completed. Try increasing NewSize, current value 768K
Reviewed-by: tschatzl, jmasa, zmajo
2016-07-21 17:12:35 +04:00
Boris Molodenkov
8663231fb4 8160119: Utils.tryFindJvmPid sometimes find incorrect pid
Fixed pattern

Reviewed-by: iignatyev, dholmes
2016-07-20 14:47:53 +03:00
Michail Chernov
c6f30feaec 8160827: gc/stress/TestStressG1Humongous.java fails with OOME
Reviewed-by: tschatzl
2016-07-19 18:15:46 +03:00
Igor Ignatyev
4dad69bb2e 8149043: Fix code indentation in test/compiler/stable tests
Reviewed-by: vlivanov
2016-06-01 09:13:10 +03:00
Zoltan Majo
cdc436922a 8157181: Compilers accept modification of final fields outside initializer methods
Track initialized final field updates; disable constant folding if an update is detected. Enforce final field update rules introduced by JVMS-7 (but only for JDK 9).

Reviewed-by: vlivanov, dnsimon, forax, never, kvn, coleenp
2016-06-15 14:27:58 +02:00
Aleksey Shipilev
c6c73deca4 8157726: VarHandles/Unsafe should support sub-word atomic ops
Reviewed-by: psandoz, vlivanov, lagergren
2016-06-15 11:21:36 +03:00
Tobias Hartmann
3fddb36924 8159244: Partially initialized string object created by C2's string concat optimization may escape
Emit release barrier after String creation to prevent partially initialized object from escaping.

Reviewed-by: kvn
2016-06-15 07:58:56 +02:00
Dean Long
467a5400d2 8158360: C1: SEGV in generated code
Update test to store Object fields

Reviewed-by: kvn
2016-06-14 18:07:41 -07:00
Dean Long
7846b3a26c 8159282: quarantine compiler/jvmci/compilerToVM/ReprofileTest.java
Reviewed-by: iignatyev
2016-06-14 15:10:05 -07:00
Doug Simon
62a2685b4b 8158351: [JVMCI] NoClassDefFoundError: jdk/vm/ci/runtime/JVMCI
Reviewed-by: kvn, vlivanov
2016-06-10 02:43:53 +00:00
Tobias Hartmann
e45caa8cba 8158228: C1 incorrectly folds mismatched loads from stable arrays
Disable constant folding for mismatched loads from stable arrays.

Reviewed-by: vlivanov
2016-06-07 18:20:44 +02:00
Tobias Hartmann
e8ef37ca55 Merge 2016-06-07 09:11:32 +00:00
Jamsheed Mohammed C M
9ead05c2dc 8146416: java.lang.OutOfMemoryError triggers: assert(current_bci == 0) failed: bci isn't zero for do_not_unlock_if_synchronized
Handle realloc failure pending exception.

Reviewed-by: roland
2016-06-06 23:24:46 -07:00
Doug Simon
39e5b15fdd 8156587: [JVMCI] remove Unsafe.getJavaMirror and Unsafe.getKlassPointer
Reviewed-by: kvn
2016-06-06 16:31:03 -07:00
Vladimir Kozlov
47b35cab0e Merge 2016-06-06 12:56:40 -07:00
Gerard Ziemski
4543e25bd3 8155936: Boolean value should be set 1/0 or true/false via VM.set_flag jcmd
Add true/false as possible input values for boolean flags for jcmd.

Reviewed-by: gziemski, dsamersoff, coleenp
2016-06-03 13:26:43 -05:00
Max Ockner
69d4ee5887 Merge 2016-06-03 05:38:08 +02:00
Coleen Phillimore
60eea7f11f Merge 2016-06-02 23:57:07 +00:00
Max Ockner
1563e05cf0 8138705: Kitchen sink stress test fails
NMT now supports overlapping commits.

Reviewed-by: coleenp, zgu
2016-06-02 12:07:55 -04:00
Tobias Hartmann
f92cc0c836 8158214: Crash with "assert(VM_Version::supports_sse4_1()) failed" if UseSSE < 4 is set
Do not emit unsupported SSE 4.1 instructions in CRC32 intrinsic.

Reviewed-by: kvn, zmajo
2016-06-02 13:19:05 +02:00
Stefan Johansson
277d5f6f08 8152239: hotspot/test/gc/TestSmallHeap.java failed in jdk9
Reviewed-by: mgerdin, dfazunen, mchernov
2016-06-02 09:44:41 +02:00
Tobias Hartmann
35f9db149b 8156760: VM crashes if -XX:-ReduceInitialCardMarks is set
Fixed several compiler crashes with disabled ReduceInitialCardMarks.

Reviewed-by: roland, minqi, dlong, tschatzl, kvn
2016-06-02 08:46:52 +02:00
Roland Schatz
bc9236dd30 8157428: [JVMCI] remove MemoryAccessProvider.readUnsafeConstant from API
Reviewed-by: iveresov
2016-05-31 20:43:12 +00:00
Tom Rodriguez
5fde888be3 Merge 2016-05-31 17:51:42 +00:00
Michail Chernov
7cb4e07b8d 8157954: [TESTBUG] G1 tests fail with defined MaxGCPauseMillis
Reviewed-by: jmasa, dfazunen, tschatzl
2016-05-31 20:31:08 +03:00
Josef Eisl
343a9e76a8 8157292: [JVMCI] add missing test files from 8156034
Reviewed-by: iveresov
2016-05-31 17:08:18 +00:00
Dmitrij Pochepko
fafec2b66c Merge 2016-05-31 13:58:28 +00:00
Igor Ignatyev
56be0b11f1 8153994: Compiler tests should be correctly marked with @module
Reviewed-by: kvn
2016-05-31 16:30:18 +03:00
Igor Ignatyev
fe34e32f2b 8158184: remove shell from compiler/c2/7070134/Stemmer.java
Reviewed-by: kvn
2016-05-31 16:29:45 +03:00
Igor Ignatyev
708d50417c 8158185: jdk/test/lib/FileInstaller throws NPE if dst is in current directory
Reviewed-by: kvn
2016-05-31 16:29:45 +03:00
Igor Ignatyev
7073d102f0 8158182: remove shell script from compiler/c2/6894807/IsInstanceTest.java
Reviewed-by: kvn
2016-05-31 16:29:45 +03:00
Dmitrij Pochepko
3f436dc952 8158065: [Jittester]: tests generation has tests generators hardcoded, blocking alternative tests generation
Reviewed-by: iignatyev
2016-05-31 15:48:47 +03:00
Igor Ignatyev
11504c438f 8073159: improve Test6857159.java
Reviewed-by: kvn
2016-05-31 15:12:09 +03:00
Vladimir Ivanov
b86eaee1a7 Merge 2016-05-31 15:10:10 +03:00
Igor Ignatyev
395f9470df 8152376: [TESTBUG] compiler/floatingpoint/Test15FloatJNIArgs should use run main/othervm/native
Reviewed-by: kvn
2016-05-30 23:33:00 +03:00
Igor Ignatyev
a0b8f9dc1a 8154123: remove commented action from jdk/vm/ci/runtime/test/ConstantTest.java
Reviewed-by: shade, kvn
2016-05-30 23:32:59 +03:00
Vladimir Ivanov
2a6a1c6b01 Merge 2016-05-30 15:04:03 +03:00
Vladimir Ivanov
a7ec30ae19 Merge 2016-05-27 17:01:27 +03: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
Dmitrij Pochepko
ac5718b306 8156470: [JITtester] EOL on Windows
Reviewed-by: kvn
2016-05-25 16:22:31 +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
Vladimir Ivanov
255569b3a9 Merge 2016-05-24 13:39:18 +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
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
8caad345fd 8153515: [ctw] CompileTheWorld testlibrary should trigger compilation of <clinit> and <init>
Reviewed-by: thartmann
2016-06-29 14:32:13 +03: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
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
048c1f8ad0 8160085: @library' must appear before first `@run'
Move @ignore after the @library

Reviewed-by: kvn
2016-06-24 19:06:15 +03: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
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
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
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
Christian Tornqvist
3469a820b9 Merge 2016-05-20 16:39:40 +00:00
Vladimir Ivanov
36daf60d8f Merge 2016-05-20 18:05:09 +03: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
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
Vladimir Kozlov
96627b1708 Merge 2016-06-10 20:28:46 +02:00
Vladimir Kozlov
1246644d4d Merge 2016-06-10 10:13:30 -07: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
Max Ockner
fecc46c774 Merge 2016-06-08 18:09:04 +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
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
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
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
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
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
Jon Masamitsu
3af1b64ce1 8024945: Remove check on minimum size of MetaspaceSize
Reviewed-by: kbarrett, tschatzl
2016-06-13 14:10:09 -07: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
Christian Tornqvist
100d77bf15 8156882: Remove hotspot/test/testlibrary/whitebox
Reviewed-by: coleenp, mockner, dfazunen, iignatyev
2016-05-17 11:39:38 -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
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
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
Christian Tornqvist
9d801b98a7 8158106: native/GTestWrapper.java gets SIGABR
Reviewed-by: lfoltan, gtriantafill
2016-05-31 15:21:56 -04:00
Stefan Johansson
84d9673da4 8157153: TestStressRSetCoarsening fails with OOM
Reviewed-by: mgerdin, dfazunen
2016-05-27 12:57:38 +02: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
Coleen Phillimore
f0f9e93eb1 Merge 2016-05-27 16:39:49 +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
df9373aad7 Merge 2016-05-27 16:56:23 +03:00
Alejandro Murillo
33dc2cac3c Merge 2016-05-26 14:24:50 -07:00
Alejandro Murillo
e3dfc2043d Merge 2016-05-26 14:17:03 -07:00
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
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
Alan Bateman
8fe0416551 8152650: ModuleFinder.compose should accept varargs
Reviewed-by: mchung
2016-05-21 08:00:33 +01: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
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 Thalinger
3c0ef9eadc 8156159: replace CompilerToVM.readUncompressedOop with Unsafe.getUncompressedObject
Reviewed-by: kvn
2016-05-11 10:23:59 -10: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
Roland Schatz
4c94cba880 Merge 2016-05-12 18:11:14 +00:00
Roland Schatz
9f43471b55 8156768: [JVMCI] remove support for patching Symbol pointers
Reviewed-by: iveresov
2016-05-12 12:59:35 +02: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
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
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
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
Vladimir Ivanov
cdc0b9792f Merge 2016-05-11 00:40:59 +00:00
Vladimir Ivanov
3fcc58a80d Merge 2016-05-11 00:31:28 +03: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
Tom Rodriguez
41dcc3f305 Merge 2016-05-10 23:08:42 +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
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
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
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
Vladimir Ivanov
e704d47b85 Merge 2016-05-06 19:35:23 +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
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
Vladimir Ivanov
622a5ae6f0 Merge 2016-05-06 18:20:50 +03: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
Vladimir Ivanov
5dc9f56544 Merge 2016-05-09 13:13:07 +03:00
Vladimir Ivanov
71d2f5b46d Merge 2016-05-06 19:45:22 +03: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
Ioi Lam
565780b7aa 8155239: [TESTBUG] Simple test setup for JVMTI ClassFileLoadHook
Reviewed-by: cjplummer, mseledtsov
2016-05-03 07:23:23 -07: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
Vladimir Ivanov
d312e84812 8155751: Some tests miss othervm for main/bootclasspath mode
Reviewed-by: kvn
2016-05-04 23:08:43 +03: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
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
Tom Rodriguez
38df4e48a4 8155771: [JVMCI] expose JVM_ACC_IS_CLONEABLE_FAST
Reviewed-by: twisti
2016-05-03 12:15:06 -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
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
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
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
Jan Civlin
f2e9b827d6 8154495: SHA256 AVX2 intrinsic (when no supports_sha() available)
Reviewed-by: kvn
2016-04-26 21:54:21 -07:00
Rickard Bäckman
b853eb7f5c 8151956: Support non-continuous CodeBlobs in HotSpot
Reviewed-by: iveresov, thartmann, simonis
2016-04-26 10:28:51 +02:00
Vladimir Ivanov
67ff4391ec 8154172: C1: NPE is thrown instead of linkage error when invoking nonexistent method
Reviewed-by: kvn
2016-04-25 21:25:22 +03:00
Vladimir Ivanov
e17b342749 8134918: C2: Type speculation produces mismatched unsafe accesses
Reviewed-by: kvn
2016-04-25 18:36:27 +03:00
Tobias Hartmann
3a358f4cff 8086057: Crash with "modified node is not on IGVN._worklist" when running with -XX:-SplitIfBlocks
Pre-loop Opaque1 node 'pre_opaq' should be put on the IGVN worklist after modification.

Reviewed-by: kvn
2016-04-25 10:53:42 +02:00
Tobias Hartmann
ebc384160f 8154763: Crash with "assert(RangeCheckElimination)" if RangeCheckElimination is disabled
Disable multiversioning if range check elimination is turned off.

Reviewed-by: mcberg, kvn
2016-04-25 10:51:44 +02:00
Alejandro Murillo
638bcd60aa Merge 2016-04-22 00:08:54 -07: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
Max Ockner
da0fe9d476 8154110: Update class* and safepoint* logging subsystems
Refactored logging tags in class and safepoint subsystems.

Reviewed-by: coleenp, rehn, hseigel
2016-04-29 22:40:51 -04:00
Vladimir Ivanov
84d06ff2d0 Merge 2016-04-29 14:17:34 +03:00
Pavel Punegov
d417d4012a Merge 2016-04-29 03:02:43 +02:00
Vladimir Ivanov
72747f47fd Merge 2016-04-29 02:13:40 +03:00
Harold Seigel
d30adc68f2 8151342: Add module name/version to class histogram output
Add additional column to histogram containing module@version

Reviewed-by: sundar, gtriantafill
2016-04-28 13:44:36 -04:00
Kirill Zhaldybin
d423c99efc 8155527: New test TestHumongousClassLoader fails with "-XX:+ExplicitGCInvokesConcurrent" option
Reviewed-by: dfazunen, drwhite, jwilhelm
2016-04-28 16:55:04 +03:00
Pavel Punegov
9c04e65bda 8155034: [TESTBUG] ctw tests fail to compile: module reads package sun.reflect from both jdk.unsupported and java.base
Replace sun.reflect with jdk.internal.reflect

Reviewed-by: iignatyev, ddmitriev
2016-04-28 17:58:18 +03:00
Calvin Cheung
023aa74fc2 8154976: UseSharedSpaces error message is incomplete
Reviewed-by: cjplummer, jiangli, mseledtsov
2016-04-27 11:40:43 -07:00
Pavel Punegov
a1e8e87784 Merge 2016-04-26 18:54:37 +02:00
Kirill Zhaldybin
75d8a4b585 8155092: [TESTBUG] TestHumongousClassLoader.java needs UnlockDiagnosticVMOptions before WhiteBoxAPI
Reviewed-by: tschatzl, dfazunen
2016-04-26 16:50:34 +03:00
Rachel Protacio
09add35155 8152844: JVM InstanceKlass Methods For Obtaining Package/Module Should Be Moved to Klass
Converted package() and module() functions to pure virtual functions of Klass

Reviewed-by: dholmes, coleenp, lfoltan, hseigel
2016-04-26 09:08:12 -04:00
Dmitry Dmitriev
b788b49698 Merge 2016-04-26 11:49:37 +00:00
Alexander Kulyakhtin
7cf6a15162 8153992: Some hotspot tests fail on compact2 due to an unnecessary test library dependency
Removing unnecessary dependency on java.management from the ProcessTool.getProcessId()

Reviewed-by: mchung
2016-04-26 13:22:32 +03:00
Dmitry Fazunenko
5071cda359 Merge 2016-04-26 09:14:06 +00:00
Coleen Phillimore
de88e58a82 8154580: Save mirror in interpreter frame to enable cleanups of CLDClosure
GC walks the mirror using OopClosure rather than using CLDClosure in oops_interpreted_do()

Reviewed-by: dlong, twisti, stefank
2016-04-25 09:51:00 -04:00
Michail Chernov
0fc708181a 8154341: [TESTBUG] G1 stress test for humongous objects allocation
Reviewed-by: jwilhelm, dfazunen
2016-04-22 18:19:29 +03:00
Michail Chernov
4397d91642 8154759: [TESTBUG] GC tests should be changed to be able to execute with -Xlog:all=trace
Reviewed-by: jmasa, dfazunen
2016-04-22 17:49:15 +03:00
Michail Chernov
14a8adfd9f 8154843: GC tests should be correctly marked with @module
Reviewed-by: jwilhelm, dfazunen
2016-04-22 17:46:06 +03:00
Alejandro Murillo
f9426642c6 Merge 2016-04-22 01:04:00 -07:00
Bharadwaj Yadavalli
d1b219ba3c Merge 2016-04-21 20:11:40 +00:00
Bharadwaj Yadavalli
80a156e005 Merge 2016-04-21 15:59:07 -04:00
Kirill Zhaldybin
b15c8503ab 8132718: Add tests which check that when humongous classloader object becomes unreachable it and all classes that were loaded in it should be collected
Reviewed-by: jmasa, dfazunen
2016-04-21 17:55:14 +03:00
Kirill Zhaldybin
769aba784a 8153764: Add auxiliary method that generates class by class prototype to gc testlibrary
Reviewed-by: dfazunen, iignatyev
2016-04-21 18:01:10 +03:00
Tobias Hartmann
257c8ccafc 8086068: VM crashes with "-Xint -XX:+UseCompiler" options
Prevent incompatible compiler flag combination.

Reviewed-by: zmajo, kvn, ddmitriev
2016-04-21 10:52:00 +02:00
Roland Westrelin
794bbd1a36 8154537: AArch64: some integer rotate instructions are never emitted
Reviewed-by: aph, adinn, kvn
2016-04-19 19:52:39 -07:00
Mikhailo Seledtsov
c791bde668 8153549: [TESTBUG] remove obsolete runtime/SharedArchiveFile/BasicJarBuilder
Removed the obsolete file, after ensuring no other jdk components depend on it

Reviewed-by: iklam, lfoltan, hseigel, gtriantafill, ctornqvi
2016-04-19 15:11:23 -07:00
Bharadwaj Yadavalli
d61df5babe Merge 2016-04-19 15:26:59 -04:00
Jiangli Zhou
2d65e6174c 8154457: runtime/SharedArchiveFile/SharedStrings Shared string table stats missing
Added more information when print out message reporting disabling the shared strings at CDS dump time.

Reviewed-by: lfoltan, hseigel, mseledtsov, gtriantafill
2016-04-20 16:04:38 -04:00
Kirill Zhaldybin
c66b2de971 8138607: gc/g1/mixedgc/TestLogging.java - G1 Evacuation Pause missing from output
Reviewed-by: tschatzl, dfazunen
2016-04-19 19:13:18 +03:00
Kim Barrett
7ced38a6b5 Merge 2016-04-18 22:40:47 +02:00
Kim Barrett
3079c942b6 8133051: Concurrent refinement threads may be activated and deactivated at random
Establish min threshold step; earlier primary refinement thread activation.

Reviewed-by: tschatzl, drwhite, mgerdin, jmasa
2016-04-18 14:52:31 -04:00
Harold Seigel
33aa33f03a 8154268: [TESTBUG] Compilation of ExportAllUnnamed.java failed, missing @modules
Add missing @modules and @build tags

Reviewed-by: ctornqvi, lfoltan, gtriantafill
2016-04-18 13:42:52 -04:00
Anton Ivanov
6c95220480 8154174: Improve JitTester performance
Reviewed-by: iignatyev
2016-04-18 15:40:11 +03:00
Ioi Lam
6526d15d6e 8150607: Clean up CompactHashtable
Refactored code, and added test cases for serviceability agent

Reviewed-by: jiangli, ccheung
2016-04-17 19:15:52 -07:00
Jesper Wilhelmsson
633da50166 Merge 2016-04-15 17:17:58 +02:00
Daniel D. Daugherty
2e49c43a00 Merge 2016-04-14 20:43:16 -07:00
Alejandro Murillo
b3349ef0ea Merge 2016-04-14 19:55:39 -07:00
Daniel D. Daugherty
f6e4fcc556 Merge 2016-04-14 17:42:29 -07:00
Erik Joelsson
2710266ac2 8149777: Enable enhanced failure handler for "make test"
Reviewed-by: ihse
2016-04-14 15:13:42 +02:00
Michail Chernov
8c6cc265f6 8153222: [TESTBUG] Move tests in stress/gc to gc/stress
Reviewed-by: dfazunen, jwilhelm
2016-04-14 15:45:38 +03:00
Thomas Schatzl
2d6f4ee98f 8154141: [TESTBUG] test/gc/g1/TestRegionLivenessPrint.java misses -XX:+UnlockDiagnosticVMOption flag
Reviewed-by: dfazunen, jwilhelm
2016-04-14 10:57:09 +02:00
Dmitry Fazunenko
23da19a790 8153755: Improve test: stress/gc/TestStressRSetCoarsening.java
Reviewed-by: tschatzl, kzhaldyb
2016-04-13 19:55:40 +04:00
Nils Eliasson
90d0e9a566 8153013: BlockingCompilation test times out
Task has no invocation count and get stale at once

Reviewed-by: kvn, iveresov, twisti
2016-04-13 14:48:22 +02:00
Nils Eliasson
c8593eff81 8154151: VM crashes with assert "Ensure we don't compile before compilebroker init"
Drop compiles submitted with complevel_none

Reviewed-by: kvn
2016-04-18 11:30:10 +02:00
Alejandro Murillo
7ab9e3f794 8154028: Several hotspot tests need to be updated after 8153737 (Unsupported Module)
Reviewed-by: darcy, kvn
2016-04-11 20:38:38 -07:00