Commit Graph

548 Commits

Author SHA1 Message Date
Jan Lahoda
0fcaa36105 8184739: Incorrect end position of PackageTree
Fixing end position of PackageTree.

Reviewed-by: jjg
2017-09-21 17:47:34 +02:00
Hannes Wallnöfer
9ddbf8fde2 8186646: Nashorn: "duplicate code" assertion when binding a vararg function that just passes arguments along
Reviewed-by: sundar, jlaskey
2017-09-21 14:40:50 +02:00
Weijun Wang
1e6e9203c4 8186884: Test native KDC, Java krb5 lib, and native krb5 lib in one test
Reviewed-by: asmotrak
2017-09-21 16:29:54 +08:00
Weijun Wang
fe19274488 8186831: Kerberos ignores PA-DATA with a non-null s2kparams
Reviewed-by: xuelei
2017-09-21 16:29:45 +08:00
Weijun Wang
2bb3b82709 8148371: Remove policytool
Reviewed-by: erikj, alanb, mullan
2017-09-21 16:29:18 +08:00
Xueming Shen
02b9452ed3 8186464: ZipFile cannot read some InfoZip ZIP64 zip files
Reviewed-by: martin
2017-09-20 16:41:54 -07:00
Roland Westrelin
844e594fec 8187822: C2 conditonal move optimization might create broken graph
Reviewed-by: kvn
2017-09-27 16:17:47 +02:00
Jesper Wilhelmsson
b708f0ddbd Merge 2017-10-04 21:02:13 +02:00
Coleen Phillimore
cc04ffc7b3 Merge 2017-10-03 21:21:35 +00:00
Coleen Phillimore
73a801bc43 8186777: Make Klass::_java_mirror an OopHandle
Add indirection for fetching mirror so that GC doesn't have to follow CLD::_klasses

Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Reviewed-by: hseigel, thartmann, eosterlund, stefank
2017-10-03 16:42:04 -04:00
Igor Ignatyev
8afe0e3b01 8188117: jdk/test/lib/FileInstaller doesn't work for directories
Reviewed-by: mseledtsov, sspitsyn
2017-09-20 20:53:22 -07:00
Erik Joelsson
c111277919 8187642: The consolidated repo test makefile disables CONCURRENCY setting to jtreg
Reviewed-by: darcy
2017-09-18 18:15:05 -07:00
Joe Darcy
a77b330635 8187636: Mark MetaCallback.java as failing intermittently
Reviewed-by: serb, prr
2017-09-18 13:33:29 -07:00
Igor Ignatyev
5b3ed372a9 Merge 2017-10-03 06:48:40 +02:00
Ioi Lam
5cfa508043 Merge 2017-10-03 03:30:11 +00:00
David Holmes
1590eaa3b8 8188246: Add test/hotspot/jtreg/gc/logging/TestPrintReferences.java to ProblemList.txt
Reviewed-by: dcubed
2017-10-02 21:58:22 -04:00
Ioi Lam
a2d1045eef 8187979: Clean up info printing at CDS dump time
Reviewed-by: jiangli, ccheung
2017-10-02 16:00:42 -07:00
David Holmes
fd93a04684 8185062: Set AssumeMP to true and deprecate the flag
Reviewed-by: shade, dcubed, kvn
2017-10-02 18:56:30 -04:00
Ekaterina Pavlova
853f26ed15 8185134: [Graal] Introduce vm.graal predicate and tag tests which are not applicable for Graal
Reviewed-by: kvn, dnsimon
2017-10-02 14:31:34 -07:00
Serguei Spitsyn
87a8a4301f Merge 2017-09-30 01:38:57 +00:00
Yasumasa Suenaga
12a11f2c65 8175816: SA: HSDB: Compute Liveness results in java.lang.IndexOutOfBoundsException
Reviewed-by: sspitsyn, jgeorge
2017-09-29 20:57:48 +09:00
Calvin Cheung
7a446900da 8187884: [TESTBUG] compiler/classUnloading/anonymousClass/TestAnonymousClassUnloading failed with ClassNotFoundException
Reviewed-by: kvn
2017-09-25 14:23:18 -07:00
Martin Doerr
d0dc2dd231 8185979: PPC64: Implement SHA2 intrinsic
Co-authored-by: Bruno Rosa <bruno.rosa@eldorado.org.br>
Co-authored-by: Gustavo Serra Scalet <gustavo.scalet@eldorado.org.br>
Co-authored-by: Igor Nunes <igor.nunes@eldorado.org.br>
Reviewed-by: mdoerr, goetz
2017-09-25 17:40:06 +02:00
Erik Joelsson
467119a352 8187445: Forest Consolidation: Make tests work
Reviewed-by: darcy, ihse
2017-09-12 19:03:59 +02:00
Erik Joelsson
72c4ec5462 8187444: Forest Consolidation: Make build work
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Reviewed-by: darcy, ihse
2017-09-12 19:03:56 +02:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00
Serguei Spitsyn
4073e46a77 Merge 2017-10-17 23:05:35 +00:00
Ioi Lam
a7a78668a0 Merge 2017-10-17 22:02:10 +00:00
Serguei Spitsyn
93a32c3900 Merge 2017-10-17 21:50:22 +00:00
Ioi Lam
a58615e3f8 8176827: Test can't find libXext.so
Removed references to classes that belong to desktop modules.

Reviewed-by: ccheung, dholmes
2017-10-17 14:06:36 -07:00
Igor Veresov
65ed45cd3d 8189409: [AOT] Fix paths in aot test scripts
Reviewed-by: kvn, gtriantafill
2017-10-17 13:52:52 -07:00
Jini George
e8fe842a41 8184042: several serviceability/sa tests timed out on MacOS X
Restore the ptrace attach argument to PT_ATTACH from PT_ATTACHEXC

Reviewed-by: dholmes, sspitsyn, dcubed, poonam, dsamersoff
2017-10-16 23:23:27 -07:00
Jesper Wilhelmsson
843dc3a8ea Merge 2017-10-16 17:03:56 +02:00
Srikanth Adayapalam
b9d8d3bd9c 8184989: Incorrect class file created when passing lambda in inner class constructor and outer is subclass
Reviewed-by: mcimadamore
2017-10-16 14:30:37 +05:30
Alan Bateman
e4bea042c5 8189264: (sl) ServiceLoader does not wrap Errors thrown by provider classes when running with a security manager
Reviewed-by: mchung
2017-10-14 09:51:25 +01:00
Doug Lea
cae8353ec8 8188575: Miscellaneous changes imported from jsr166 CVS 2017-10
Reviewed-by: martin, psandoz
2017-10-13 18:34:37 -07:00
Doug Lea
dc895e3911 8187941: Add StampedLock stamp inspection methods
Reviewed-by: martin, psandoz
2017-10-13 18:29:21 -07:00
Doug Lea
f8ae408aa9 8188047: Add SplittableRandom.nextBytes
Reviewed-by: martin, psandoz
2017-10-13 18:19:18 -07:00
Doug Lea
925bc58717 8188853: java/util/concurrent/ExecutorService/Invoke.java Assertion failure
Reviewed-by: martin, psandoz, dholmes
2017-10-13 18:12:54 -07:00
Doug Lea
10dded5f7f 8188900: ConcurrentLinkedDeque linearizability
Reviewed-by: martin, psandoz
2017-10-13 18:07:47 -07:00
Jesper Wilhelmsson
947fc09db0 Merge 2017-10-14 00:19:29 +02:00
Hannes Wallnöfer
61995f03d4 8027302: Identifiers containing unicode escapes are not recognized as reserved words
Reviewed-by: jlaskey, sundar
2017-10-13 17:25:12 +02:00
Alan Bateman
2abb1c7d7f 8186738: (sl) ServiceLoader::stream doesn't update cache
Reviewed-by: mchung
2017-10-13 14:17:10 +01:00
Tobias Hartmann
34622112b6 8189067: SuperWord optimization crashes with "assert(out == prev || prev == __null) failed: no branches off of store slice"
Only move the store if the LCA of all users is outside of the loop. Re-enable UseSubwordForMaxVector.

Reviewed-by: kvn, roland
2017-10-13 14:02:01 +02:00
Erik Joelsson
e4801e2fe1 8189095: Import JMC from artifactory using Jib and main makefiles
Reviewed-by: ihse
2017-10-13 13:42:10 +02:00
Claes Redestad
81b7f75837 8188869: jdk9/10 reject zip/jar files where seconds value of timestamp is out of supported range 0 - 59
Reviewed-by: sherman, alanb
2017-10-12 16:00:29 +02:00
Christian Tornqvist
269a6e79b5 8189115: Pass JIB_DATA_DIR to jtreg harness
Reviewed-by: erikj
2017-10-11 16:14:47 -04:00
Jonathan Gibbons
f386e419c3 8187521: In some corner cases the javadoc tool can reuse id attribute
Reviewed-by: bpatel, ksrini
2017-10-10 17:02:52 -07:00
Brian Burkhalter
b890c3ce83 8147615: (fc) FileChannelImpl has no finalizer
Add a cleaner to close parent-less FileChannels

Reviewed-by: alanb, rriggs
2017-10-10 09:55:14 -07:00
Maurizio Cimadamore
305e51848a 8169345: javac crash when local from enclosing context is captured multiple times
Captured variables imported from multiple enclosing scopes are not handled correctly

Reviewed-by: vromero
2017-10-09 13:03:18 +01:00
Frank Yuan
e92da5e381 8187700: SetAuthenticator tests should handle the proxy port
Reviewed-by: dfuchs
2017-10-09 17:37:15 +08:00
Jan Lahoda
a36938e082 8188225: AST could be improved in presence of var types
Adding a better start pos for vars; always adding a synthetic type tree to vars.

Reviewed-by: mcimadamore
2017-10-06 17:18:03 +02:00
Igor Ignatyev
9f006db9f8 8187020: AOT tests should not fail if devkit dependency isn't resolved
Reviewed-by: kvn
2017-09-01 15:28:54 -07:00
Sangheon Kim
c56b6c1c4f 8186465: Each j.l.Reference elapsed time log is incorrect
Fixed wrongly referencing variable and updated regression test to compare each elapsed time vs. sum of those

Reviewed-by: stefank, tschatzl
2017-09-28 12:13:57 -07:00
Harold Seigel
87e30fd801 8186092: Unnecessary loader constraints produced when there are multiple defaults
Do not check loader constraints for overpass methods

Reviewed-by: dholmes, acorn
2017-09-28 13:01:24 -04:00
Tobias Hartmann
e840fdf694 8187780: VM crashes while generating replay compilation file
Fixed two problems with generation of replay file.

Reviewed-by: kvn
2017-09-28 11:02:55 +02:00
Calvin Cheung
2a93b38ee9 8187124: [TESTBUG] TestInterpreterMethodEntries.java: Unable to create shared archive file
Added the current timestamp into the shared archive file name

Reviewed-by: mseledtsov, gtriantafill
2017-09-26 19:31:06 -07:00
Harold Seigel
2781cf9c38 8187436: -Xbootclasspath/a causes sanity check assertion with exploded build
Fixed asserts to work properly with exploded build

Reviewed-by: alanb, jiangli, gtriantafill
2017-09-26 08:58:04 -04:00
Kumar Srinivasan
3733761695 8157000: Do not generate javadoc for overridden method with no spec change
Reviewed-by: jjg
2017-10-19 20:27:47 -07:00
Phil Race
679360ec5a Merge 2017-10-19 10:54:40 -07:00
Jan Lahoda
d84d8f1cc5 8188035: JavaFileManager.listLocationsForModules does not always reflect values set through StandardJavaFileManager.setLocationForModule
Prepending explictely set module locations in listLocationsForModules.

Reviewed-by: jjg
2017-10-19 10:59:02 +02:00
Manajit Halder
a1d4869f84 8163265: [macosx] numpad 0 instead of VK_0
Reviewed-by: serb, azvegint
2017-10-19 13:52:37 +05:30
John Jiang
26aeea1790 8189603: ProblemList sun/security/pkcs11/KeyStore/SecretKeysBasic.sh on Linux platform
Put test sun/security/pkcs11/KeyStore/SecretKeysBasic.sh to ProblemList on Linux platform due to JDK-8186098

Reviewed-by: xuelei
2017-10-19 14:49:20 +08:00
Sergey Bylokhov
4ccdfd542e 8075255: Metal L&F has dependency on the Windows L&F
Reviewed-by: psadhukhan
2017-10-18 22:06:24 -07:00
Phil Race
8f0f21d997 Merge 2017-10-17 14:33:32 -07:00
Mandy Chung
9ebc72545b 8189202: (jdeps) Need jdeps output format easy for jlink --add-modules to use
Reviewed-by: sundar
2017-10-17 10:32:01 -07:00
Semyon Sadetsky
12cb440799 8180821: [macosx]com/apple/laf/ScreenMenu/ScreenMenuMemoryLeakTest.java: The menu item should have been GC-ed
Reviewed-by: prr, psadhukhan
2017-10-16 08:06:56 -07:00
Krishna Addepalli
a9808680a1 6714836: JRootPane.getMaximumSize() returns a width of 0
Reviewed-by: psadhukhan, serb
2017-10-12 10:40:45 +05:30
Phil Race
a9cb8eb350 8080084: java/awt/Graphics2D/DrawString/DrawStringCrash.java fails with G1 GC
Reviewed-by: ssadetsky, pnarayanan
2017-10-10 12:15:25 -07:00
Alexandre Iline
e83a741be2 8188824: sanity/client/SwingSet/src/ProgressBarDemoTest: Failed with NullPointerException
Reviewed-by: ssadetsky
2017-10-10 09:10:43 -07:00
Phil Race
82040f1fb3 Merge 2017-10-09 11:38:46 -07:00
Dmitry Markov
513abd0c08 8155197: Focus transition issue
Reviewed-by: serb, ssadetsky, aivanov
2017-10-07 15:58:45 +01:00
Alexandre Iline
c640ec68f7 8188779: Synchronize test/jdk/sanity/client/lib/jemmy with code-tools/jemmy/v2
Reviewed-by: serb, ssadetsky
2017-10-05 13:29:34 -07:00
Shashidhara Veerabhadraiah
0e982813e1 8004029: [macosx] The long Tab titles are not clipped with dots at the end
Reviewed-by: serb, psadhukhan
2017-10-04 15:10:08 +05:30
Phil Race
fd49cc9ce4 Merge 2017-09-28 11:27:56 -07:00
Phil Race
1c89e3aa56 Merge 2017-09-28 09:13:27 -07:00
Pankaj Bansal
b8ca97f45c 8154468: [TEST_BUG] java/awt/Window/MultiWindowApp/ChildAlwaysOnTopTest.java
Reviewed-by: serb, ssadetsky
2017-09-25 16:12:49 +05:30
Pankaj Bansal
6b7c509a0d 8081311: [TEST_BUG] java/awt/ComponentOrientation/WindowTest.java does use deprecated applyResourceBundle
Reviewed-by: serb, ssadetsky
2017-09-25 16:06:13 +05:30
Pankaj Bansal
94a925b4f3 6857809: [TEST_BUG] java/awt/Component/PrintAllXcheckJNI/PrintAllXcheckJNI.java fails in jdk7 b64 pit build
Co-authored-by: Dmitry Cherepanov <dcherepanov@azul.com>
Reviewed-by: serb, ssadetsky
2017-09-25 15:57:43 +05:30
Sergey Bylokhov
e5566ace66 8175968: The javax.swing.filechooser.FileSystemView constructor consumes memory by adding a PropertyChangeListener that is never removed
Reviewed-by: azvegint
2017-09-22 17:36:55 -07:00
George Triantafillou
d0ec3208a4 8149790: NegativeArraySizeException with hprof
Reviewed-by: lfoltan, ctornqvi, hseigel, dcubed
2017-08-16 14:49:18 -04:00
Christian Tornqvist
1fc9a5bca7 8184772: Make it possible to pass arguments only to the Java running the tests when running jtreg through make
Reviewed-by: gtriantafill, iignatyev
2017-08-15 16:26:30 -04:00
Jiangli Zhou
263d11de6d 8179302: Pre-resolve constant pool string entries and cache resolved_reference arrays in CDS archive
Shared class' constant pool resolved_references array is cached.

Co-authored-by: Thomas Schatzl <thomas.schatzl@oracle.com>
Reviewed-by: coleenp, iklam, tschatzl
2017-08-14 14:05:26 -04:00
Igor Ignatyev
f6b2ad32f7 8174202: jtreg AOT tests should not assume library extension of .so
Reviewed-by: kvn
2017-08-11 16:06:55 -07:00
Harold Seigel
abea66332b 8177741: Fix hotspot tests to use --patch-module instead of -Xmodule
Change InMemoryJavaCompiler.compile() to accept --patch-module instead of -Xmodule, and then change appropriate tests.

Reviewed-by: coleenp, gtriantafill
2017-08-10 11:11:52 -04:00
Stuart Marks
7d547d0ee4 8174109: Better queuing priorities
Reviewed-by: chegar, dfuchs, rriggs, alanb, robm, rhalade, jeff, ahgross
2017-08-02 10:34:35 -07:00
Goetz Lindenmaier
f399078a51 8185436: jtreg: introduce @requires property to disable cds tests
Reviewed-by: jiangli, mseledtsov, iklam
2017-08-01 16:03:06 +02:00
Ioi Lam
8cb80d6c43 8072061: Automatically determine optimal sizes for the CDS regions
See new C++ class MetaspaceClosure.

Reviewed-by: coleenp, jiangli, mseledtsov
2017-08-02 18:07:02 -07:00
Igor Ignatyev
d8e0821f0b Merge 2017-08-02 15:59:32 +00:00
Igor Ignatyev
ddbb88523f 8185536: @key aot should be replaced w/ @requires vm.aot
Reviewed-by: kvn, goetz
2017-08-02 08:52:14 -07:00
Vladimir Kozlov
9bef3e632b Merge 2017-08-01 13:03:20 -07:00
Andrey Nazarov
d362d3fe3a 8184961: jdk.test.lib.util.FileUtils.deleteFileWithRetry0 should wait for absence of a file
Reviewed-by: bpb
2017-07-25 17:04:46 -07:00
John Jiang
618b1dbbfb 8177017: com/oracle/security/ucrypto/TestAES.java fails intermittently
Skips CFB128 related cases on Solaris pre-11.3 versions.

Reviewed-by: valeriep
2017-07-17 23:11:46 -07:00
Valerie Peng
b3f1165f7d 8181048: Refactor existing providers to refer to the same constants for default values for key length
Reviewed-by: mullan, ahgross
2017-07-13 20:41:59 +00:00
Weijun Wang
7cf3c0ff14 8182879: Add warnings to keytool when using JKS and JCEKS
Reviewed-by: vinnie, ahgross, mullan
2017-07-12 10:55:40 +08:00
Volker Simonis
f5d31f8a92 8183534: [TEST] Make detection of compilation mode more robust
Reviewed-by: clanger, stuefe
2017-07-06 16:03:54 +02:00
Vladimir Kozlov
b3b17f73e2 Merge 2017-07-05 18:23:35 -07:00
Igor Ignatyev
d9cd3471bc 8182154: merge jdk.testlibrary.Platform and jdk.test.lib.Platform
Reviewed-by: sspitsyn, plevart
2017-06-27 08:43:15 -07:00
Jan Lahoda
7c3c83fb55 8181897: JDK 9 change to symlink handling affects SourceFile attributes
Using user provided path in toUri().

Reviewed-by: jjg
2017-06-26 17:00:45 +02:00
Hannes Wallnöfer
5c7381d739 8068513: Adding elements to a javascript 'object' (a map) is slow
Reviewed-by: jlaskey, sundar
2017-10-16 18:27:07 +02:00
Jan Lahoda
f66b1c7a8b 8186694: JShell: speed-up compilation by reusing compiler instances
Generalizing ReusableContext and using it in JShell to speed up processing.

Reviewed-by: mcimadamore, rfield
2017-09-01 14:04:20 +02:00
Lana Steuck
57b8a62f93 Merge 2017-06-23 23:18:26 +00:00
Alan Bateman
d45f906ec4 8181087: Module system implementation refresh (6/2017)
Reviewed-by: sspitsyn, hseigel
2017-06-16 09:20:15 -07:00
Ekaterina Pavlova
d222800a8b 8181820: jdk/test/lib/Platform should not depend on jdk/test/lib/Utils
Reviewed-by: alanb, chegar
2017-06-12 12:39:26 -07:00
Jesper Wilhelmsson
1edbd267cf Merge 2017-06-08 19:18:02 +02:00
Igor Ignatyev
d577ab1f77 8181335: remove packageless CompilerUtils
Reviewed-by: alanb
2017-06-06 19:53:35 -07:00
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
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