Commit Graph

2713 Commits

Author SHA1 Message Date
Gerald Thornbrugh
2b23013b97 8144279: [TESTBUG] hotspot/runtime/jsig/Test8017498.sh should use native library build support
Reviewed-by: ccheung, cjplummer, dcubed
2016-07-15 10:31:50 -07:00
Gerald Thornbrugh
b571e747c5 8081770: [TESTBUG] regression Test7107135 needs to remove dependence on locally installed gcc
Reviewed-by: cjplummer, dcubed
2016-07-15 10:25:16 -07:00
Paul Sandoz
22f1fb042e 8151163: All Buffer implementations should leverage Unsafe unaligned accessors
Reviewed-by: shade, aph
2016-07-15 12:36:18 +02:00
Michail Chernov
dd05422209 8158508: gc/logging/TestUnifiedLoggingSwitchStress.java timeout
Reviewed-by: jmasa, tschatzl
2016-07-12 15:06:18 +03:00
Richard Reingruber
aa7a85dcbf 8134434: JVM_DoPrivileged() fires assert(_exception_caught == false) failed: _exception_caught is out of phase
Explicitly set exception detected inside rethrow_C

Reviewed-by: goetz, sspitsyn
2016-07-13 10:51:19 +03:00
Dmitrij Pochepko
0f34ca00f2 8157861: [TESTBUG] compiler/jvmci/compilerToVM/ReprofileTest.java failed with RuntimeException
Reviewed-by: twisti
2016-07-14 20:11:55 +03:00
Dmitrij Pochepko
24fa7f4177 8157984: [TESTBUG] Several compiler tests fails when are executed with -XX:TieredStopAtLevel=1
Reviewed-by: vlivanov
2016-07-14 20:10:16 +03:00
Igor Ignatyev
e19479825a 8151280: update hotspot tests to use vm.compMode instead of their own logic
Update hs compiler tests to use vm.compMode instead of their own logic and to get VM mode using j.t.l.Platform

Reviewed-by: kvn, dpochepk
2016-07-13 18:03:15 +03:00
Michael Haupt
558ac48a19 8161068: jdk.vm.ci.hotspot.test.MethodHandleAccessProviderTest fails
Reviewed-by: never, dnsimon
2016-07-14 08:33:08 +02:00
Pavel Punegov
684f63ba14 8160761: [TESTBUG] Several compiler tests fail with product bits
Add UnlockDiagnosticVMOptions to tests

Reviewed-by: goetz
2016-07-13 19:08:07 +03:00
Stefan Anzinger
b582e23cba 8159368: [JVMCI] SPARCHotSpotRegisterConfig.callingConvention gives incorrect calling convention for native calls containing fp args
Reviewed-by: kvn, iveresov
2016-07-12 20:42:46 +00:00
Igor Ignatyev
a0381422dd 8132919: Put compiler tests in packages
Reviewed-by: vlivanov, dpochepk
2016-07-12 18:24:48 +03:00
Tobias Hartmann
e990410b51 8160898: assert while replaying ciReplay file created using TieredStopAtLevel=1
Use highest available tier if no compilation level is specified in replay file.

Reviewed-by: zmajo
2016-07-12 08:57:00 +02:00
Doug Simon
48d49a9522 8160730: [JVMCI] compiler selection should work without -Djvmci.Compiler
Reviewed-by: kvn, twisti, never
2016-07-11 19:15:21 +00:00
Rickard Bäckman
c4a811cc90 Merge 2016-07-11 13:14:19 +02:00
Igor Ignatyev
6b764fc51a 8160657: Compiler HotSpot tests should use the "run driver" directive where applicable
Reviewed-by: kvn
2016-07-08 21:26:02 +03:00
Dmitrij Pochepko
b041084b5b 8160276: Jittester: bytecode tests generation hangs in ClassWriter infinite loop
Reviewed-by: kvn, iveresov
2016-07-08 20:14:18 +03:00
Tatiana Pivovarova
8afad6f434 8160773: error: package jdk.internal.jimage does not exist
Reviewed-by: dlong
2016-07-07 13:53:52 +03:00
Serguei Spitsyn
2cede6dbc1 8159145: Add JVMTI function GetNamedModule
Introduce function GetNamedModule with a jtreg test coverage

Reviewed-by: alanb, ctornqvi, hseigel, jiangli, dholmes, dcubed
2016-07-09 19:20:38 -07:00
Alejandro Murillo
5296c23c9b Merge 2016-07-08 12:17:10 -07:00
Alejandro Murillo
7cd48c89d3 Merge 2016-07-08 12:12:54 -07:00
Dmitry Samersoff
018bd862ef 8161074: Quarantine jdk/vm/ci/hotspot/test/MethodHandleAccessProviderTest.java in JDK9-dev
Quarantine the test

Reviewed-by: dcubed, gtriantafill
2016-07-08 20:11:22 +03:00
Tobias Hartmann
b64a4110b3 8159129: TestStringIntrinsicRangeChecks fails w/ No exception thrown for compressByte/inflateByte
Need to convert char offsets to byte offsets before range check.

Reviewed-by: vlivanov
2016-07-05 07:57:09 +02:00
Christian Tornqvist
f06ef85609 8160484: Implement Hotspot Runtime tier 2
Reviewed-by: dholmes, gtriantafill
2016-07-01 07:21:33 -04:00
Rahul Raghavan
77c3e19380 8153194: PreserveFPRegistersTest.java runs out of memory in the nightlies
Fixed test by setting reference size using WhileBox.getHeapOopSize.

Reviewed-by: vlivanov
2016-06-30 05:05:52 -07:00
Marcus Larsson
992b6c464a 8159695: Arguments::atojulong() fails to detect overflows
Reviewed-by: dholmes, dsamersoff
2016-06-29 16:11:50 +02:00
Coleen Phillimore
071f077080 Merge 2016-06-30 00:19:48 +00:00
Coleen Phillimore
fd1c7ff505 8160551: assert(c == Bytecodes::_putfield) failed: must be putfield
Illegal bytecodes which are detected later hit this assert first.

Reviewed-by: jrose
2016-06-29 20:16:05 -04:00
Kirill Zhaldybin
ed9f815336 8132711: Add tests which check that Humongous objects behave as expected after Mixed GC
Reviewed-by: tschatzl, dfazunen
2016-06-29 18:40:28 +03:00
Kirill Zhaldybin
69a42dc15a 8132715: Add tests which check that no allocations allowed in any of humongous regions
Reviewed-by: dfazunen, tschatzl
2016-06-29 17:01:55 +03:00
Lois Foltan
92eb334c91 8159262: Walking PackageEntry Export and ModuleEntry Reads Must Occur Only When Neccessary And Wait Until ClassLoader's Aliveness Determined
Fixed an issue in class unloading to delay walk until class loader's aliveness is determined of modularity lists to remove dead modules

Reviewed-by: coleenp, dholmes, sspitsyn, zgu
2016-06-28 10:11:01 -04:00
Per Lidén
651e15fda6 8159890: SIGSEGV with UseStringDeduplication and UseSharedSpaces/RequireSharedSpaces
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: stefank, drwhite, tschatzl, jiangli, iklam
2016-06-28 10:37:52 +02:00
Vladimir Kozlov
634a7fdebc Merge 2016-06-24 15:09:00 -07:00
Dmitry Fazunenko
6bf411c8be Merge 2016-06-24 16:21:57 +00:00
Dmitry Fazunenko
990315c8ce 8160088: update hotspot tests depending on GC to use @requires vm.gc.X
Reviewed-by: iignatyev, mchernov, dholmes
2016-06-24 19:52:31 +04:00
Dmitrij Pochepko
8189de5608 8159730: compiler/jvmci/compilerToVM/IsMatureTest failed with "Multiple times invoked method should have method data (assert failed: 0 != 0)"
Reviewed-by: kvn
2016-06-23 17:40:20 +03:00
Dmitrij Pochepko
3ad2ec4ed4 8159803: Jittester: FileAlreadyExists exception during tests generation
Reviewed-by: iignatyev
2016-06-23 17:39:49 +03:00
Dmitrij Pochepko
7aca8d6fe4 8158650: [jittester] when generating tests with default parameters, generation hangs after 98 test
Reviewed-by: kvn, iignatyev
2016-06-23 17:39:06 +03:00
Doug Simon
46fa7d986a 8159613: [Findbugs] various warnings reported for JVMCI sources
Reviewed-by: kvn, twisti
2016-06-23 05:13:55 +00:00
Tom Rodriguez
5cfae90755 Merge 2016-06-22 23:31:33 +00:00
Tom Rodriguez
d64a4e7df3 8158850: [JVMCI] be more precise when enforcing OopMapValue encoding limitations
Reviewed-by: kvn
2016-06-22 22:39:32 +00:00
Igor Ignatyev
3f21781299 Merge 2016-06-23 00:37:25 +02:00
Tom Rodriguez
1e3a876d37 8159856: [JVMCI] InterpreterFrameSizeTest.java failed compilation
Reviewed-by: kvn, iveresov
2016-06-22 21:13:52 +00:00
Leonid Mesnik
773a50bc6f 8158581: ciReplay can not be run w/ JFR enabled
Reviewed-by: iignatyev, kvn
2016-06-22 20:06:39 +03:00
Igor Ignatyev
23e0d96f6e 8132920: use package in compiler testlibraries
Reviewed-by: kvn, psandoz
2016-06-22 00:29:32 +03:00
Igor Ignatyev
300dc664ff 8160025: compiler/testlibrary/uncommontrap/Verifier doesn't close FileReader
Reviewed-by: kvn
2016-06-22 21:24:07 +03:00
Jesper Wilhelmsson
464bfe497d 8048093: Explicitly setting := vs = in the -XX:+PrintFlagsFinal output
Reviewed-by: kvn, gziemski
2016-06-21 19:35:39 +02:00
Dmitry Fazunenko
708c94be94 8151283: Implement setting jtreg @requires property vm.isG1Supported
Reviewed-by: tschatzl, iignatyev, mchernov
2016-06-21 18:37:04 +04:00
Erik Helin
3895ad9e00 8159370: Add FlagGuard for easier modification of flags for unit tests
Reviewed-by: kbarrett, jwilhelm
2016-06-21 15:02:45 +02:00
Coleen Phillimore
a52192d206 Merge 2016-06-20 17:38:14 +00:00
Coleen Phillimore
00314964d6 8159470: Error message for ICCE for MethodHandle constant pool not helpful
Reworded message and added test.

Reviewed-by: hseigel, gtriantafill, dholmes
2016-06-20 12:28:14 -04:00
George Triantafillou
2e16218e6d 8157592: StackTraceLogging fails with stack overflow on 32-bit Windows
Reviewed-by: coleenp, dholmes, jiangli
2016-06-20 07:45:03 -04:00
Paul Sandoz
152f87ef6c 8158039: VarHandle float/double field/array access should support CAS/set/add atomics
Reviewed-by: shade, vlivanov, darcy
2016-06-20 13:06:33 +02:00
Igor Ignatyev
063397934d 8159149: Several compiler tests fail with minimal VM
Reviewed-by: kvn, psandoz
2016-06-16 01:43:11 +03:00
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