Commit Graph

16393 Commits

Author SHA1 Message Date
Rachel Protacio
c34ae22077 8176132: -XX:+PrintSharedSpaces should be converted to use Unified Logging
Converted -XX:+PrintSharedSpaces to -Xlog:cds=info

Reviewed-by: iklam, jiangli, mseledtsov
2017-06-05 13:14:04 -04:00
Sharath Ballal
5a215fce15 6760477: Update SA to include stack traces in the heap dump
Update SA to include HPROF_TRACE and HPROF_FRAME records in the heap dump

Reviewed-by: dsamersoff
2017-06-02 12:29:08 +05:30
Ekaterina Pavlova
ddaeb2dd0e 8181124: Get rid of compiler.testlibrary.rtm.predicate
Reviewed-by: kvn
2017-06-01 17:34:34 -07:00
Lana Steuck
c532946b18 Merge 2017-05-31 17:41:14 +00:00
Igor Ignatyev
1ccebabd11 8180805: move RandomFactory to the top level testlibrary
Reviewed-by: bpb, rriggs
2017-05-30 21:14:02 -07:00
Igor Ignatyev
88c4940eeb 8180888: move jdk.testlibrary.JarUtils to the top level testlibrary
Reviewed-by: weijun
2017-05-30 21:07:14 -07:00
Igor Ignatyev
6d94dde813 8180887: move FileUtils to top level testlibrary
Reviewed-by: psandoz
2017-05-30 14:56:43 -07:00
Jesper Wilhelmsson
28e7f4d892 Merge 2017-05-29 20:48:08 +02:00
Igor Ignatyev
88ef6ea270 8180399: move jdk.testlibrary.LockFreeLogManager to the top level test library
Reviewed-by: psandoz, mchung
2017-05-24 15:21:14 -07:00
Igor Ignatyev
662fb55c95 8180724: move ModuleInfoMaker to the top level testlibrary
Reviewed-by: psandoz, mchung
2017-05-24 14:16:20 -07:00
Igor Ignatyev
6823a2068e 8180802: move jdk.testlibrary.management.ThreadMXBeanTool to top level testlibrary
Reviewed-by: psandoz
2017-05-24 13:53:44 -07:00
Jesper Wilhelmsson
5e0f80c3a5 Merge 2017-05-23 15:30:44 +02:00
Igor Ignatyev
f6eceb7756 8180793: move jdk.test.lib.wrappers.* to jdk.test.lib package
Reviewed-by: mchung
2017-05-22 15:28:29 -07:00
Igor Ignatyev
834902117a 8180644: move jdk.testlibrary.NetworkConfiguration to the top level test library
Reviewed-by: psandoz
2017-05-19 13:33:17 -07:00
Lana Steuck
b14aeae266 Merge 2017-05-19 04:11:57 +00:00
Igor Ignatyev
3bb25bd637 8180391: move SerializationUtils to top level testlibrary
Reviewed-by: psandoz
2017-05-18 15:43:43 -07:00
Igor Ignatyev
ec43007637 8180395: move FilterClassLoader and ParentLastURLClassLoader to top level testlibrary
Reviewed-by: psandoz
2017-05-18 10:22:19 -07:00
Mikhailo Seledtsov
a84f29106b 8180393: [TESTBUG] CDSTestUtils property test.cds.copy.child.stdout should be true by default
Changed default value of test.cds.copy.child.stdout to true

Reviewed-by: hseigel, iklam, sspitsyn
2017-05-17 11:28:56 -07:00
Igor Ignatyev
c4d2b21964 8180195: remove jaxp testlibrary
Reviewed-by: fyuan, joehw
2017-05-16 09:04:54 -07:00
Vladimir Kozlov
e761c26f5e Merge 2017-05-12 17:47:14 -07:00
Dmitry Fazunenko
b36aed5938 Merge 2017-05-12 15:21:56 +00:00
Dmitry Fazunenko
dc04d5f6b2 8180183: Confusing javadoc comment to the getOutput(ProcessBuilder processBuilder) method of jdk.test.lib.process.ProcessTools
Reviewed-by: shade, iignatyev
2017-05-12 18:06:36 +03:00
Igor Ignatyev
b3e118a15e 8179930: jdk.test.lib.artifacts.ArtifactResolver::resolve should return Map instead of HashMap
Reviewed-by: mseledtsov, gtriantafill, vlivanov
2017-05-11 16:35:01 -07:00
Igor Ignatyev
ce8579b6c7 8180004: jdk.test.lib.DynamicVMOption should be moved to jdk.test.lib.management
Reviewed-by: mseledtsov, vlivanov
2017-05-11 13:58:54 -07:00
Igor Ignatyev
25e5108c99 8180037: move jdk.test.lib.InMemoryJavaCompiler to a separate package
Reviewed-by: mseledtsov, vlivanov
2017-05-11 13:58:05 -07:00
Lana Steuck
4af06cd4a1 Merge 2017-05-05 04:45:50 +00:00
Igor Ignatyev
428338949d 8179516: add Utils.COMPILE_JDK constant
Reviewed-by: dholmes, gtriantafill
2017-05-02 09:30:58 -07:00
Jesper Wilhelmsson
daf2c467cf Merge 2017-04-24 21:34:23 +02:00
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
Chris Dennis
58faa32cfe 8178117: Add public state constructors for Int/Long/DoubleSummaryStatistics
Reviewed-by: psandoz, bpb, briangoetz
2017-04-11 17:25:09 -04:00
Jan Lahoda
c6be2c363a 8187681: Compiling for target 9 while also using --patch-module
Removing limitation on simultaneous use of --release and --patch-module for system modules.

Reviewed-by: mcimadamore, jjg
2017-11-02 11:16:27 +01:00
Jan Lahoda
e44c7feff9 8189595: jshell tool: line redrawn on each completion
Reviewed-by: rfield
2017-11-02 10:09:34 +01:00
Felix Yang
2c28613ce4 8190505: Typo in test/jdk/ProblemList.txt
Reviewed-by: alanb
2017-11-02 04:36:53 -04: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
Vladimir Ivanov
fa8b858052 8174962: Better interface invocations
Reviewed-by: jrose, coleenp, ahgross, acorn, iignatyev
2017-05-26 18:39:27 +03: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
Dmitry Fazunenko
24a9e0ac18 8152432: Implement setting jtreg @requires properties vm.flavor, vm.bits, vm.compMode
Reviewed-by: iignatyev
2016-04-07 17:43:35 +04:00
Jamsheed Mohammed C M
3a64859282 8067247: Crash: assert(method_holder->data() == 0 ...) failed: a) MT-unsafe modification of inline cache
Made invoker LambdaForm instance & its compiled form lifetime tightly coupled.

Reviewed-by: vlivanov
2016-04-04 02:10:46 -07:00
Jesper Wilhelmsson
7cf564f979 Merge 2016-03-23 20:12:31 +01:00
Chris Hegarty
c56035afa6 Merge 2016-03-22 17:02:40 +00:00
Alan Bateman
cc661dd1c6 8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282

Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Christian Tornqvist <christian.tornqvist@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, tbell
2016-03-17 19:03:53 +00:00
Volker Simonis
ad1400a66d 8150646: Add support for blocking compiles though whitebox API
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Reviewed-by: kvn, ppunegov, simonis, neliasso
2016-03-03 16:20:13 +01:00
Nils Eliasson
be1f49a6fd 8148159: [TESTBUG] TestCompilerDirectivesCompatibility tests fails on non-tiered server VMs
Add whitebox for checking available compilers

Reviewed-by: kvn
2016-02-25 10:43:04 +01:00
Konstantin Shefov
516438f368 8141616: Add new methods to the java Whitebox API
Reviewed-by: kvn, dpochepk
2016-02-20 11:43:13 +03:00
Kirill Zhaldybin
6061ff3f28 8149780: GatherProcessInfoTimeoutHandler shouldn't call getWin32Pid if the lib isn't load
Reviewed-by: iignatyev, stsmirno
2016-02-16 15:36:22 +03:00
Kirill Zhaldybin
4b48aaa15e 8146287: typos in /test/failure_handler
Reviewed-by: iignatyev, stsmirno
2016-02-16 15:25:45 +03:00
Erik Helin
a5a9e43f5a 8149116: Make test/Makefile more silent
Reviewed-by: mikael, erikj
2016-02-08 08:05:12 +01:00
Tobias Hartmann
0cc6e0bd94 Merge 2016-01-28 09:49:17 +01:00
Filipp Zhinkin
2489b87d30 8066599: Add methods to check VM mode to c.o.j.t.Platform
Reviewed-by: iignatyev
2015-12-22 10:18:55 +03:00
Alejandro Murillo
c47e5914fa Merge 2016-01-12 11:31:47 -08:00
Andreas Lundblad
f8e1f9dc01 8144226: Sjavac's handling of include/exclude patterns is buggy, redundant and inconsistent
Updated include/exclude pattern arguments for sjavac.

Reviewed-by: erikj
2016-01-08 17:05:32 +01:00
Joseph Provino
46c02f0d3b Merge 2016-01-07 20:06:28 +00:00
Joseph Provino
ee2ed13c5d Merge 2016-01-01 17:08:22 +00:00
Christian Thalinger
750467efda Merge 2015-12-22 13:41:06 -08:00
Christian Thalinger
c325694db0 Merge 2015-12-18 09:07:19 -08:00
Kirill Zhaldybin
280ec689c6 8132723: Add tests which check that soft references to humongous objects should work correctly
8132724: Add tests which check that weak references to humongous objects should work correctly

Reviewed-by: jmasa, dfazunen
2015-12-17 16:20:09 +03:00
Alejandro Murillo
811bbd4935 Merge 2015-12-15 09:50:04 -08:00
Erik Helin
321b0aec83 8139272: Add configure variable to set concurrency for jtreg tests
Reviewed-by: erikj, ihse
2015-12-15 11:04:18 +01:00
Andreas Eriksson
ed2eaccb97 8129419: heapDumper.cpp: assert(length_in_bytes > 0) failed: nothing to copy
Reviewed-by: dsamersoff
2015-12-14 15:17:52 +01:00
Joseph Provino
a2f7f15886 Merge 2015-12-07 17:04:33 +00:00
Jaroslav Bachorik
e469a43b3e 8141526: Allow to collect stdout/stderr from the FinalizationRunner even before the process returns
Reviewed-by: dsamersoff
2015-12-03 12:00:37 +01:00
Nils Eliasson
3e1d204969 Merge 2015-12-01 19:18:30 +01:00
Vladimir Ivanov
9a7ac042da 8072008: Emit direct call instead of linkTo* for recursive indy/MH.invoke* calls
Reviewed-by: jrose, dlong, aph, forax
2015-11-30 13:39:15 +03:00
Igor Ignatyev
a59ce6689f 8132961: JEP 279: Improve Test-Failure Troubleshooting
Co-authored-by: Kirill Shirokov <kirill.shirokov@oracle.com>
Co-authored-by: Dmitry Fazunenko <dmitry.fazunenko@oracle.com>
Co-authored-by: Kirill Zhaldybin <kirill.zhaldybin@oracle.com>
Reviewed-by: lmesnik, sla
2015-11-24 21:32:46 +03:00
Alejandro Murillo
44b3e9e0fe Merge 2015-11-06 11:11:51 -08:00
Christian Thalinger
67b29d8e80 8139170: JVMCI refresh
Reviewed-by: kvn
2015-11-04 07:01:03 -10:00
Magnus Ihse Bursie
3b2f117567 8141333: Rename SetupArchive to SetupJarArchive
Reviewed-by: erikj, tbell
2015-11-03 17:54:42 +01:00
Alejandro Murillo
3c2ff3bab4 Merge 2015-10-30 12:03:08 -07:00
Erik Joelsson
039a5edf35 8140484: Vardeps broken when variable value contains '$'
Reviewed-by: tbell
2015-10-27 13:48:21 +01:00
Nils Eliasson
8668b40839 8137167: JEP165: Compiler Control: Implementation task
Compiler Control JEP

Reviewed-by: roland, twisti, zmajo, simonis
2015-10-20 18:07:24 +02:00
Dean Long
09553a9b68 Merge 2015-10-17 15:41:02 -04:00
Christian Thalinger
4308ec2ec8 8136421: JEP 243: Java-Level JVM Compiler Interface
Reviewed-by: ihse, alanb, roland, coleenp, iveresov, kvn, kbarrett
2015-10-08 11:31:14 -10:00
Jesper Wilhelmsson
71a6d3208e Merge 2015-10-07 00:46:44 +02:00
Alejandro Murillo
f7ea8ac7b8 Merge 2015-10-01 11:52:43 -07:00
Jesper Wilhelmsson
7c4e11070f Merge 2015-09-28 15:05:01 +02:00
Erik Joelsson
8b5e47f2c8 8136385: Various build speed improvements for windows
Reviewed-by: ihse
2015-09-28 11:39:13 +02:00
Igor Veresov
a520bf982e Merge 2015-09-25 12:04:34 -07:00
Dmitry Samersoff
b5c574a1ac 8086134: Deadlock detection fails to attach to core file
Test reimplemented for jtreg

Reviewed-by: jbachorik
2015-09-24 20:39:41 +03:00
Phil Race
209f1b7d18 Merge 2015-09-18 09:21:07 -07:00
Nils Eliasson
7c1b9aaf06 8135068: Extract method matchers from CompilerOracle
Ecapsulate code to enable reuse

Reviewed-by: roland, kvn
2015-09-18 10:09:38 +02:00
Magnus Ihse Bursie
7bb1b6ad7c 8136378: Build test libs using properly integrated makefile
Use 'make build-test-lib' in top repo instead

Reviewed-by: erikj
2015-09-16 09:49:36 +02:00
Alejandro Murillo
be00b5356a Merge 2015-09-15 11:47:50 -07:00
Erik Joelsson
8feb75af0b 8136383: Improve make utilities containing and not-containing
Reviewed-by: ihse
2015-09-15 18:00:21 +02:00
Michail Chernov
092ecab11f 8081317: [NEWTEST] documented GC ratio tuning and new size options should be covered by regression tests
Reviewed-by: iignatyev, dfazunen
2015-09-01 21:12:52 +03:00
Jim Laskey
9e1818b72e 8087181: Move native jimage code to its own library (maybe libjimage)
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Reviewed-by: alanb, lfoltan, hseigel, acorn
2015-09-04 10:11:20 -03:00
David Dehaven
ea44d8d880 8130929: Enable deployment tests in build system
Reviewed-by: erikj, tbell, dtitov
2015-08-12 13:10:16 -07:00
Zoltan Majo
b22c47c39c 8130832: Extend the WhiteBox API to provide information about the availability of compiler intrinsics
Add a new method, sun.hotspot.WhiteBox.isIntrinsicAvailable, that can be used to determine if an intrinsic is available.

Reviewed-by: kvn, jrose
2015-07-28 19:20:33 +02:00
Ioi Lam
325d83e689 8140802: Clean up and refactor of class loading code for CDS
Reviewed-by: jiangli, acorn
2015-07-22 20:14:16 -07:00
Katja Kantserova
c797c78253 8032763: Remove use of sun.misc.Ref from hprof parser in testlibrary
Reviewed-by: jbachorik, alanb
2015-07-09 12:56:38 +02:00
Jean-Francois Denise
b37540a72f Merge 2015-06-25 20:47:45 +00:00
Jean-Francois Denise
7d75d2a98a 8080511: Refresh of jimage support
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, psandoz, acorn, lfoltan, ctornqvi
2015-06-25 18:00:28 +02:00
Thomas Schatzl
0a609732d7 8129602: Incorrect GPL header causes RE script to create wrong output
Fix up GPL headers so that the RE script works.

Reviewed-by: stefank, dholmes, coleenp
2015-06-24 17:45:44 +02:00
Thomas Schatzl
4fe28ee318 8079208: gc/g1/TestLargePageUseForAuxMemory.java fails due to not considering page allocation granularity for setup
The test case needs to use the OS'es allocation granularity to properly determine the boundary values for the test.

Reviewed-by: dfazunen, jmasa, ecaspole
2015-06-24 09:41:11 +02:00
Dmitry Samersoff
c62e4b8ee3 8081576: serviceability/sa tests fail due to LingeredApp process fails to start
Provide a API to corrctly terminate LingeredApp

Reviewed-by: sspitsyn
2015-06-23 12:30:57 +03:00
Mikhailo Seledtsov
8993ac36f0 8098821: Crash in system dictionary initialization with shared strings
Map string regions after the compressed class base is known

Reviewed-by: iklam, dcubed, coleenp
2015-06-17 21:43:26 +00:00
Jiangli Zhou
2aebdad393 8015086: add interned strings to the shared archive
Support saving interned strings in shared CDS archive.

Reviewed-by: coleenp, iklam, pliden
2015-06-12 17:03:04 -04:00
David Lindholm
d4b084e6b0 8080947: Add uint as a valid VM flag type
Reviewed-by: brutisso, ddmitriev
2015-06-04 14:39:07 +02:00
Katja Kantserova
d16d3eca51 8081037: serviceability/sa/ tests time out on Windows
Reviewed-by: jbachorik, sla, dsamersoff
2015-05-28 16:31:47 +02:00
Harold Seigel
0e141a3611 Merge 2015-05-09 07:32:37 -04:00
Harold Seigel
c4bb314487 Merge 2015-05-08 13:23:28 -04:00
Katja Kantserova
7c3182fb56 8079200: Fix heapdump tests to validate heapdump after jhat is removed
Reviewed-by: sla
2015-05-07 16:11:04 +02:00
Erik Joelsson
0cd8ff5e10 8079344: Allow custom or platform specific java source to automatically override shared source
Reviewed-by: ihse
2015-05-06 11:15:27 +02:00
Katja Kantserova
cd5c5b1c01 8059047: Extract parser/validator from jhat for use in tests
Reviewed-by: sla
2015-04-29 15:08:15 +02:00
Vladimir Kozlov
c93d41705e Merge 2015-04-16 14:01:18 -07:00
Thomas Schatzl
80819a736a 8058354: SPECjvm2008-Derby -2.7% performance regression on Solaris-X64 starting with 9-b29
Allow use of large pages for auxiliary data structures in G1. Clean up existing interfaces.

Reviewed-by: jmasa, pliden, stefank
2015-04-07 10:41:24 +02:00
Kirill Zhaldybin
f921f125fb 8043225: Make whitebox API functions more stable
Added checks for null parameters where applicable

Reviewed-by: dholmes, iignatyev
2015-04-02 19:09:06 +03:00
Tobias Hartmann
db2fbf3152 8075214: SIGSEGV in nmethod sweeping
Changed implementation of forceNMethodSweep() to request sweep from existing sweeper thread.

Reviewed-by: kvn, mgerdin, dholmes
2015-03-30 07:53:19 +02:00
Jesper Wilhelmsson
21f2b5a934 Merge 2015-03-26 15:00:20 +01:00
Jesper Wilhelmsson
bde99a285a Merge 2015-03-16 18:13:33 +01:00
Andrey Zakharov
02c878c431 8061715: gc/g1/TestShrinkAuxiliaryData15.java fails with java.lang.RuntimeException: heap decommit failed - after > before
Test for auxiliary data in G1 fails as they cannot precisely measure this aux data size. I've added whitebox method to get this size.

Reviewed-by: tschatzl, jwilhelm, mgerdin
2015-03-16 17:49:35 +03:00
Daniel D. Daugherty
8e167a30dd Merge 2015-03-13 09:14:54 -07:00
Alejandro Murillo
e40d67ac75 Merge 2015-03-12 19:51:35 -07:00
Igor Ignatyev
8a235045ca 8074980: add WhiteBox API to get a flag value for a method
Reviewed-by: kvn, fzhinkin
2015-03-12 19:11:17 +03:00
Erik Joelsson
e755ea9a60 8074988: Reduce boilerplate in Setup* macro definitions
Reviewed-by: tbell, ihse
2015-03-12 12:13:23 +01:00
Chris Plummer
defff58acd 8069111: Investigate NMT detail tracking support for 32bit ARM
Fix native stack walking issues arm arm32. Disable on thumb2. Removed support for NMT without NMT detail.

Reviewed-by: dholmes, bdelsart
2015-03-10 19:56:18 -07:00
Tobias Hartmann
ccaded21d2 8072774: bigapps/Weblogic+medrec/nowarnings fails due to CodeHeap 'profiled nmethods' exhaustion
Store profiled code in the non-profiled code heap (and vice versa) if the code cache is really full.

Reviewed-by: kvn, iveresov
2015-02-23 08:48:19 +01:00
Erik Joelsson
d60c8e9ea6 8071651: infinite build loops in 9-dev windows platform on Jan 26
Reviewed-by: alanb, ihse
2015-01-28 14:04:05 +01:00
Erik Joelsson
995835697d 8069261: Create make dependencies on make variable values
Reviewed-by: ihse
2015-01-26 10:28:53 +01:00
Filipp Zhinkin
0cb9e3ec88 8068272: Extend WhiteBox API with methods that check monitor state and force safepoint
Reviewed-by: kvn, iignatyev
2014-12-30 11:05:01 +03:00
Igor Ignatyev
4480b4d8b4 Merge 2014-12-24 19:31:28 +03:00
Vladimir Kozlov
1bda5768f3 8067972: Bring changes made to WhiteBox.java in 8047290 to that file new location in the top repo
Reviewed-by: jcoomes
2014-12-22 11:19:30 -08:00
Vladimir Kozlov
d0fe2e1ed5 Merge 2014-12-22 10:39:37 -08:00
Igor Ignatyev
58f0841a56 8028595: WhiteBox API for stress testing of TieredCompilation
Reviewed-by: kvn
2014-12-17 12:21:28 +03:00
Tristan Yan
a78b9855a8 8065673: XML Test Colo: Add test build system for JAXP tests
Reviewed-by: alanb, joehw
2014-12-15 13:09:39 -08:00
Dmitrij Pochepko
f2e6ba9b09 8059613: JEP-JDK-8043304: Test task: JMX- tests
Reviewed-by: thartmann, twisti
2014-12-13 00:10:55 +03:00
Tobias Hartmann
38a4e8874b 8066433: Move Whitebox test library to top level repository
Moved Whitebox test library to top level repository.

Reviewed-by: iignatyev, sla, mr
2014-12-12 09:36:44 +01:00
Chris Hegarty
ebd8efe5ef 8054834: Modular Source Code
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Reviewed-by: alanb, chegar, ihse, mduigou
2014-08-17 15:51:37 +01:00
Mikael Vidstedt
158c7ec344 8050825: Support running regression tests using jtreg_tests+TESTDIRS from top level
Reviewed-by: dholmes, mduigou
2014-07-15 21:45:50 -07:00
Mikael Vidstedt
630cca2243 8042804: Support invoking Hotspot tests from top level
Reviewed-by: sla, erikj
2014-05-12 06:16:36 -07:00
Alan Bateman
e0fbec8e0b 8028478: Re-visit JPRT testsets to make it easier to run subsets of the tests
Reviewed-by: dholmes, sla, tbell
2013-11-19 14:11:59 +00:00
Mike Duigou
3c108d65ed 8023892: test/Makefile shouldn't try to tell langtools/test/Makefile where to put output
Reviewed-by: erikj, vromero, henryjen
2013-08-29 16:04:14 -07:00
Mike Duigou
f903091ee2 8023491: Remove target names from test/Makefile and defer to sub-repo makefiles
Reviewed-by: erikj
2013-08-26 10:09:15 -07:00
Mike Duigou
58d8702881 8006595: Use jdk/test/Makefile targets in preference to local definitions
Reviewed-by: alanb
2013-02-06 11:12:46 -08:00
Stephen Colebourne
4b926cfd51 8003680: JSR 310 Date/Time API
Integration of JSR310 Date/Time API for M6

Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Richard Warburton <richard.warburton@gmail.com>
Co-authored-by: Michael Nascimento <misterm@gmail.com>
Reviewed-by: alanb, naoto, dholmes
2013-01-22 21:02:06 -08:00
Alan Bateman
b807a9bf59 7173494: some jdk tests are not run in test/Makefile
Reviewed-by: chegar, mchung, mduigou, iris
2012-10-09 13:25:27 +01:00
Staffan Larsen
9b27913542 7175802: Missing jdk_jfr in top-level make file
Reviewed-by: alanb
2012-06-11 20:52:00 +02:00
Kelly O'Hair
c0323a859a 7119829: Adjust default jprt testing configuration
Reviewed-by: alanb
2011-12-12 08:11:05 -08:00
Kelly O'Hair
773a6d477e Merge 2011-04-12 18:35:57 -07:00
Kelly O'Hair
76cc3910b3 7033660: Update copyright year to 2011 on any files changed in 2011
Reviewed-by: dholmes
2011-04-06 22:14:00 -07:00
Kelly O'Hair
b115ff4fae 6737397: Should support running JCK test suite with test/Makefile and JPRT
Reviewed-by: alanb
2011-03-22 11:07:40 -07:00
Mandy Chung
ad7ce8329f 7013739: jdk_rmi target is missing in the top repo's test/Makefile
Reviewed-by: ohair, igor
2011-01-20 22:16:55 -08:00
Kelly O'Hair
0eca63f398 6960853: Cleanup makefiles, remove unused vars etc
6959596: Windows fastdebug build broken
6960335: Add top level 'make test' rule that uses test/Makefile, runs all test batches

Reviewed-by: alanb
2010-06-21 11:00:15 -07:00
Kelly O'Hair
136614e00b 6943119: Rebrand source copyright notices
Reviewed-by: darcy
2010-05-25 15:51:26 -07:00
Kelly O'Hair
235a0d94bd 6936788: Minor adjustment to top repo test/Makefile, missing non-zero exit case
Reviewed-by: jjg
2010-03-19 18:17:49 -07:00
Jonathan Gibbons
a4d7c77789 6934712: run langtools jtreg tests from top level test/Makefile
Reviewed-by: ohair
2010-03-12 15:22:50 -08:00
Kelly O'Hair
891aa6bb9f 6928700: Configure top repo for JPRT testing
Reviewed-by: alanb, jjg
2010-03-06 15:00:40 -08:00