Commit Graph

164 Commits

Author SHA1 Message Date
Jini George
95a418feb0 8169232: SA: TestCpoolForInvokeDynamic.java fails with sun.jvm.hotspot.debugger.DebuggerException: binary search bug: should have found entry 1
Avoid potential data loss by avoiding the long-to-int cast of the return value of minus()

Reviewed-by: dsamersoff, sspitsyn
2016-11-23 12:08:37 +05:30
Michail Chernov
ba634d1749 8168396: Unexpected OOME in GcCauseTest02 and GcTest02
Reviewed-by: tschatzl, dfazunen
2016-11-22 16:13:13 +03:00
Jini George
81f1e7056b 8169638: serviceability/sa/TestInstanceKlassSize.java and serviceability/sa/TestInstanceKlassSizeForInterface.java fail compilation
Modified the jtreg tests to use @modules

Reviewed-by: dsamersoff, rehn
2016-11-17 15:54:48 +03:00
Jesper Wilhelmsson
d89285aebb 8169597: Quarantine TestCpoolForInvokeDynamic.java until JDK-8169232 is solved
Reviewed-by: egahlin, gtriantafill
2016-11-11 16:52:44 +01:00
Jini George
4e3c345d78 8164783: SA: jhsdb clhsdb 'printall' often throws "Corrupted constant pool" assertion failure
Do the special handling for invokedynamic bytecodes while printing out the bytecodes in a method

Reviewed-by: dsamersoff, sundar
2016-11-03 11:53:20 +05:30
Michail Chernov
f4949ad896 8168535: Quarantine GcCauseTest02 and GcTest02
Reviewed-by: jwilhelm, sjohanss
2016-10-31 18:18:05 +03:00
Staffan Larsen
1db73e7104 8168305: GC.class_stats should not require -XX:+UnlockDiagnosticVMOptions
Reviewed-by: rehn, mlarsson, iklam
2016-10-28 08:40:35 +02:00
Sharath Ballal
418c0fdb88 8160376: DebuggerException: Can't attach symbolicator to the process
Make SA link to JavaRuntimeSupport in MacOS X

Reviewed-by: dsamersoff, dcubed
2016-10-24 14:51:54 +03:00
Alexander Kulyakhtin
a7041a6dc7 8168479: Quarantine serviceability/jdwp/AllModulesCommandTest.java test
Quarantining a test

Reviewed-by: sla
2016-10-21 17:04:13 +03:00
Dmitry Fazunenko
af501f81ad Merge 2016-10-19 16:56:31 +00:00
Leonid Mesnik
4a49bb6284 8155570: serviceability/tmtools/jstat/GcTest02.java fails with parallel GC
Reviewed-by: jwilhelm
2016-10-19 10:10:51 +03:00
Alexander Kulyakhtin
dbcc466e7f 8166289: RuntimeException: canRead() reports false for reading from the same module: expected true, was false
A fix in the JDWP test along with some extra logging added

Reviewed-by: sspitsyn
2016-10-18 14:27:48 +03:00
Erik Helin
f2c1ba20ec 8167190: Remove confusing timestamps from the gc log
Reviewed-by: sjohanss, pliden
2016-10-05 16:00:10 +02:00
Stanislav Smirnov
c13329714b 8165687: Fix license and copyright headers in jd9 under hotspot/test
Legal notices and Oracle copyrights were updated (white and blank space, commas) in tests files for uniformity to meet Oracle requirements.

Co-authored-by: Vassili Igouchkine <vassili.igouchkine@oracle.com>
Reviewed-by: dholmes, iris
2016-10-17 18:54:12 -04:00
Jini George
fadcca5e9a 8166552: SA: Missed testcase for add default methods to InstanceKlass
Add default methods to InstanceKlass to enable SA to inspect default methods

Reviewed-by: dsamersoff, iklam
2016-09-22 15:42:40 +03:00
Dmitry Dmitriev
25c6510309 8150758: [TESTBUG] need jvmti tests for module aware agents
Reviewed-by: sspitsyn, dsamersoff
2016-09-21 16:46:13 +03:00
Alexander Kulyakhtin
4f55b6c7e0 8148103: add more tests for task "Update JDI and JDWP for modules"
A new JDWP test

Reviewed-by: sspitsyn
2016-08-30 12:48:03 +03:00
Jini George
8445923b1c 8164562: serviceability/sa/TestInstanceKlassSizeForInterface.java: fails with NPE
Addition of  –XX:+UnlockDiagnosticVMOptions for the test invocation for jcmd and modularization related cleanup

Reviewed-by: dholmes, mchung
2016-08-30 11:06:25 +03:00
Sharath Ballal
4aea7b3333 8163346: Update jmap-hashcode/Test8028623.java for better diagnostic of timeout
Update jmap-hashcode/Test8028623.java to use LingeredApp and rename it to jhsdb/HeapDumpTest.java

Reviewed-by: dsamersoff, dholmes
2016-08-26 13:11:20 +03:00
Christian Tornqvist
ad85e18f23 8157957: ClassNotFoundException: jdk.test.lib.JDKToolFinder
Reviewed-by: coleenp, gtriantafill, mseledtsov, iignatyev, dholmes, dsamersoff
2016-08-19 10:06:30 -04:00
Alejandro Murillo
dba428fb92 Merge 2016-08-12 14:12:55 -07:00
Alejandro Murillo
2d36c89f18 Merge 2016-08-12 13:58:14 -07:00
Daniel D. Daugherty
d05e00ca76 8163879: quarantine serviceability/sa/sadebugd/SADebugDTest.java since it hangs intermittently
Reviewed-by: hseigel
2016-08-11 12:27:20 -07:00
Harold Seigel
d7ea24479b 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: coleenp, lfoltan, mchung
2016-08-10 15:48:04 -07:00
Sharath Ballal
bd4e4b5bfb 8163269: Testcase missed in push for JDK-8160817
Add missed testcase

Reviewed-by: dsamersoff
2016-08-08 17:15:46 +03:00
Sharath Ballal
3baf6b1f72 8158050: Remove SA-JDI
Remove SA-JDI

Reviewed-by: alanb, dsamersoff
2016-08-01 10:51:22 +03:00
Rickard Bäckman
5ce5d9f4cc Merge 2016-07-29 09:23:05 +02:00
Alexander Kulyakhtin
1a81918931 8153978: New test to verify the modules info as returned by the JVMTI
A new JVMTI test

Reviewed-by: ctornqvi, sspitsyn
2016-07-22 16:55:55 +03:00
Jini George
73a516d68e 8145627: sun.jvm.hotspot.oops.InstanceKlass::getSize() returns the incorrect size and has no test
Fix the size and add a test

Reviewed-by: sspitsyn
2016-07-22 02:36:39 -07:00
Daniel D. Daugherty
c0e5b2646f 8161173: quarantine compiler/arraycopy/TestEliminatedArrayCopyDeopt.java
8161174: quarantine gc/stress/TestStressG1Humongous.java on 32-bit
8161175: quarantine serviceability/dcmd/compiler/CompilerQueueTest.java on 32-bit

Reviewed-by: sspitsyn, jmasa, gtriantafill
2016-07-18 14:20:30 -07:00
Richard Reingruber
aa7a85dcbf 8134434: JVM_DoPrivileged() fires assert(_exception_caught == false) failed: _exception_caught is out of phase
Explicitly set exception detected inside rethrow_C

Reviewed-by: goetz, sspitsyn
2016-07-13 10:51:19 +03:00
Dmitrij Pochepko
70dd85aca8 8158756: [Testbug] serviceability/dcmd/compiler/CompilerQueueTest.java fails with TieredStopAtLevel=1
Reviewed-by: thartmann
2016-07-20 19:31:34 +03:00
Serguei Spitsyn
2cede6dbc1 8159145: Add JVMTI function GetNamedModule
Introduce function GetNamedModule with a jtreg test coverage

Reviewed-by: alanb, ctornqvi, hseigel, jiangli, dholmes, dcubed
2016-07-09 19:20:38 -07:00
Daniel D. Daugherty
65ae838dbf 8160739: quarantine tests failing due to -XX:TieredStopAtLevel=1
8160743: quarantine tests that can't attach symbolicator to the process on MacOS X

Reviewed-by: sspitsyn, dholmes, kvn
2016-07-05 14:00:21 -07:00
Robbin Ehn
f5b4d9e51f 8149778: serviceability/tmtools/jstat/GcCapacityTest.java causes JVM to hang during GC
Reviewed-by: pliden, stefank
2016-06-15 09:43:42 +02:00
Robbin Ehn
9eeb285818 8072440: serviceability/dcmd/ tests timeout
Reviewed-by: sla, mlarsson
2016-06-13 10:10:35 +02:00
Aleksey Shipilev
2137769825 8075030: JvmtiEnv::GetObjectSize reports incorrect java.lang.Class instance size
Reviewed-by: coleenp, sspitsyn, sla
2016-06-06 22:34:57 +03:00
Gerard Ziemski
4543e25bd3 8155936: Boolean value should be set 1/0 or true/false via VM.set_flag jcmd
Add true/false as possible input values for boolean flags for jcmd.

Reviewed-by: gziemski, dsamersoff, coleenp
2016-06-03 13:26:43 -05:00
Robbin Ehn
2096e37c4e 8153723: Change the default logging output for errors and warnings from stderr to stdout
Reviewed-by: mlarsson, sla
2016-05-23 08:02:04 +02:00
Dmitry Samersoff
f4ffadd18b 8155091: Remove SA related functions from tmtools
Remove options that enables support for non-cooperative mode

Reviewed-by: alanb, mchung, sla
2016-05-09 23:41:41 +03:00
Yasumasa Suenaga
e41ab59d63 8153073: UL: Set filesize option with k/m/g
Reviewed-by: mlarsson, dholmes
2016-05-04 21:53:01 -04:00
Derek White
081466c0e7 8155754: Quarantine serviceability/tmtools/jstat/GcTest02.java
Add @ignore 8155570

Reviewed-by: kbarrett, stefank
2016-05-02 11:18:10 -04:00
Dmitry Samersoff
85deb5aa7e 8154258: [TESTBUG] Various serviceability tests fail compilation
Replace sun.misc.Unsafe with jdk.internal.misc.Unsafe

Reviewed-by: chegar, kvn
2016-05-01 12:47:00 +03:00
Harold Seigel
d30adc68f2 8151342: Add module name/version to class histogram output
Add additional column to histogram containing module@version

Reviewed-by: sundar, gtriantafill
2016-04-28 13:44:36 -04:00
Dmitry Dmitriev
b788b49698 Merge 2016-04-26 11:49:37 +00:00
Alexander Kulyakhtin
7cf6a15162 8153992: Some hotspot tests fail on compact2 due to an unnecessary test library dependency
Removing unnecessary dependency on java.management from the ProcessTool.getProcessId()

Reviewed-by: mchung
2016-04-26 13:22:32 +03:00
Michail Chernov
14a8adfd9f 8154843: GC tests should be correctly marked with @module
Reviewed-by: jwilhelm, dfazunen
2016-04-22 17:46:06 +03:00
Daniel D. Daugherty
f6e4fcc556 Merge 2016-04-14 17:42:29 -07:00
Alejandro Murillo
45b6e4a1ca Merge 2016-04-11 14:21:25 -07:00
Marcus Larsson
8b2f63bd2b 8146879: Add option for handling existing log files in UL
Reviewed-by: dsamersoff, gziemski, rehn
2016-04-11 12:22:09 +02:00