George Triantafillou
f0f0950183
8152206: Simplify jvmstat modules
...
Reviewed-by: alanb, mchung, hseigel
2017-01-19 10:56:32 -05:00
Igor Ignatyev
9d99a698ef
8078450: Implement consistent process for quarantine of tests
...
Reviewed-by: dfazunen, dholmes, sspitsyn
2016-12-07 14:37:35 +03:00
Jiangli Zhou
f9911247af
8170297: runtime/SharedArchiveFile/LargeSharedSpace.java didn't run out of memory
...
Split the test cases. Add -XX:+UseCompressedClassPointers -XX:CompressedClassSpaceSize=3G for the 64-bit -XX:SharedMiscCodeSize=1600386047 test case.
Reviewed-by: ccheung, iklam, dholmes
2016-11-29 11:26:25 -05:00
Jiangli Zhou
1b1cffb128
8169870: CDS: "assert(partition_size <= size()) failed: partition failed" on 32 bit JVM
...
Exit the VM and report error if the second ReservedSpace() call also fails.
Reviewed-by: cjplummer, sspitsyn, iklam
2016-11-21 21:07:45 -05:00
Tobias Hartmann
94e3514d8f
8169711: CDS does not patch entry trampoline if intrinsic method is disabled
...
Always create interpreter method entries for intrinsified methods but replace them with vanilla entries if the intrinsic is disabled at runtime.
Reviewed-by: kvn, iklam
2016-11-21 08:27:10 +01:00
Jiangli Zhou
70abdc1e0e
8168790: CDS: assert(max_delta <= (0x7FFFFFFF)) failed: range check
...
Change the assert to check the current delta is less than 0x7FFFFFFF.
Reviewed-by: iklam, ddmitriev
2016-11-14 18:03:44 -05: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
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
Sharath Ballal
9de81c383a
8165537: runtime/SharedArchiveFile/SASymbolTableTest.java fails with NullPointerException
...
Modify SASymbolTableTest.java to attach to LingeredApp and also handle the case where SymbolTable is not created.
Reviewed-by: dsamersoff, mseledtsov, iklam
2016-09-28 11:58:56 +05:30
Jiangli Zhou
eb52950704
8078644: CDS needs to support JVMTI CFLH
...
Support posting CLFH for shared classes. Tests are contributed by Misha Seledtsov.
Reviewed-by: iklam, coleenp, acorn, dcubed, sspitsyn
2016-09-18 21:10:48 -04: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
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
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
Per Lidén
651e15fda6
8159890: SIGSEGV with UseStringDeduplication and UseSharedSpaces/RequireSharedSpaces
...
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: stefank, drwhite, tschatzl, jiangli, iklam
2016-06-28 10:37:52 +02:00
Dmitry Fazunenko
990315c8ce
8160088: update hotspot tests depending on GC to use @requires vm.gc.X
...
Reviewed-by: iignatyev, mchernov, dholmes
2016-06-24 19:52:31 +04:00
Leonid Mesnik
f35b70764b
8154209: Remove client VM from default JIB profile on windows-x86 and linux-x86
...
Reviewed-by: dholmes
2016-06-07 12:55:29 +03:00
Alejandro Murillo
7bd620bff1
Merge
2016-05-14 15:34:30 -07:00
Claes Redestad
d25ad32507
8150044: Generate classlists at build-time
...
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Reviewed-by: alanb, mchung, iklam
2016-05-07 00:43:37 +02:00
Max Ockner
da0fe9d476
8154110: Update class* and safepoint* logging subsystems
...
Refactored logging tags in class and safepoint subsystems.
Reviewed-by: coleenp, rehn, hseigel
2016-04-29 22:40:51 -04: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
Mikhailo Seledtsov
c791bde668
8153549: [TESTBUG] remove obsolete runtime/SharedArchiveFile/BasicJarBuilder
...
Removed the obsolete file, after ensuring no other jdk components depend on it
Reviewed-by: iklam, lfoltan, hseigel, gtriantafill, ctornqvi
2016-04-19 15:11:23 -07:00
Jiangli Zhou
2d65e6174c
8154457: runtime/SharedArchiveFile/SharedStrings Shared string table stats missing
...
Added more information when print out message reporting disabling the shared strings at CDS dump time.
Reviewed-by: lfoltan, hseigel, mseledtsov, gtriantafill
2016-04-20 16:04:38 -04:00
Ioi Lam
6526d15d6e
8150607: Clean up CompactHashtable
...
Refactored code, and added test cases for serviceability agent
Reviewed-by: jiangli, ccheung
2016-04-17 19:15:52 -07:00
Alejandro Murillo
45b6e4a1ca
Merge
2016-04-11 14:21:25 -07:00
Chris Hegarty
b7075c2db9
8153737: Unsupported Module
...
Reviewed-by: alanb, mchung, psandoz
2016-04-09 23:03:39 +01:00
Ioi Lam
3d629c6dd3
8153300: [TESTBUG] Enhance test/testlibrary/ClassFileInstaller.java to support JAR files
...
Reviewed-by: lfoltan, mseledtsov
2016-04-05 14:52:12 -07: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
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
Yumin Qi
fab3e53ec1
8145093: [TESTBUG] Remove test skip code for Solaris SPARC in runtime/SharedArchiveFile/SharedBaseAddress.java
...
The test failed(see bug 8044600) once on sparc platform which never reproduced thereafter, remove the skip.
Reviewed-by: hseigel, iklam, gtriantafill
2016-01-05 10:36:34 -08:00
Gerard Ziemski
97470c5146
8138983: Runtime: implement ranges for Shared*** flags
...
Implement ranges.
Reviewed-by: ddmitriev, dholmes, jiangli
2015-11-19 16:32:41 -06:00
Joseph Provino
539395ffbf
Merge
2015-11-11 23:47:41 +00:00
Tobias Hartmann
7af927f9c1
8141132: JEP 254: Compact Strings
...
Adopt a more space-efficient internal representation for strings.
Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Vivek Deshpande <vivek.r.deshpande@intel.com>
Co-authored-by: Charlie Hunt <charlie.hunt@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Xueming Shen <xueming.shen@oracle.com>
Co-authored-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Reviewed-by: alanb, bdelsart, coleenp, iklam, jiangli, jrose, kevinw, naoto, pliden, roland, smarks, twisti
2015-11-03 09:41:03 +01:00
Mikhailo Seledtsov
1078a41a0f
8133180: [TESTBUG] runtime/SharedArchiveFile/SharedStrings.java failed with WhiteBox.class : no such file or directory
...
Removed ambiguity on where JarBuilder looks for classes
Reviewed-by: jiangli, ctornqvi, gtriantafill
2015-09-03 08:57:16 -07:00
Jiangli Zhou
9ee2b211f9
8131734: assert(!is_null(v)) failed: narrow klass value can never be zero with -Xshared:auto
...
Handle shared string mapping failures.
Co-authored-by: Tom Benson <tom.benson@oracle.com>
Reviewed-by: tschatzl, kbarrett, ddmitriev, hseigel
2015-08-25 17:22:56 -04:00
Mikhailo Seledtsov
15b4d3eff9
8133222: [TESTBUG] Quarantine runtime/SharedArchiveFile/SharedStrings.java until the fix
...
Quarantined using at-ingore tag
Reviewed-by: dcubed
2015-08-07 17:14:26 -07:00
Mikhailo Seledtsov
824267a43a
8132214: [TESTBUG] Create basic shared strings test for CDS archive
...
Created new test
Reviewed-by: jiangli, ctornqvi
2015-07-31 10:33:02 -07: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
Calvin Cheung
d4c484b0ba
Merge
2015-04-03 13:45:33 -07:00
Christian Tornqvist
9f677f4e21
8075438: [TESTBUG] Hotspot JTREG tests should use unique CDS archive names
...
Reviewed-by: hseigel, gtriantafill
2015-03-30 08:28:07 -07: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
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
Calvin Cheung
9000f8c3c7
8067187: -XX:MaxMetaspaceSize=20m -Xshare:dump caused JVM to crash
...
Added check for the MaxMetaspaceSize. If it is less than the estimated required size, print an error and exit.
Reviewed-by: jiangli, mseledtsov, stefank
2015-01-12 11:37:58 -08:00
Jiangli Zhou
b0ad035af4
8059510
: Compact symbol table layout inside shared archive
...
Use separate compact table for shared symbols.
Reviewed-by: iklam, gziemski, shade, sla, jrose
2014-12-17 23:34:52 -05:00
Calvin Cheung
701b666284
8065050: vm crashes during CDS dump when very small SharedMiscDataSize is specified
...
Define minimum required sizes for the ro, rw, and md regions and make sure the specified sizes are not less than the minimum sizes
Reviewed-by: jiangli, dholmes, mseledtsov
2014-12-05 12:24:10 -08:00
Ioi Lam
ea256a978f
8066670: PrintSharedArchiveAndExit does not exit the VM when the archive is invalid
...
In FileMapInfo::fail_continue do not set UseSharedSpaces = false
Reviewed-by: dholmes, ccheung
2014-12-04 15:20:09 -08:00
Calvin Cheung
1aa3da1067
8038268: VM Crashes in MetaspaceShared::generate_vtable_methods while creating CDS archive with limiting SharedMiscCodeSize
...
Estimate the minimum required size for the misc code region and check if the specified misc code region size meets the minimum size requirement
Reviewed-by: jiangli, dholmes
2014-10-23 10:08:02 -07:00
Ivan Gerasimov
b5c0f09885
8057745: TEST_BUG: runtime/SharedArchiveFile/ArchiveDoesNotExist.java fails with openjdk build
...
Reviewed-by: dholmes, mseledtsov
2014-09-08 23:49:39 +04:00
Christian Tornqvist
71d23aa793
8053956: [TESTBUG] Remove @ignore tag from fixed runtime issues
...
Removed ignore tags from already fixed tests
Reviewed-by: gtriantafill, dcubed
2014-07-31 11:56:59 -07:00
Mikhailo Seledtsov
36d332413d
8038587: [TESTBUG] Create CDS tests to exercise region sizes and base address
...
Added new tests to cover missing CDS basic funtions
Reviewed-by: coleenp, ctornqvi
2014-06-02 21:36:59 -04:00
Mikhailo Seledtsov
6e58e65cf7
8041938: [TESTBUG] runtime/SharedArchiveFile/CdsWriteError.java failed in RT_Baseline with 'Unable to create shared archive file' missing from stdout/stderr
...
His test is unstable in automated testing system, team agreed to remove it
Reviewed-by: coleenp, gtriantafill
2014-05-14 10:38:40 -04:00