Harold Seigel
5252655a4a
8179235: PackageEntryTables should be created eagerly
...
Create the PackageEntryTables in the constructor for ClassLoaderData.
Reviewed-by: dholmes, sspitsyn
2017-04-27 10:08:02 -04:00
Rachel Protacio
9947f147f6
8165896: Use "open" flag from JVM_DefineModule to export all module packages
...
Implemented VM side of open modules, which export all their packages unqualifiedly. Automatic modules and unnamed modules are treated internally as open modules.
Reviewed-by: alanb, hseigel, lfoltan
2017-04-24 12:08:28 -04:00
Harold Seigel
f9e13c6d3f
8178949: The split verifier allows anewarray to create an array of more than 255 dimensions
...
Add check to split verifier handling of anewarray opcode.
Reviewed-by: sspitsyn, gtriantafill, lfoltan
2017-04-24 08:47:38 -04:00
Jesper Wilhelmsson
d507b8945c
Merge
2017-04-18 22:25:33 +02:00
Rachel Protacio
ca72444bf9
8176472: Lazily create ModuleEntryTable
...
Moved the unnamed module out of the ModuleEntryTable and into the ClassLoaderData so that the MET can be lazily created only when other modules are present. Also a smaller PackageTable size.
Reviewed-by: gtriantafill, hseigel, lfoltan, coleenp
2017-04-18 13:19:42 -04: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
Coleen Phillimore
3784f04568
8178336: Unnecessary SystemDictionary walk for Protection domain liveness
...
Remove system dictionary walk and pass strong closure for !ClassUnloading
Reviewed-by: jiangli, iklam
2017-04-13 09:42:10 -04:00
Coleen Phillimore
c52443f75b
8026985: Rewrite SystemDictionary::classes_do and Dictionary::classes_do to use KlassClosure
...
Actually remove unused functions like classes_do and methods_do.
Reviewed-by: iveresov, sspitsyn, dholmes
2017-04-12 08:02:29 -04:00
Jesper Wilhelmsson
cc14920031
Merge
2017-04-06 22:58:55 +02:00
Jiangli Zhou
8600bcf095
8171042: The 'REQUIRED' type in sharedPathsMiscInfo.hpp is not used and should be removed
...
Remove unused REQUIRED type.
Reviewed-by: dholmes, iklam
2017-04-05 18:15:09 -04:00
Alan Bateman
fa73a9b912
Merge
2017-03-22 18:41:25 +00:00
Alan Bateman
73165d34e4
8174823: Module system implementation refresh (3/2017)
...
Reviewed-by: sspitsyn, dholmes, lfoltan, mchung
2017-03-22 16:26:09 +00:00
Claes Redestad
c40d2d5af7
8176593: Throwable::getStackTrace performance regression
...
Reviewed-by: jiangli, iklam, coleenp, sspitsyn
2017-03-15 13:03:13 +01: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
7217137797
Merge
2017-02-27 18:24:19 +01:00
Jesper Wilhelmsson
eb6669bff0
Merge
2017-02-24 19:48:33 +01:00
Jesper Wilhelmsson
99e20e2480
Merge
2017-02-24 12:01:33 +01:00
Erik Helin
4145e90718
8168914: Crash in ClassLoaderData/JNIHandleBlock::oops_do during concurrent marking
...
Reviewed-by: dholmes, tschatzl, coleenp, kbarrett, eosterlund, stefank
2017-02-23 18:57:10 +01: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
Kevin Walls
e477609f73
8162795: [REDO] MemberNameTable doesn't purge stale entries
...
Re-application of the change in JDK-8152271.
Reviewed-by: coleenp, sspitsyn
2017-02-21 02:27:01 -08:00
Volker Simonis
236b9ba942
8173743: Failures during class definition can lead to memory leaks in metaspace
...
Reviewed-by: dholmes, coleenp, acorn, ddmitriev
2017-02-10 17:22:17 +01:00
Jesper Wilhelmsson
9f4f582c70
Merge
2017-02-09 23:15:52 +01:00
Jesper Wilhelmsson
3560e1733c
Merge
2017-02-04 03:29:40 +01:00
Mandy Chung
3c835ae983
8173608: Separate JDK management agent from java.management module
...
Reviewed-by: dfuchs, dholmes, erikj
2017-01-31 20:06:42 -08:00
Brent Christian
c38ccc4fb0
8156073: 2-slot LiveStackFrame locals (long and double) are incorrect
...
Reviewed-by: coleenp, mchung
2017-01-31 11:50:42 -08:00
Calvin Cheung
3520dcfe62
8173163: searching for a versioned entry in a multi-release jar in hotspot is inconsistent with java code
...
Use the highest versioned entry if the specified version is higher than the current jdk version
Reviewed-by: iklam, sspitsyn, jiangli
2017-01-26 10:17:06 -08:00
Jesper Wilhelmsson
9d799dc14f
Merge
2017-01-24 00:30:28 +01:00
Harold Seigel
c199f4eac2
8171971: Fix timing bug in JVM management of package export lists
...
Reduce the number of fields that maintain export state and use Module_lock to access these fields
Reviewed-by: acorn, sspitsyn, lfoltan
2017-01-20 16:09:56 -05:00
Claes Redestad
984dc33474
8171855: Move package name transformations during module bootstrap into native code
...
Reviewed-by: alanb, acorn, lfoltan, mchung, plevart, hseigel, sspitsyn
2017-01-19 11:49:30 +01:00
Harold Seigel
c95329970d
8172288: Fix Jigsaw related module/package error messages and throw correct exceptions
...
Reword error messages and throw IllegalStateExceptions where appropriate
Reviewed-by: alanb, acorn, lfoltan, gtriantafill
2017-01-13 07:19:03 -05:00
Claes Redestad
450472a24a
8172169: Re-examine String field optionality
...
Reviewed-by: kvn, thartmann
2017-01-03 21:36:05 +01:00
Ioi Lam
37f332b8ee
8171809: Remove unused CDS code from JDK 9
...
Reviewed-by: jiangli, ccheung, mseledtsov
2016-12-15 19:26:41 -08:00
Jesper Wilhelmsson
3bfd349b45
Merge
2016-12-20 22:53:45 +01:00
Jesper Wilhelmsson
a6fc4ec215
Merge
2016-12-18 15:37:50 +01:00
Alan Bateman
6b87f1990b
Merge
2016-12-16 08:18:00 +00:00
Harold Seigel
94c51468b8
8170987: Module system implementation refresh (12/2016)
...
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Reviewed-by: lfoltan, coleenp, mchung
2016-12-16 05:46:52 +00:00
Bharadwaj Yadavalli
2841c5eb2b
8171008: Integrate AOT compiler into JDK
...
Co-authored-by: Christian Thalinger <cthalinger@twitter.com>
Co-authored-by: Dean Long <dean.long@oracle.com>
Co-authored-by: Dmitrij Pochepko <dmitrij.pochepko@oracle.com>
Co-authored-by: Dmitry Chuyko <dmitry.chuyko@oracle.com>
Co-authored-by: Doug Simon <doug.simon@oracle.com>
Co-authored-by: Eric Caspole <eric.caspole@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Igor Veresov <igor.veresov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Morris Meyer <morris.meyer@oracle.com>
Co-authored-by: Niclas Adlertz <niclas.adlertz@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Reviewed-by: erikj, mchung, psandoz, coleenp, iklam, stefank, simonis
2016-12-11 19:07:04 -08:00
Jesper Wilhelmsson
65ae405a5b
Merge
2016-12-08 17:03:45 +01:00
Jesper Wilhelmsson
f09c55c0d8
Merge
2016-12-08 15:49:29 +01:00
Brent Christian
95b2647798
8169389: Use a bitmap to control StackTraceElement::toString format and save footprint
...
Reviewed-by: dfuchs, mchung
2016-12-13 12:36:13 -08:00
Jesper Wilhelmsson
5597cd6698
Merge
2016-12-08 15:49:29 +01:00
Markus Grönlund
6a685f1d63
8170672: Event-based tracing to support classloader instances
...
Reviewed-by: hseigel, egahlin
2016-12-06 22:49:17 +01:00
Jiangli Zhou
bae7bbd382
8168797: do not load any archived classes from a patched module
...
Add new runtime shared class visibility check to ensure shared classes from patched module are not loaded at runtime.
Reviewed-by: acorn, ccheung, hseigel, iklam, lfoltan
2016-12-19 13:54:33 -05:00
Serguei Spitsyn
a70c184075
8139566: need proper sync for adding default read edges
...
Use has_default_read_edges() in the ModuleEntry::can_read to fix race issue
Reviewed-by: hseigel, lfoltan
2016-12-18 19:21:18 -08:00
Rachel Protacio
9c6128c943
8169734: Update uses of string "java.base" to macro
...
Replaced instances of "java.base" string with JAVA_BASE_NAME macro
Reviewed-by: sspitsyn, dcubed
2016-12-05 16:08:20 -05:00
Rachel Protacio
83ff43e737
8168850: Mark module entries that have been specified by --patch-module
...
Adds a boolean to ModuleEntry to specify whether the module has been patched using the command line --patch-module
Reviewed-by: jiangli, lfoltan, dholmes
2016-12-05 11:45:20 -05:00
Alan Bateman
988690303a
8169069: Module system implementation refresh (11/2016)
...
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: George Triantafillou <george.triantafillou@oracle.com>
Reviewed-by: lfoltan, acorn, ctornqvi, mchung
2016-12-01 08:56:41 +00:00
David Buck
caf8bb3f8b
8170431: non-ASCII characters in source code comments (jimage.hpp)
...
Reviewed-by: dholmes
2016-11-29 06:20:56 +00:00
Jesper Wilhelmsson
106e220ae2
Merge
2016-11-11 16:44:36 +01:00