754 Commits

Author SHA1 Message Date
Coleen Phillimore
7c8c0a97fc 8130072: Add a flag to print out statistics for both system dictionary and shared dictionary
Include Shared Dictionary printing when printing system dictionaries

Reviewed-by: shade, gtriantafill
2017-08-03 08:16:00 -04:00
Ioi Lam
f7f193ae71 8072061: Automatically determine optimal sizes for the CDS regions
See new C++ class MetaspaceClosure.

Reviewed-by: coleenp, jiangli, mseledtsov
2017-08-02 18:06:38 -07:00
Coleen Phillimore
17f23d1881 8184994: Add Dictionary size logging and jcmd
Added dcmd for printing system dictionary like the stringtable and symboltable and making print functions go to outputstream rather than tty

Reviewed-by: shade, hseigel
2017-08-02 10:52:50 -04:00
Coleen Phillimore
a1f70549e4 7133093: Improve system dictionary performance
Implement one dictionary per ClassLoaderData for faster lookup and removal during class unloading

Reviewed-by: iklam, acorn, jiangli
2017-07-28 10:48:35 -04:00
Coleen Phillimore
fd08aa9cef 8182397: Race in field updates when creating ArrayKlasses can lead to crash
Update array_klass field in component mirror after klass.java_mirror field for concurrent readers in compiled code

Reviewed-by: aph, kbarrett
2017-07-24 17:46:06 -04:00
Harold Seigel
911f59bc22 8179018: Remove obsoleted one X options from JDK 10
Remove the obsoleted options

Reviewed-by: zgu, coleenp, gtriantafill
2017-07-24 09:32:35 -04:00
Roman Kennke
98bd53b5c2 8180932: Parallelize safepoint cleanup
Provide infrastructure to do safepoint cleanup tasks using parallel worker threads

Reviewed-by: dholmes, rehn, dcubed, thartmann
2017-07-07 12:49:11 +02:00
Harold Seigel
38a5756236 8183962: JVM_DoPrivileged does not find run method in default methods
Add search of interfaces for run() method.

Reviewed-by: acorn, gtriantafill
2017-07-13 08:49:09 -04:00
Harold Seigel
9e3de501f8 Merge 2017-07-13 01:28:24 +00:00
Harold Seigel
30580af958 8184281: -Xlog:startuptime does not include call to initPhase2
Remove "+module" and improve message

Reviewed-by: alanb, gtriantafill
2017-07-12 21:24:07 -04:00
Harold Seigel
51949436b0 8183400: runtime/6981737/Test6981737.java fails with java.lang.RuntimeException: FAIL: Wrong value for java.version property, "9", expected to be of form: "[0-9]+[\\.[0-9]+]*\-.*"
Use Runtime Version API's instead of a regular expression and split() API.

Reviewed-by: psandoz, mseledtsov, gthornbr
2017-07-07 11:26:08 -04:00
Harold Seigel
00b2004598 8140284: Deprecate -XX:+UnsyncloadClass and -XX:+MustCallLoadClassInternal
Add the two options to the deprecate list.

Reviewed-by: acorn, gtriantafill
2017-07-12 08:07:58 -04:00
Vladimir Kozlov
62b03921aa Merge 2017-07-05 18:14:48 -07:00
Alan Bateman
ce9501e66a 8183503: Update hotspot tests to allow for unique test classes directory
Reviewed-by: iklam
2017-07-05 13:25:45 +01:00
Lana Steuck
3edb9c14f7 Merge 2017-06-24 00:24:40 +00:00
Alan Bateman
2f378477c4 8181087: Module system implementation refresh (6/2017)
Reviewed-by: sspitsyn, hseigel
2017-06-16 09:20:23 -07:00
Lana Steuck
7b47a378fa Merge 2017-05-19 04:18:25 +00:00
Lana Steuck
17961706b2 Merge 2017-05-11 20:23:29 +00:00
Igor Ignatyev
8e28d5772d 8180004: jdk.test.lib.DynamicVMOption should be moved to jdk.test.lib.management
Reviewed-by: mseledtsov, vlivanov
2017-05-11 14:13:59 -07:00
Igor Ignatyev
116ba945dc 8180037: move jdk.test.lib.InMemoryJavaCompiler to a separate package
Reviewed-by: mseledtsov, vlivanov
2017-05-11 14:03:50 -07:00
Magnus Ihse Bursie
7c75811e59 8179889: Fix typographic errors in copyright headers
Reviewed-by: erikj, dholmes
2017-05-09 12:53:37 +02:00
Alan Bateman
aefdcda532 8178380: Module system implementation refresh (5/2017)
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Reviewed-by: lfoltan, hseigel, mchung, sspitsyn
2017-05-04 07:26:28 +00:00
Lana Steuck
5ac911bb57 Merge 2017-04-22 00:21:28 +00:00
Lana Steuck
2293dc116c Merge 2017-04-13 20:35:45 +00:00
Roger Riggs
6f92b33cc9 8178347: Process and ProcessHandle getPid method name inconsistency
Reviewed-by: hseigel
2017-04-12 11:43:49 -04:00
Rachel Protacio
451b8b5d32 8176132: -XX:+PrintSharedSpaces should be converted to use Unified Logging
Converted -XX:+PrintSharedSpaces to -Xlog:cds=info

Reviewed-by: iklam, jiangli, mseledtsov
2017-06-05 13:13:38 -04:00
Coleen Phillimore
6659245612 8174749: Use hash table/oops for MemberName table
Add a Java type called ResolvedMethodName which is immutable and can be stored in a hashtable, that is weakly collected by gc

Reviewed-by: sspitsyn, stefank, jrose
2017-05-27 09:21:01 -04:00
George Triantafillou
85abe8f6e6 8179861: Missing copyrights in some hotspot files
Reviewed-by: coleenp, dholmes, sspitsyn
2017-05-26 09:48:46 -04:00
Mikhailo Seledtsov
8437db66f3 8180631: [TESTBUG] CDS tests should use CDSTestUtils.executeAndLog whenever spawning sub processes
Updated all relevant call sites to use executeAndLog()

Reviewed-by: iklam, ccheung
2017-05-23 20:14:52 -07:00
Jesper Wilhelmsson
d599f0d03a Merge 2017-05-23 17:51:35 +02:00
Goetz Lindenmaier
0ee4f3019d 8179953: [ppc] TLABWasteIncrement not loaded correctly
Also fix TestOptionWithRanges to show the bug.

Reviewed-by: dholmes, shade
2017-05-09 16:48:31 +02:00
Ekaterina Pavlova
cd0c6f3398 8180324: [JVMCI][TESTBUG] failed JVMCI junit test NativeCallTest.java
Reviewed-by: iignatyev, mseledtsov, kvn
2017-05-18 14:33:09 -07:00
Vladimir Kempik
84fde21dc7 8177522: -XX:OnOutOfMemoryError does not work if supplied twice on windows
Use cmd /c on windows to execute onError commands

Reviewed-by: dholmes, hseigel
2017-05-18 08:14:33 -04:00
Vladimir Kozlov
063286a618 Merge 2017-05-12 13:14:25 -07:00
Alan Bateman
a3ab143c64 8177530: Module system implementation refresh (4/2017)
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: lfoltan, sspitsyn
2017-04-07 08:04:46 +00:00
Lana Steuck
71d06e676b Merge 2017-04-06 04:50:34 +00:00
Lana Steuck
33f168f4ec Merge 2017-03-25 01:44:22 +00:00
Mikael Gerdin
cc1aaab7e9 8176100: [REDO][REDO] G1 Needs pre barrier on dereference of weak JNI handles
Reviewed-by: kbarrett, coleenp, tschatzl
2017-03-22 15:25:21 +01:00
Robbin Ehn
6b15d9a82b 8177092: [TESTBUG] JMX test on MinimalVM fails after fix for 8176533
Reviewed-by: dholmes, mlarsson
2017-03-21 16:36:12 +01:00
Lana Steuck
b636d90917 Merge 2017-03-13 19:59:41 +00:00
Harold Seigel
958af9b3c3 8176471: [TESTBUG] runtime/modules/IgnoreModulePropertiesTest.java fails with OpenJDK: java.lang.RuntimeException: 'java version ' missing from stdout/stderr
Check for strings such as " version " and "Runtime Environment" that appear in 'java -version' for both open and closed builds.

Reviewed-by: coleenp
2017-03-13 16:23:17 -04:00
Harold Seigel
3064b3e35d 8176147: JVM should throw CFE for duplicate Signature attributes
Add the needed checks to ClasFileParser for duplicate Signature attributes.

Reviewed-by: dholmes, gtriantafill
2017-03-08 09:04:21 -05:00
Harold Seigel
b7121021af 8175383: JVM should throw NCDFE if ACC_MODULE and CONSTANT_Module/Package are set
If bad constant is seen, save it to throw CFE if ACC_MODULE is not in access_flags

Reviewed-by: dholmes, acorn, lfoltan, gtriantafill
2017-03-06 09:45:58 -05:00
Jesper Wilhelmsson
ca341236ca 8176054: [BACKOUT][REDO] G1 Needs pre barrier on dereference of weak JNI handles
Reviewed-by: kbarrett, mgerdin
2017-03-02 17:46:59 +01:00
Lana Steuck
7a3d0a1349 Merge 2017-02-23 17:22:44 +00:00
Harold Seigel
90bde9549e 8174725: JVM should throw NoClassDefFoundError if ACC_MODULE is set in access_flags
Check if ACC_MODULE is set, and if so, throw NoClassDefFoundError exception

Reviewed-by: dholmes, alanb, acorn, coleenp, lfoltan, gtriantafill
2017-02-21 09:53:49 -05:00
Mikael Gerdin
90fdff0e70 8175085: [REDO] G1 Needs pre barrier on dereference of weak JNI handles
Reviewed-by: kbarrett, dcubed, tschatzl
2017-02-17 13:16:54 +01:00
Daniel D. Daugherty
168714c982 Merge 2017-02-16 10:46:43 -08:00
Daniel D. Daugherty
298e3a2dcc 8175086: [BACKOUT] fix for JDK-8166188
Reviewed-by: kbarrett, jwilhelm, dcubed
2017-02-16 10:41:19 -08:00
Volker Simonis
854b2dd10a 8174856: [TESTBUG] Missing DefineClass instances
Reviewed-by: dholmes, ddmitriev
2017-02-16 09:40:51 +01:00