Commit Graph

89 Commits

Author SHA1 Message Date
Christian Tornqvist ebc77ca331 8077608: [TESTBUG] Enable Hotspot jtreg tests to run in agentvm mode
8180904: Hotspot tests running with -agentvm failing due to classpath

Add -cp System.getProperty("java.class.path") to ProcessBuilder arguments.

Reviewed-by: sla, gtriantafill
2019-03-11 15:50:26 +00:00
Zhengyu Gu d7a02834bf 8200109: NMT: diff_malloc_site assert(early->flags() == current->flags(), "Must be the same memory type")
Reviewed-by: shade, coleenp
2019-02-08 16:34:52 -05:00
Vaibhav Choudhary 5ed314dcf6 8189762: [TESTBUG] Create tests for JDK-8146115 container awareness and resource configuration
Created tests for the feature

Reviewed-by: mseledtsov
2018-07-26 06:16:09 -04:00
David Buck cd5b5caf20 8187045: [linux] Not all libraries in the VM are linked with -z,noexecstack
Reviewed-by: dholmes, erikj
2018-01-16 04:20:19 -05:00
Boris Molodenkov 67629ec0cc 8160119: Utils.tryFindJvmPid sometimes find incorrect pid
Fixed pattern

Reviewed-by: iignatyev, dholmes
2016-09-29 14:51:54 +03:00
Abhijit Saha 9b1e7e5831 Merge 2016-07-14 12:13:21 -07:00
Alexander Vorobyev 76a8fca5e0 8071909: Port testlibrary improvments in jdk/test to hotspot/test as required for DCMD test port
Reviewed-by: jbachorik, egahlin, ykantser, mtobiass
2016-07-06 17:06:08 +03:00
Ioi Lam 32fcff2ef8 8150752: Share Class Data
Reviewed-by: acorn, hseigel, mschoene
2016-03-24 21:38:15 -07:00
Leonid Mesnik 223c5868a7 8065579: WB method to start G1 concurrent mark cycle should be introduced
Add a WhiteBox callback to the VM to start a concurrent mark cycle in G1.

Reviewed-by: tschatzl, sjohanss
2015-12-02 13:58:34 +05:30
David Buck 4b08d212f9 8022865: [TESTBUG] Compressed Oops testing needs to be revised
Rewrote compressed oops tests

Reviewed-by: kvn, coleenp, mseledtsov
2015-12-08 14:23:56 +00:00
Christian Tornqvist 1a2988f96b 8044364: runtime/RedefineFinalizer test fails on windows
Rewrote the test in pure Java, added RedefineClassHelper utility class

Reviewed-by: coleenp, allwin, gtriantafill, dsamersoff
2014-06-02 19:08:18 +02:00
Thomas Schatzl fbde7ab834 8129604: Incorrect GPL header in README causes RE script to create wrong output
Fix up GPL headers by removing leading "#" so that the RE script works.

Reviewed-by: brutisso, coleenp
2015-06-25 09:04:28 +02:00
Thomas Schatzl 212ad4665e 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-25 10:12:25 +02:00
Andrew Haley 7d4e013627 8080600: AARCH64: testlibrary does not support AArch64
Partial backport of 8080600 to make AArch64 a known platform

Reviewed-by: dholmes, coleenp
2015-06-23 22:14:58 -04:00
Andrey Zakharov 5e87763e5c 8061715: gc/g1/TestShrinkAuxiliaryData15.java fails with java.lang.RuntimeException: heap decommit failed - after > before
Added WhiteBox methods to count regions and exact aux data sizes

Reviewed-by: jwilhelm, brutisso
2015-05-19 15:49:27 +02:00
Boris Molodenkov 89217ef90e 8068272: Extend WhiteBox API with methods that check monitor state and force safepoint
Reviewed-by: kvn, iignatyev
2015-04-30 11:47:53 -07:00
Boris Molodenkov 2e36b0263c 8058846: c.o.j.t.Platform::isX86 and isX64 may simultaneously return true
Reviewed-by: kvn
2015-04-30 11:45:20 -07:00
Thomas Schatzl 5a73324abd 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:53:51 +02:00
Yumin Qi cc689f5d7f 8053995: Add method to WhiteBox to get vm pagesize
Unsafe is not recommended and may deprecated in future. Added a WhiteBox API to get VM page size.

Reviewed-by: dholmes, ccheung, mseledtsov
2014-11-26 10:32:21 -08:00
Goetz Lindenmaier 4012f4f9b1 8068013: [TESTBUG] Aix support in hotspot jtreg tests
Reviewed-by: ctornqvi, fzhinkin, farvidsson
2015-01-21 12:38:11 +01:00
Kevin Walls 8ee59c6f69 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
Ioi Lam 584e3a7d2b 8064701: Some CDS optimizations should be disabled if bootclasspath is modified by JVMTI
Added API to track bootclasspath modification

Reviewed-by: jiangli, dholmes, minqi
2014-11-18 03:38:50 -08:00
Yumin Qi 8b5fa2a914 8062247: [TESTBUG] Allow WhiteBox test to access JVM offsets
Reviewed-by: coleenp, iklam, mseledtsov
2014-11-07 12:48:09 -08:00
George Triantafillou 2c48327a92 8061969: [TESTBUG] MallocSiteHashOverflow.java should be enabled for 32-bit platforms
Reviewed-by: ctornqvi, coleenp
2014-11-05 08:22:17 -08:00
Ioi Lam 0d48023f15 8061651: Interface to the Lookup Index Cache to improve URLClassPath search time
Implemented the interface in sun.misc.URLClassPath and corresponding JVM_XXX APIs

Reviewed-by: mchung, acorn, jiangli, dholmes
2014-10-13 16:09:57 -07:00
Coleen Phillimore 49d0e9011e 8059100: SIGSEGV VirtualMemoryTracker::remove_released_region
Disallow increasing native memory tracking level

Reviewed-by: hseigel, ctornqvi, gtriantafill
2014-10-10 19:36:12 +00:00
Erik Helin 09c4e4681d 8049599: MetaspaceGC::_capacity_until_GC can overflow
Reviewed-by: jmasa, stefank
2014-10-01 16:09:01 +02:00
Stefan Johansson e44b88a9a4 8057752: WhiteBox extension support for testing
Refactored parts of whitebox.cpp to enable registration of whitebox methods defined outside this file.

Reviewed-by: mikael, ctornqvi, jmasa
2014-09-08 15:24:10 +02:00
Ioi Lam c687ab9cee 8046070: Class Data Sharing clean up and refactoring
Cleaned up CDS to be more configurable, maintainable and extensible

Reviewed-by: dholmes, coleenp, acorn, mchung
2014-08-21 13:57:51 -07:00
Zhengyu Gu 8a74b0cf77 8054938: [TESTBUG] Wrong WhiteBox.java was pushed by JDK-8044140
Reserved WhiteBox.java pushed by JDK-8044140

Reviewed-by: ccheung, hseigel
2014-08-12 12:39:02 -07:00
George Triantafillou 6c3ee58b3f 8044140: Create NMT (Native Memory Tracking) tests for NMT2
Create new/modify existing tests for NMT2, which is an internal redesign to address scalability issues in the first implementation.

Reviewed-by: ctornqvi, zgu
2014-08-27 08:35:03 -04:00
Zhengyu Gu 7c742ab25c 8046598: Scalable Native memory tracking development
Enhance scalability of native memory tracking

Reviewed-by: coleenp, ctornqvi, gtriantafill
2014-08-27 08:19:12 -04:00
Leonid Mesnik 440bbeec3c 8055098: WB API should be extended to provide information about size and age of object
Extend the WhiteBox API to provide information about the size and age of objects. Further add a mechanism to trigger a young GC.

Reviewed-by: tschatzl, sjohanss
2014-08-21 16:44:41 +02:00
Stefan Karlsson f33e9c19aa 8049421: G1 Class Unloading after completing a concurrent mark cycle
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Reviewed-by: tschatzl, ehelin, brutisso, coleenp, roland, iveresov
2014-07-07 10:12:40 +02:00
Igor Ignatyev db3f4b4c6d 8038756: new WB API :: get/setVMFlag
Reviewed-by: vlivanov, sla
2014-05-30 17:20:48 +04:00
Dmitry Fazunenko c2efe115c9 8039489: Refactor test framework for dynamic VM options
Reviewed-by: jmasa, ehelin, jwilhelm
2014-05-20 18:25:14 +04:00
Katja Kantserova 47cb53e51b 8043915: Tests get ClassNotFoundException: com.oracle.java.testlibrary.StreamPumper
Reviewed-by: sla, allwin
2014-06-05 15:55:49 +02:00
Christian Tornqvist d0cd67ea06 8034781: [TESTBUG] runtime/ClassFileUnsupportedClassFileVersion.java unable to find or load main class
Passed empty string to ProcessBuilder which caused problems on Linux, fixed by checking string length

Reviewed-by: lfoltan, sla, mseledtsov
2014-02-12 20:40:02 +01:00
Christian Tornqvist 3a4a05df22 8016644: Improve UnsupportedClassVersionError message
Improved the UnsupportedClassVersionError message to hopefully be more user friendly

Reviewed-by: coleenp, dholmes, twisti
2014-02-10 17:49:17 +01:00
Filipp Zhinkin 597eb43478 8039499: Add all common classes used by tests on RTM support to testlibrary
Reviewed-by: kvn, iignatyev
2014-04-14 19:29:34 +04:00
Filipp Zhinkin 2697db768e 8039497: Testlibrary should be updated to provide information about all VM types as well as access to Unsafe
Reviewed-by: kvn, iignatyev
2014-04-11 00:34:56 +04:00
Nils Eliasson 711d611b02 8007270: Make IsMethodCompilable test work with tiered
Only c2 compiles counts toward cutoff

Reviewed-by: kvn, roland
2014-01-28 15:05:46 +01:00
Anton Ivanov b7aff66e43 8038953: Add sanity tests for BMI1 and LZCNT instructions
Reviewed-by: kvn, iignatyev
2014-04-11 00:34:51 +04:00
Igor Ignatyev 9907f32e87 8038240: new WB API to get nmethod
Reviewed-by: morris, kvn
2014-03-27 11:17:26 +04:00
Filipp Zhinkin fcb306930f 8038193: Add command line option tests for BMI options
Reviewed-by: iveresov, kvn, iignatyev
2014-03-27 17:29:41 +04:00
Filipp Zhinkin 57cfab1d43 8035857: Add tests to verify correctness of operations with BMI1 and LZCNT instructions
Reviewed-by: iveresov, kvn, iignatyev
2014-03-22 00:26:48 +04:00
Andrey Zakharov bbfffe4e31 8037510: CMM Testing: Min/MaxHeapFreeRatio flags should be manageable through the API
Added tests for Min/MaxHeapFreeRatio flags

Reviewed-by: jwilhelm, tschatzl
2014-03-20 16:31:47 +01:00
Staffan Larsen 46fc4d1507 8035150: ShouldNotReachHere() in ConstantPool::copy_entry_to
Reviewed-by: dcubed, mgronlun
2014-02-26 15:47:44 +01:00
Alkesey Timofeev 722d25b2dd 8027237: New tests on ReservedSpace/VirtualSpace classes
Three tests added: 1) test stressing VirtualSpace by resizing it constantly 2) test running unit tests in several threads 3) test checking protected area in ReservedHeapSpace class

Reviewed-by: stefank, zgu
2013-11-08 16:48:21 +01:00
Fredrik Arvidsson e731a6d078 8026808: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java failed with unexpected exit value
Fixes a bug with vmArgs when using JDKToolLauncher

Reviewed-by: sla, dholmes
2013-10-23 10:24:28 +02:00