Commit Graph

260 Commits

Author SHA1 Message Date
Rachel Protacio
3843553139 8165896: Use "open" flag from JVM_DefineModule to export all module packages
Implemented VM side of open modules, which export all their packages unqualifiedly. Automatic modules and unnamed modules are treated internally as open modules.

Reviewed-by: alanb, hseigel, lfoltan
2017-04-24 12:06:51 -04:00
Lana Steuck
4116ca2195 Merge 2017-04-22 00:21:19 +00:00
Jan Lahoda
e8d9a616be 8178012: Finish removal of -Xmodule:
Setting jtreg to use --patch-module instead of -Xmodule:, avoiding -Xmodule: in InMemoryJavaCompiler.

Reviewed-by: alanb
2017-04-19 13:37:34 +02:00
Mikhailo Seledtsov
654c500294 Merge 2017-04-18 23:52:57 +02:00
Mikhailo Seledtsov
a2df1d89a2 8177728: [TESTBUG] Improve CDS test utils
Improved and expanded CDS test utils; updated CDS tests to use new utils.

Reviewed-by: jiangli, ccheung
2017-04-18 14:18:37 -07:00
Jesper Wilhelmsson
0f73d626bf Merge 2017-04-18 20:31:23 +02:00
Kim Barrett
6ac2631be4 8169517: WhiteBox should provide concurrent GC phase control
Added WhiteBox API and G1 implementation.

Reviewed-by: shade, dfazunen
2017-04-13 16:39:23 -04:00
Igor Ignatyev
363e8e03cd 8164944: Refactor ProcessTools to get rid of dependency on java.management
Reviewed-by: kvn, gtriantafill, dfazunen, dholmes
2017-04-12 19:28:01 -07:00
Igor Ignatyev
47d5482383 8178695: jdk.test.lib.artifacts.ArtifactContainer has to be public
Reviewed-by: ctornqvi, gtriantafill
2017-04-12 18:46:34 -07:00
Igor Ignatyev
05d6891929 8178415: remove ProcessTools::getPlatformSpecificVMArgs from testlibary
Reviewed-by: dholmes
2017-04-11 21:59:23 -07:00
Igor Ignatyev
66c8241a1e 8178340: remove unneeded "throws" from ProcessTools::createJavaProcessBuilder
Reviewed-by: dholmes
2017-04-11 13:55:51 -07:00
Roger Riggs
a062fd2f75 8178347: Process and ProcessHandle getPid method name inconsistency
Reviewed-by: alanb, bpb
2017-04-11 14:20:00 -04:00
Coleen Phillimore
35e8bc3d30 Merge 2017-03-14 12:33:59 -04:00
Christian Tornqvist
a200f792bf 8175300: Enable artifact resolution for jtreg tests
Reviewed-by: ihse, gtriantafill
2017-03-10 12:56:41 -05:00
Magnus Ihse Bursie
b826ae7bde 8176084: Developer-friendly run-test facility
Reviewed-by: erikj
2017-03-03 12:57:57 +01:00
Harold Seigel
10d73cfb6e 8172307: Remove ununsed JVM API JVM_GetModuleByPackageName()
Remove get_module_by_package_name() etc., and unneeded test.

Reviewed-by: sspitsyn, gtriantafill
2017-03-01 08:00:02 -05:00
Bob Vandette
239267399c Merge 2017-02-24 12:31:56 -05:00
Jesper Wilhelmsson
4edb348b34 Merge 2017-02-18 03:23:28 +01:00
Erik Joelsson
4e9173198a 8174895: test/TestCommon.gmk: value of JTREG_TESTVM_MEMORY_OPTION is missing
Reviewed-by: dholmes, ihse
2017-02-16 09:04:49 +01:00
Bob Vandette
d98412386f 8174203: Enable AOT Jtreg tests on Windows x86_64
Reviewed-by: erikj, dholmes
2017-02-14 11:25:04 -05:00
Jesper Wilhelmsson
0886de86a4 Merge 2017-02-12 04:49:38 +01:00
Jamsheed Mohammed C M
1d2bf95b12 8173679: Disable ProfileTrap code and UseRTMLocking in emulated client Win32
Made emulatedVM related changes in cli verfiy*SameVM.

Reviewed-by: kvn
2017-02-03 19:26:48 -08:00
Jesper Wilhelmsson
3870d61663 Merge 2017-02-04 03:29:38 +01:00
Magnus Ihse Bursie
76d9bdcd0d 8172912: JTReg concurrency value must be limited
Reviewed-by: erikj
2017-02-03 14:32:38 +01:00
Jesper Wilhelmsson
ca84662142 Merge 2017-01-24 00:30:23 +01:00
Weijun Wang
b99aeee96a 8172975: SecurityTools.keytool() needs to accept user input
Reviewed-by: asmotrak
2017-01-21 08:38:52 +08:00
Andrey Nazarov
dd3c209701 8071566: Improve testing for multi-version JAR file maker tool
Reviewed-by: chegar
2017-01-18 20:36:15 +03:00
Jamsheed Mohammed C M
0ac0d9ac29 8166002: Emulate client build on platforms with reduced virtual address space
The default VM ergonomics on Windows/x86 (32-bit) are changed to client like.

Reviewed-by: kvn, iveresov
2017-01-17 21:39:22 -08:00
Staffan Larsen
a019f44ab1 8172842: Invoke lldb with --batch from failure handler
Reviewed-by: erikj, dsamersoff
2017-01-16 12:32:46 +01:00
Amanda Jiang
49fb7e0721 8171423: Relocate /test/lib/security/SecurityTools.java
Reviewed-by: weijun, xuelei
2017-01-12 17:15:26 -08:00
Boris Molodenkov
396af967d6 8170918: Remove shell script from test/compiler/c2/cr7200264/TestIntVect.java
Reviewed-by: kvn
2016-12-21 14:41:48 +03:00
Jesper Wilhelmsson
6e7a28b3a2 Merge 2016-12-20 23:47:16 +01:00
Jini George
6feb27b225 8159127: hprof heap dumps broken for lambda classdata
Added class dump records for lambda related anonymous classes in the heap dump

Reviewed-by: dsamersoff, sspitsyn
2016-12-20 13:33:57 +03:00
Staffan Larsen
afd296c799 8171366: macOS: Do not run failure handler commands that require Developer mode access
Reviewed-by: erikj, iignatyev
2016-12-19 10:47:26 +01:00
Vladimir Kozlov
2c220df590 8171008: Integrate AOT compiler into JDK
Reviewed-by: erikj, mchung, twisti, simonis
2016-12-11 18:50:18 -08:00
Jesper Wilhelmsson
f8dd00abb0 Merge 2016-12-08 16:18:03 +01:00
Magnus Ihse Bursie
3592cbe262 8170629: Remove code duplication in test makefiles
Reviewed-by: erikj, dholmes
2016-12-07 09:47:57 +01:00
Alan Bateman
4e1d511d05 Merge 2016-12-01 11:14:50 +00:00
Alan Bateman
18af38e927 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Reviewed-by: alanb, mchung
2016-12-01 08:56:28 +00:00
Igor Ignatyev
d63b1299f7 8170226: Implement setting jtreg @requires property vm.jvmci
Reviewed-by: kvn
2016-11-25 11:55:33 +03:00
Igor Ignatyev
1d62b59444 8170228: register closed @requires property setter
Reviewed-by: vlivanov, dfazunen
2016-11-23 12:25:21 +03:00
Magnus Ihse Bursie
7ae986d83e 8169860: Clean up and unify the refactored Javadoc generation
Reviewed-by: erikj
2016-11-18 15:50:43 +01:00
Jesper Wilhelmsson
05dd45891b Merge 2016-11-09 15:32:39 +01:00
Jesper Wilhelmsson
61440b5478 Merge 2016-11-09 15:32:39 +01:00
Erik Joelsson
29556bae75 8160491: tar.gz bundles missing files containing $
Reviewed-by: ihse
2016-11-07 14:15:49 +01:00
Goetz Lindenmaier
5ac345714f 8166837: [TESTBUG] Fix tests on Linux/s390x
Reviewed-by: kvn, simonis
2016-10-31 11:43:07 +01:00
Alejandro Murillo
52552a4272 Merge 2016-10-25 12:25:41 -07:00
Dmitry Samersoff
30545918f5 8165500: TestJpsJar shouldn't jar all test.classpath directories
Refactor test to better handle errors

Reviewed-by: sspitsyn
2016-10-25 14:49:48 +03:00
Staffan Larsen
6594e9ed40 8168414: Various timeouthandler fixes
Reviewed-by: mlarsson
2016-10-24 09:12:40 +02:00
Staffan Larsen
5320830885 8168412: Reduce buffering in jtreg timeouthandler
Reviewed-by: mlarsson
2016-10-21 15:40:47 +02:00
Staffan Larsen
3aa16decba 8168409: Update list of tools run by the jtreg timeouthandler
Reviewed-by: mlarsson
2016-10-21 15:29:34 +02:00
Alejandro Murillo
cef7022241 Merge 2016-10-20 17:05:26 -07:00
Alejandro Murillo
2f88a54979 Merge 2016-10-20 16:53:56 -07:00
Dmitrij Pochepko
0d6e939abf 8155219: [TESTBUG] Rewrite compiler/ciReplay/TestVM.sh in java
Reviewed-by: kvn
2016-10-20 16:53:35 +03:00
Stanislav Smirnov
5066e19a73 8163984: Fix license and copyright headers in jdk9 under test/lib
Reviewed-by: dholmes
2016-10-18 21:54:50 -04:00
Christian Tornqvist
05ab545758 8166738: Enable concurrency in Hotspot jtreg testing
Reviewed-by: gtriantafill, erikj, sspitsyn
2016-10-18 06:14:35 -04:00
Alejandro Murillo
640bddea5e Merge 2016-10-05 06:28:22 -07:00
Erik Joelsson
a350f3bda7 8150736: Excessive disk space used by build system
Reviewed-by: ihse
2016-10-05 10:49:21 +02:00
Dean Long
97347fcb2b Merge 2016-09-27 20:57:47 -04:00
Dean Long
d0c3ba3b72 Merge 2016-09-26 14:21:20 -04:00
Alejandro Murillo
eface3f87e Merge 2016-09-23 13:44:01 -07:00
Igor Ignatyev
abb5e00ccf 8166483: gtest fmw should be updated to support null detection on SS >= 12u4
Reviewed-by: dholmes, kzhaldyb
2016-09-22 15:40:35 +03:00
Alejandro Murillo
c32b87c320 Merge 2016-09-21 09:29:30 -07:00
Dean Long
c5f131cf62 Merge 2016-09-20 16:34:44 -04:00
Igor Ignatyev
e3124c170a 8166262: failurehandler should not use jtreg internal API
Reviewed-by: sla, dsamersoff
2016-09-20 16:56:04 +03:00
George Triantafillou
f1c915d9f0 8165889: Remove jdk.test.lib.unsafe.UnsafeHelper
Remove use of setAccessible() to get Unsafe.

Reviewed-by: shade, lfoltan
2016-09-14 08:24:55 -04:00
Goetz Lindenmaier
66dfee55f8 8165315: [ppc] Port "8133749: NMT detail stack trace cleanup"
Also add methods to check for slow/fastdebug to Platform.java.

Reviewed-by: simonis, cjplummer, dholmes
2016-09-02 15:04:47 +02:00
Alejandro Murillo
f8670dc8b3 Merge 2016-09-01 15:20:56 -07:00
Goetz Lindenmaier
7f3eef9f4d 8165235: [TESTBUG] RTM tests must check OS version
Reviewed-by: simonis, fzhinkin
2016-09-01 16:46:59 +02:00
Igor Veresov
2ea9e88218 Merge 2016-08-26 14:47:51 -07:00
Christian Tornqvist
8214dd5bfc 8164737: Remove Unsafe dependency from ProcessTools
Reviewed-by: gtriantafill, dholmes
2016-08-25 08:39:06 -04:00
Dmitrij Pochepko
0391d651ef 8164608: [TESTBUG] compiler/profiling tests fail to compile
Reviewed-by: ctornqvi
2016-08-23 19:30:35 +03:00
Christian Tornqvist
830cf57fbd 8157957: ClassNotFoundException: jdk.test.lib.JDKToolFinder
Reviewed-by: coleenp, gtriantafill, mseledtsov, iignatyev, dholmes, dsamersoff
2016-08-19 10:09:25 -04:00
Michail Chernov
af3260fbe8 8161604: TestNewSizeFlags fails with RuntimeException: max new size != MaxNewSize value
Reviewed-by: sangheki, tschatzl
2016-08-02 15:21:53 +03:00
Rickard Bäckman
dfd4975fb9 Merge 2016-07-29 09:23:00 +02:00
Michail Chernov
a4dd98020c 8161208: Unable to run jtreg tests with MinimalVM
Reviewed-by: dholmes, dfazunen
2016-07-21 16:07:41 +03:00
Igor Ignatyev
03fffa8949 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:18 +03:00
Dmitry Fazunenko
b66265312c 8151283: Implement setting jtreg @requires property vm.isG1Supported
Reviewed-by: tschatzl, iignatyev, mchernov
2016-06-21 18:36:37 +04:00
Michail Chernov
59e24cdba0 8158412: [TESTBUG] TestIHOPErgo and TestStressG1Humongous should not be executed when JFR is enabled
Reviewed-by: dfazunen, tschatzl
2016-06-17 18:45:24 +03:00
Leonid Mesnik
511a5e6cbf 8157831: JVMCI tests should not be executed on linux-arm32
Reviewed-by: dpochepk, dholmes
2016-06-17 13:05:53 +03:00
Jon Masamitsu
1536a179ac Merge 2016-06-10 15:03:10 -07:00
Jon Masamitsu
0818ea7b64 8026752: Cancel MetaspaceGC request for a CMS concurrent collection after GC
Reviewed-by: sjohanss, sangheki
2016-06-10 11:40:02 -07:00
Dmitry Fazunenko
f4fdc1991e 8154096: Extend WhiteBox API with methods which retrieve from VM information about available GC
Reviewed-by: kbarrett, iignatyev
2016-05-30 19:39:09 +04:00
Alejandro Murillo
b4f027037b Merge 2016-05-14 09:11:01 -07:00
Staffan Larsen
e6526de210 8156658: Common way to run jtreg tests
Reviewed-by: erikj, dsamersoff
2016-05-11 11:06:37 +02:00
Chris Hegarty
47ddb954bd 8074716: IntelliJ IDEA project support
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: rriggs
2016-05-10 13:34:30 +01:00
Igor Ignatyev
b349292b74 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-03 23:49:27 +03:00
Bharadwaj Yadavalli
386e74649e Merge 2016-04-21 15:03:58 -04:00
Kirill Zhaldybin
df65dd52de 8135200: Add White Box method that enumerates G1 old regions with less than specified liveness and collects statistics
Reviewed-by: tschatzl, dfazunen, iignatyev
2016-04-20 19:16:32 +03:00
Bharadwaj Yadavalli
30dee51476 Merge 2016-04-19 15:26:51 -04:00
Alejandro Murillo
926888d614 Merge 2016-04-14 19:55:39 -07:00
Daniel D. Daugherty
3b33fb5480 Merge 2016-04-14 14:57:13 -07:00
Erik Joelsson
0b57773edd 8149777: Enable enhanced failure handler for "make test"
Reviewed-by: ihse
2016-04-14 15:13:42 +02:00
Erik Joelsson
ec3913386e 8153969: Clean up module src dir logic
Reviewed-by: ihse
2016-04-13 18:11:29 +02:00
Bharadwaj Yadavalli
29afb1741f Merge 2016-04-12 14:17:30 -04:00
Alejandro Murillo
4e7243481c Merge 2016-04-11 14:21:24 -07:00
Jesper Wilhelmsson
925d56e6f9 Merge 2016-04-11 20:16:33 +02:00
Chris Hegarty
cd42ea0121 8153737: Unsupported Module
Reviewed-by: alanb, mchung, psandoz
2016-04-09 19:49:32 +01:00
Bharadwaj Yadavalli
fa4a3d6b8d Merge 2016-04-08 12:36:27 -04:00
Tobias Hartmann
1f9273ca3b 8153514: Whitebox API should allow compilation of <clinit>
Added Whitebox API method to trigger compilation of static initializer.

Reviewed-by: zmajo, kvn, iignatyev
2016-04-07 16:51:21 +02:00