Commit Graph

16418 Commits

Author SHA1 Message Date
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