Commit Graph

164 Commits

Author SHA1 Message Date
Chris Hegarty
b7075c2db9 8153737: Unsupported Module
Reviewed-by: alanb, mchung, psandoz
2016-04-09 23:03:39 +01:00
Cheleswer Sahu
3a4f4362a6 8153319: new test serviceability/tmtools/jstack/JstackThreadTest.java fails
Reviewed-by: dsamersoff, lmesnik
2016-04-11 12:50:08 +00:00
Dmitry Samersoff
78a7d2c169 8152679: DeadlockDetectionTest.java fails due to expected output missing
Detect OS X and bailout

Reviewed-by: sspitsyn, tbell
2016-04-09 12:15:13 +03:00
Per Lidén
67ed025379 8152989: serviceability/tmtools/jstat/GcCauseTest02.java fails with OOME
Reviewed-by: dsamersoff, sjohanss, dfazunen
2016-04-08 08:51:45 +02:00
Jesper Wilhelmsson
3f00e1fcef 8153671: Quarantine serviceability/tmtools/jstack/JstackThreadTest.java until JDK-8153319 is fixed
Reviewed-by: jprovino, dcubed
2016-04-06 14:51:39 -07:00
Cheleswer Sahu
6f3cb076c4 8151442: jstack doesn't close quotation marks properly with threads' name greater than 1996 characters
Reviewed-by: dsamersoff, kevinw
2016-04-01 13:51:29 +05:30
Chris Hegarty
9978f9b065 Merge 2016-03-22 17:04:25 +00:00
Alan Bateman
f30fc1c88b 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: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Christian Tornqvist <christian.tornqvist@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: George Triantafillou <george.triantafillou@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Ioi Lam <ioi.lam@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: Jiangli Zhou <jiangli.zhou@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: acorn, ccheung, coleenp, ctornqvi, dholmes, dsimms, gtriantafill, iklam, jiangli, mgronlun, mseledtsov, cjplummer, sspitsyn, stefank, twisti, hseigel, lfoltan, alanb, mchung, dfazunen
2016-03-17 19:04:01 +00:00
Nils Eliasson
9e21021abb 8073793: serviceability/dcmd/compiler/CodelistTest.java fails with ClassNotFoundException trying to load VM anonymous class
Make test less fragile using whitebox API

Reviewed-by: kvn
2016-03-09 21:19:13 +01:00
Alejandro Murillo
2da4580684 Merge 2016-03-05 20:46:42 -08:00
Jesper Wilhelmsson
f6609ea3d2 Merge 2016-03-05 10:10:23 +01:00
Christian Tornqvist
30bbb5ee4b 8151156: [TESTBUG] Integrate trivial Hotspot test changes from Jake before Jigsaw M3
Reviewed-by: hseigel, gtriantafill
2016-03-03 12:44:34 -08:00
Andreas Eriksson
041e265d0d 8150986: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java failing because expects HPROF JAVA PROFILE 1.0.1 file format
Reviewed-by: dcubed, dsamersoff
2016-03-03 12:36:54 +01:00
Jesper Wilhelmsson
bf7f1925fd 8150647: Quarantine TestPLABResize.java until JDK-8150183 is fixed
8150562: Quarantine LoadAgentDcmdTest.java due to JDK-8150318

Reviewed-by: iklam, tschatzl
2016-02-25 17:26:49 +01:00
Dmitry Samersoff
9035e84805 8150318: serviceability/dcmd/jvmti/LoadAgentDcmdTest.java - Could not find JDK_DIR/lib/x86_64/libinstrument.so
Refactor test

Reviewed-by: jbachorik, sspitsyn
2016-03-02 17:08:26 +03:00
Yasumasa Suenaga
2cfe5a01c4 8147388: Add diagnostic commands to attach JVMTI agent
Reviewed-by: jbachorik, sspitsyn
2016-02-18 23:26:43 +09:00
Alexander Kulyakhtin
af854404be 8150067: Quarantine serviceability/tmtools/jstat/GcCapacityTest.java
Quarantine a falsely failing test until the test issue is fixed

Reviewed-by: sla
2016-02-18 14:56:53 +03:00
Tobias Hartmann
eca88d0a0c Merge 2016-02-29 09:02:13 +01:00
Nils Eliasson
d596cf06af 8069160: serviceability/dcmd/compiler/CompilerQueueTest.java fails due to class not found
Use whitebox to test specific cases making test less fragile

Reviewed-by: kvn
2016-02-25 10:44:51 +01:00
Alexander Kulyakhtin
990924fe41 8147847: [TESTBUG] serviceability/tmtools/jstat test ported to JTREG are failing with -XX:+ExplicitGCInvokesConcurrent
Fixed the test scenarios to eliminate false failures

Reviewed-by: jbachorik
2016-02-08 14:50:54 +03:00
Jesper Wilhelmsson
40c4fe8573 Merge 2016-02-03 01:35:25 +01:00
Tobias Hartmann
832443d3b0 Merge 2016-01-28 09:49:17 +01:00
Goetz Lindenmaier
4e99638d69 8147937: Adapt SAP copyrights to new company name
Reviewed-by: simonis, stuefe
2016-01-21 12:37:47 +01:00
Alexander Kulyakhtin
a58cdadbf2 8147848: [TESTBUG] tmtools tests ported to JTREG need to be quarantined
Quarantined some tests with false failures

Reviewed-by: sla
2016-01-21 14:17:49 +03:00
Alexander Kulyakhtin
f8b5f55021 8130063: Refactoring tmtools jstat and jstack tests to jtreg
Some of the jstat and jstack tests refactored to be run with the jtreg

Reviewed-by: jbachorik
2016-01-14 15:35:21 +03:00
Jaroslav Bachorik
8a4f6e9b21 8146620: CodelistTest.java fails with "Test failed on: jdk.internal.misc.Unsafe.getUnsafe()Ljdk/internal/misc/Unsafe;"
Reviewed-by: sla
2016-01-12 11:11:21 +01:00
Marcus Larsson
5e5def838e 8144220: UL does not support full path names for log files on windows
Reviewed-by: sla, mgronlun
2016-01-04 11:31:42 +01:00
Bengt Rutisson
ffeb0bdad0 8145092: Use Unified Logging for the GC logging
JEP-271. VM changes contributed by brutisso, test changes contributed by david.

Co-authored-by: David Lindholm <david.lindholm@oralce.com>
Reviewed-by: sjohanss, david, brutisso
2015-12-10 14:57:55 +01:00
Alexander Kulyakhtin
17b9e0a7aa 8147447: serviceability/tmtools/jstack/WaitNotifyThreadTest.java test fails
Corrected verification of the jstack object references

Reviewed-by: sla
2016-01-28 14:58:57 +03:00
Alexander Kulyakhtin
b0a724f03d 8147609: [TESTBUG] Correct the @build statements in the serviceability/dcmd/gc/HeapDumpAllTest.java and HeapDumpTest.java tests
Corrected the @build statements

Reviewed-by: jbachorik
2016-01-19 19:19:51 +03:00
Jaroslav Bachorik
b577a431bd 8141526: Allow to collect stdout/stderr from the FinalizationRunner even before the process returns
Reviewed-by: dsamersoff
2015-11-06 14:34:06 +01:00
Jesper Wilhelmsson
c7a51854d9 Merge 2015-11-30 19:38:51 +01:00
Marcus Larsson
f6b238ccda 8142952: Unified Logging framework does not allow multiple -Xlog: arguments
Reviewed-by: brutisso, sla
2015-11-27 12:37:38 +01:00
Nils Eliasson
0092880b1f 8141424: [Testbug] CompilerDirectivesDCMDTest.java testing flag that is missing in product builds
Test a flag that is in all builds instead

Reviewed-by: roland
2015-11-05 12:37:03 +01:00
Joseph Provino
539395ffbf Merge 2015-11-11 23:47:41 +00:00
Andreas Eriksson
96ec5c84ba 8134030: test/serviceability/dcmd/gc/HeapDumpTest fails to verify the dump
Reviewed-by: dholmes
2015-11-05 11:42:42 +01:00
Dean Long
206767c0a2 Merge 2015-10-27 01:45:01 -04:00
Nils Eliasson
5a5faf94bf 8137167: JEP165: Compiler Control: Implementation task
Compiler Control JEP

Reviewed-by: roland, twisti, zmajo, simonis
2015-10-20 18:07:28 +02:00
Jaroslav Bachorik
7b389d3533 8135188: RunFinalizationTest.java Exception java.lang.Error: Test failure: Object was not finalized
Reviewed-by: dcubed, martin
2015-10-15 17:35:42 +02:00
Rachel Protacio
8e010a0c32 8138574: [TESTBUG] TestBasicLogOutput.java doesn't account for padding
TestBasicLogOutput.java edited to account for padding in tag descriptors

Reviewed-by: ddmitriev, hseigel, coleenp
2015-10-01 15:14:15 -04:00
Dmitry Samersoff
bab9b94863 8086134: Deadlock detection fails to attach to core file
Test reimplemented for jtreg

Reviewed-by: jbachorik
2015-09-24 20:39:55 +03:00
Marcus Larsson
3c2211a492 8046148: JEP 158: Unified JVM Logging
Reviewed-by: coleenp, sla
2015-09-24 12:36:04 +02:00
Alexander Kulyakhtin
fb955a7eff 8134641: CodelistTest.java fails with sun.misc.Unsafe.getUnsafe
Excluding lines containing sun.misc.Unsafe.getUnsafe from the test input as getUnsafe is hidden from reflection

Reviewed-by: sla
2015-09-14 14:26:29 +03:00
Jaroslav Bachorik
abd5c879c5 8129976: RunFinalizationTest.java times out frequently
Reviewed-by: sspitsyn
2015-07-31 15:36:19 +02:00
Dmitry Samersoff
3b63ebf830 8059036: Implement Diagnostic Commands for heap and finalizerinfo
Implement Diagnostic Commands for heap and finalizerinfo

Reviewed-by: sla, plevart, mchung
2015-07-30 16:26:00 +03:00
Dmitry Samersoff
13be3a4374 8129971: TestStackTrace.java: ArrayIndexOutOfBoundsException thrown by AARCH64ThreadContext.setRegister
Added missed AARCH64 register

Reviewed-by: jbachorik, ykantser
2015-07-22 13:55:15 +03:00
Katja Kantserova
99e5ddaa45 8131325: Remove hprof agent tests in hotspot repo
Reviewed-by: dholmes
2015-07-14 16:28:53 +02:00
Katja Kantserova
055105c707 8130057: serviceability/sa/TestStackTrace.java should be quarantined
Reviewed-by: egahlin, jbachorik
2015-07-14 11:40:49 +02:00
Dmitry Samersoff
fdabdd5f40 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:35:21 +03:00
Katja Kantserova
811fa6e09f 8085813: The targeted processes in sun/tools tests should be launched with -XX:+UsePerfData flag in order to work on embedded platforms
Reviewed-by: sspitsyn
2015-06-08 12:54:05 +02:00
David Lindholm
5f5af54f95 8081382: Make flags ParallelGCThreads and ConcGCThreads of type uint
Reviewed-by: drwhite, stefank
2015-06-05 09:50:09 +02:00
Jesper Wilhelmsson
63abaa2c2b Merge 2015-06-04 14:19:51 +02:00
Yasumasa Suenaga
242ce54cc7 8072913: [REDO] GCCause should distinguish jcmd GC.run from System.gc()
GCCause which is caused by GC.run diagnostic command should be different from System.gc() .

Reviewed-by: jmasa, jwilhelm
2015-06-03 08:49:34 +09:00
Katja Kantserova
742b1ff410 8081037: serviceability/sa/ tests time out on Windows
Reviewed-by: jbachorik, sla, dsamersoff
2015-05-27 14:13:20 +02:00
Katja Kantserova
bd1a0cf8ec 8080855: Create sanity test for JDK-8080692
Reviewed-by: sla
2015-05-22 13:52:46 +02:00
Katja Kantserova
a6ffb28ff8 8080828: Create sanity test for JDK-8080155
Reviewed-by: sla
2015-05-22 08:47:27 +02:00
Alexander Kulyakthin
462f735dac 8067013: Rename the com.oracle.java.testlibary package
Reviewed-by: dholmes, gtriantafill, sla
2015-05-04 16:30:07 +02:00
Katja Kantserova
d3c1eacc93 8079120: serviceability/dcmd/gc/HeapDumpAllTest.java: compilation failed
Reviewed-by: sla
2015-05-01 09:40:08 +02:00
Katja Kantserova
fbc3e76d86 8059047: Extract parser/validator from jhat for use in tests
Reviewed-by: sla
2015-04-28 14:36:31 +02:00
Dmitry Samersoff
19d7e33b10 8044416: serviceability/sa/jmap-hashcode/Test8028623.java fails with AssertionFailure: can not get class data for java/lang/UNIXProcess$Platform$$Lambda
Lambda object is not counted when SA builds class data cache but is reached inside live region.

Reviewed-by: sla, jbachorik
2015-04-10 05:22:56 -07:00
Calvin Cheung
d4c484b0ba Merge 2015-04-03 13:45:33 -07:00
Coleen Phillimore
ca12a72730 Merge 2015-04-03 13:18:06 +00:00
Coleen Phillimore
dccc407b83 8076421: Fix Zero Interpreter bugs in class redefinition and template interpreter changes
Metadata_do walking interpreted frames was wrong and generate_Reference_get is not necessarily an accessor method.

Reviewed-by: sgehwolf, dholmes
2015-04-02 14:02:54 -04:00
Jaroslav Bachorik
b89433f7cd 8076344: serviceability/dcmd/vm/SetVMFlagTest.java test fails with "java.lang.Error: 'MaxHeapSize' flag is not available or immutable"
Reviewed-by: sla
2015-04-02 12:14:43 +02:00
Alexander Kulyakthin
01b9971365 8075586: Add @modules as needed to the open hotspot tests
Reviewed-by: sla, ctornqvi, lfoltan, mchung, alanb
2015-03-26 16:36:56 +01:00
Jaroslav Bachorik
a16c45029d 8054890: Serviceability: New diagnostic commands 'VM.set_flag' and 'JVMTI.data_dump'
Reviewed-by: sla, fparain, egahlin, ykantser
2015-03-23 11:46:15 +01:00
Katja Kantserova
e8495c6494 8075818: serviceability/threads/TestFalseDeadLock.java should be unquarantined
Reviewed-by: jbachorik, sspitsyn
2015-03-25 12:38:50 +01:00
Jaroslav Bachorik
af45a8044e 8024055: serviceability/attach/AttachWithStalePidFile.java createJavaPidFile() fails
Reviewed-by: sla, sspitsyn
2015-03-24 15:03:07 +01:00
Jesper Wilhelmsson
1426bc9dc1 8073883: serviceability/dcmd/gc/RunGCTest.java should not run with -XX:+ExplicitGCInvokesConcurrent
Don't run test with -XX:+ExplicitGCInvokesConcurrent

Reviewed-by: mgerdin
2015-02-26 21:00:03 +01:00
Chris Plummer
0b5dffb337 8054888: Runtime: Add Diagnostic Command that prints the class hierarchy
Added the VM.class_hierarhcy DCMD

Reviewed-by: stefank, miauno
2015-02-11 15:22:43 -08:00
Mikael Auno
5b89870233 8072472: serviceability/dcmd/framework/* should be quarantined
Reviewed-by: jbachorik
2015-02-04 16:09:49 +01:00
Mikael Auno
5ae2ec81e7 8072403: [TESTBUG] HeapDumpTest and HeapDumpAllTest fails to find jhat in non-JDK runs
Reviewed-by: jbachorik, sla
2015-02-03 12:49:13 +01:00
Mikael Auno
eb67830333 8072401: [TESTBUG] Some of the newly added DCMD tests fail due to lack of -XX:+UsePerfData
Reviewed-by: jbachorik, sla
2015-02-03 12:26:40 +01:00
Mikael Auno
2f12527848 8071908: Port internal Diagnostic Command tests and test framework to jtreg
Reviewed-by: jbachorik, egahlin, ykantser, mtobiass
2015-01-30 20:00:57 +01:00
Katja Kantserova
8563f899e6 8071784: serviceability/attach/AttachWithStalePidFile.java should be quarantined
Reviewed-by: sla, jbachorik
2015-01-30 09:32:23 +01:00
Serguei Spitsyn
8be0bb5458 8008678: JSR 292: constant pool reconstitution must support pseudo strings
Keep orig idx from pseudo-string to UTF8, use 2nd lsb CPSlot to mark pseudo-string.

Reviewed-by: coleenp, jrose
2015-01-29 03:11:01 -08:00
Zoltan Majo
3d814126c2 8069162: quarantine serviceability/dcmd/compiler/CompilerQueueTest.java
Added '@ignore 8069160' to the test.

Reviewed-by: anoll, kvn
2015-01-20 09:45:11 +01:00
Goetz Lindenmaier
1b1ac860df 8068013: [TESTBUG] Aix support in hotspot jtreg tests
Reviewed-by: ctornqvi, fzhinkin, farvidsson
2015-01-09 05:45:13 -08:00
Albert Noll
7613da167b Merge 2014-12-12 08:40:19 -08:00
Tobias Hartmann
bf022cf7dc 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:37:38 +01:00
Kevin Walls
5c410f0bb5 8061785: [TEST_BUG] serviceability/sa/jmap-hashcode/Test8028623.java has utf8 character corrupted by earlier merge
Reviewed-by: sla, dsamersoff
2014-12-04 12:43:45 +00:00
Kevin Walls
4169c68769 8039995: Test serviceability/sa/jmap-hashcode/Test8028623.java fails on some Linux/Mac machines
Reviewed-by: dsamersoff, allwin, sla
2014-12-03 20:40:00 +00:00
Jaroslav Bachorik
6c1cf6ba45 8065783: DCMD parser fails to recognize one character argument when it's positioned last
Reviewed-by: sla, egahlin, fparain
2014-11-28 16:33:57 +01:00
Staffan Larsen
bcb6a1586a Merge 2014-11-06 19:59:32 +00:00
Daniel D. Daugherty
2730e1ad50 Merge 2014-10-31 10:15:29 -07:00
Alex Schenkman
b301b207b3 8062135: serviceability/threads/TestFalseDeadLock.java should be quarantined
Reviewed-by: sla
2014-10-28 12:28:58 +01:00
Nils Eliasson
897d6c5c9b 8061250: serviceability/dcmd/compiler/CompilerQueueTest.java failed
Fixed logging to avoid parsing mistake and added test case.

Reviewed-by: kvn, twisti
2014-10-28 20:16:08 +01:00
Sergei Kovalev
8152a3ea35 8044186: Introduce a reproducible random generator
Reviewed-by: kvn, iveresov, iignatyev
2014-11-02 18:43:38 +03:00
Chris Plummer
d78d0c4fa4 8140189: [TESTBUG] Get rid of "@library /../../test/lib" in jtreg tests
Use new external.lib.roots property in TEST.ROOT so /../../test/lib is not needed.

Reviewed-by: mseledtsov, sla, iklam
2015-10-29 12:04:04 -07:00
Nils Eliasson
609974cfdd 8058891: serviceability/dcmd/CodelistTest.java - fails on all platforms
Fix can not reflect MethodHandles

Reviewed-by: kvn, drchase
2014-09-30 10:22:58 +02:00
Tobias Hartmann
ea755702aa 8059468: Fix PrintCodeCache output changed by JDK-8059137
Change output of PrintCodeCache to print "CodeCache" instead of "Code Cache" and change name of non-method code heap to non-nmethod code heap.

Reviewed-by: vlivanov, anoll
2014-09-30 15:44:43 +02:00
Tobias Hartmann
b9eae7f74f 8058712: [TESTBUG] serviceability/dcmd/CodeCacheTest.java fails with java.lang.Exception
The test is changed to check the output according to the number of available code segments.

Reviewed-by: kvn
2014-09-21 16:13:39 +02:00
Nils Eliasson
53bec16184 8058479: serviceability/dcmd/CodeCacheTest.java fails
Don't parse really large hex values into a long

Reviewed-by: kvn, anoll
2014-09-19 10:31:03 +02:00
Nils Eliasson
6062c2db15 8054889: Compiler team's implementation task
Adding three new diagnostic commands for compiler

Reviewed-by: anoll, kvn, drchase
2014-09-10 13:27:33 +02:00
Stefan Karlsson
2880629908 8054823: Add size_t as a valid VM flag type
Reviewed-by: kvn, vlivanov, sla
2014-08-11 14:03:06 +02:00
Andrey Zakharov
dd95f0a0c2 8011397: JTREG needs to copy additional WhiteBox class file to JTwork/scratch/sun/hotspot
Reviewed-by: kvn, iignatyev, mgerdin
2014-08-11 17:12:41 +04:00
Staffan Larsen
8dc26f1a17 8044107: Add Diagnostic Command to list all ClassLoaders
Reviewed-by: mgerdin, stefank
2014-06-04 11:05:30 +02:00
Mikael Auno
e563a70ab7 8044540: serviceability/sa/jmap-hashcode/Test8028623.java should be quarantined
Reviewed-by: sla
2014-06-02 17:21:15 +02:00
Katja Kantserova
d48bda2c52 8043915: Tests get ClassNotFoundException: com.oracle.java.testlibrary.StreamPumper
Reviewed-by: sla, allwin
2014-06-02 11:20:14 +02:00
Peter Allwin
09afb7b210 8027230: Overflow in java.lang.instrument.Instrumentation.getObjectSize() method
Reviewed-by: dholmes, sspitsyn
2014-05-22 09:12:29 +02:00