Ioi Lam
5898ab6545
8259894: refactor parts of jvm.h into jvm_io.h and jvm_constants.h
...
Reviewed-by: dholmes, coleenp
2021-01-25 08:00:40 +00:00
David Holmes
1e77896838
8236225: Remove expired flags in JDK 17
...
8256717: Expire the long term obsoleted VM flags
Reviewed-by: coleenp, kvn
2020-12-16 00:00:12 +00:00
Calvin Cheung
3da30e991a
8257241: CDS should not handle disableEagerInitialization for archived lambda proxy classes
...
Reviewed-by: iklam, redestad, mchung
2020-12-02 22:17:46 +00:00
Kim Barrett
66943fefa7
8256517: (ref) Reference.clear during reference processing may lose notification
...
8240696: (ref) Reference.clear may extend the lifetime of the referent
Use private native helper to implement Reference.clear.
Reviewed-by: pliden, rkennke, mchung
2020-11-25 03:34:50 +00:00
Kim Barrett
6023f6b1bf
8188055: (ref) Add Reference::refersTo predicate
...
Reviewed-by: mchung, pliden, rriggs, dholmes, ihse, smarks, alanb
2020-11-04 09:18:23 +00:00
Calvin Cheung
74ac77e2b1
8247666: Support Lambda proxy classes in static CDS archive
...
Reviewed-by: iklam, mchung
2020-10-19 18:27:50 +00:00
Yumin Qi
e4469d2c8c
8247536: Support for pre-generated java.lang.invoke classes in CDS static archive
...
Reviewed-by: iklam, mchung
2020-10-10 02:06:52 +00:00
Yumin Qi
89c5e49ba2
8253500: [REDO] JDK-8253208 Move CDS related code to a separate class
...
Reviewed-by: mchung, iklam
2020-09-24 15:28:10 +00:00
Ioi Lam
65af837391
8253496: [BACKOUT] JDK-8253208 Move CDS related code to a separate class
...
Reviewed-by: eosterlund, dcubed
2020-09-22 20:15:01 +00:00
Yumin Qi
c1df13b855
8253208: Move CDS related code to a separate class
...
Reviewed-by: mchung, iklam
2020-09-22 16:12:05 +00:00
Ioi Lam
03a4df0acd
8244778: Archive full module graph in CDS
...
Reviewed-by: erikj, coleenp, lfoltan, redestad, alanb, mchung
2020-09-13 14:45:12 +00:00
Severin Gehwolf
e6517d1ae2
8250627: Use -XX:+/-UseContainerSupport for enabling/disabling Java container metrics
...
Reviewed-by: aph, dholmes, bobv
2020-07-24 19:57:06 +02:00
Calvin Cheung
847a3baca8
8198698: Support Lambda proxy classes in dynamic CDS archive
...
Added archving of hidden classes of type lambda proxy classes.
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: mchung, iklam, dholmes
2020-06-10 15:50:26 +00:00
Vicente Romero
d42bfef8a4
8227046: compiler implementation for sealed classes
...
8225056: VM support for sealed classes
8227044: javax.lang.model for sealed classes
8227045: Preview APIs support for sealed classes
8227047: Javadoc for sealed types
8245854: JVM TI Specification for sealed classes
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: mcimadamore, forax, darcy, dholmes, jlahoda, lfoltan, mchung, sspitsyn, vromero
2020-06-01 17:00:40 -04:00
Ioi Lam
eadcb08c3c
8241071: Generation of classes.jsa with -Xshare:dump is not deterministic
...
Reviewed-by: dholmes, stuefe
2020-05-05 11:10:02 -07:00
Mandy Chung
7cc1371059
8238358: Implementation of JEP 371: Hidden Classes
...
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: David Holmes <david.holmes@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jamsheed Mohammed C M <jamsheed.c.m@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Reviewed-by: alanb, cjplummer, coleenp, dholmes, dlong, forax, jlahoda, psandoz, plevart, sspitsyn, vromero
2020-04-21 06:55:38 -07:00
Claes Redestad
d185fe9953
8242452: During module definition, move conversion of packages from native to VM
...
8242290: Pointless verification in get_package_entry_by_name
Reviewed-by: lfoltan, iklam, hseigel
2020-04-18 19:45:45 +02:00
Yumin Qi
c37ebcd730
8232069: Enable CDS even when UseCompressedClassPointers and/or UseCompressedOops are false
...
Fix to save UseCompressedOops and UseCompressedClassPointers in shared archive and at runtime run with CDS only if they are matched the stored versions.
Reviewed-by: iklam, ccheung
2020-02-11 12:16:23 -08:00
Ioi Lam
d5bdb76e84
8236236: Eliminate CDS md region and consolidate c++ vtable patching code
...
Reviewed-by: ccheung
2020-01-22 11:52:27 -08:00
Gerard Ziemski
b467629bd6
8223261: JDK-8189208 followup - remove JDK_GetVersionInfo0 and the supporting code
...
Removed JDK_GetVersionInfo
Reviewed-by: redestad, dholmes, mchung, clanger
2019-12-10 12:50:50 -06:00
Christoph Langer
547e472c42
8234185: Cleanup usage of canonicalize function between libjava, hotspot and libinstrument
...
Reviewed-by: dholmes, alanb, sspitsyn
2019-12-06 14:13:10 +01:00
Vicente Romero
827e5e3226
8225054: Compiler implementation for records
...
8225052: javax.lang.model support for records
8225053: Preview APIs support for records
8225055: Javadoc for records
8226314: com.sun.source support for records
8227113: Specification for java.lang.Record
8233526: JVM support for records
Implement records in the compiler and the JVM, including serialization, reflection and APIs support
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: mcimadamore, briangoetz, alanb, darcy, chegar, jrose, jlahoda, coleenp, dholmes, lfoltan, mchung, sadayapalam, hannesw, sspitsyn
2019-12-04 15:57:39 -05:00
Ioi Lam
5678f98a9e
8231610: Relocate the CDS archive if it cannot be mapped to the requested address
...
Reviewed-by: jiangli, coleenp, ccheung
2019-11-13 16:36:54 -08:00
Brent Christian
3561b4ed50
8233091: Backout JDK-8212117: Class.forName loads a class but not linked if class is not initialized
...
Reviewed-by: alanb, dholmes, mchung
2019-11-04 11:42:24 -08:00
David Holmes
1d50b2761c
8229516: Thread.isInterrupted() always returns false after thread termination
...
Reviewed-by: dnsimon, sspitsyn, dcubed, alanb
2019-11-03 18:02:29 -05:00
Alan Bateman
6d98a3bdd8
8205132: Degrade Thread.countStackFrames() to throw UOE
...
Reviewed-by: mchung, dholmes, dcubed
2019-10-31 16:45:58 +00:00
Alexey Ivanov
c7acea028c
8232724: Remove indirection with calling JNU_NewStringPlatform
...
Reviewed-by: dholmes, clanger
2019-10-30 14:08:07 +00:00
Goetz Lindenmaier
d8c6516c92
8218628: Add detailed message to NullPointerException describing what is null
...
This is the implementation of JEP 358: Helpful NullPointerExceptions.
Reviewed-by: coleenp, clanger, rschmelter, rriggs, forax, mr
2019-10-14 11:36:17 +02:00
Claes Redestad
fba19ffbb2
8230043: Lazily load libverify
...
8230140: Remove unused mutex and monitor declarations
Reviewed-by: hseigel, erikj, alanb, dholmes
2019-10-07 16:55:24 +02:00
Paul Hohensee
1bce27d402
8231209: [REDO] ThreadMXBean::getThreadAllocatedBytes() can be quicker for self thread
...
Add com.sun.management.getCurrentThreadAllocatedBytes, implement getThreadAllocatedBytes(long) independent of getThreadAllocatedBytes(long[])
Reviewed-by: mchung, dholmes, sspitsyn
2019-09-25 15:22:33 -07:00
Daniel D. Daugherty
48946faf34
8231210: [BACKOUT] JDK-8207266 ThreadMXBean::getThreadAllocatedBytes() can be quicker for self thread
...
Reviewed-by: phh, dholmes
2019-09-18 20:49:13 -04:00
Paul Hohensee
aa318d070e
8207266: ThreadMXBean::getThreadAllocatedBytes() can be quicker for self thread
...
Add com.sun.management.getCurrentThreadAllocatedBytes, implement getThreadAllocatedBytes(long) independent of getThreadAllocatedBytes(long[])
Reviewed-by: mchung, dholmes, sspitsyn
2019-09-18 05:41:08 -07:00
Ioi Lam
988ac4fec0
8230586: Encapsulate fields in filemap.hpp
...
Reviewed-by: ccheung
2019-09-11 18:31:25 -07:00
Brent Christian
a4613d4a8f
8212117: Class.forName may return a reference to a loaded but not linked Class
...
Reviewed-by: dholmes, mchung
2019-09-09 11:04:04 -07:00
Ioi Lam
87eefe2e00
8227370: Remove SharedPathsMiscInfo
...
Reviewed-by: ccheung, jiangli
2019-08-27 22:14:52 -07:00
Calvin Cheung
530176f933
8227496: Update NUM_CDS_REGIONS and CURRENT_CDS_ARCHIVE_VERSION in cds.h
...
Reviewed-by: jiangli
2019-07-15 09:53:23 -07:00
Calvin Cheung
72dc5721e0
8207812: Implement Dynamic CDS Archive
...
Improve the usability of AppCDS
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: Jiangli Zhou <jianglizhou@google.com>
Reviewed-by: acorn, jiangli, mseledtsov
2019-05-17 08:29:55 -07:00
Gerard Ziemski
22bf018812
8189208: Cleanup ancient argument processing code
...
Remove bits thread_park_blocker, post_vm_init_hook_enabled and pending_list_uses_discovered_fields
Reviewed-by: hseigel, dholmes
2019-05-09 12:04:20 -05:00
Aleksey Shipilev
f44e59355c
8216302: StackTraceElement::fill_in can use cached Class.name
...
Reviewed-by: coleenp, dholmes, mchung
2019-01-09 20:28:16 +01:00
Dean Long
57dc039131
8214583: AccessController.getContext may return wrong value after JDK-8212605
...
Reviewed-by: mchung, redestad
2018-12-18 16:36:26 -08:00
Roger Riggs
c1034b1cad
4947890: Minimize JNI upcalls in system-properties initialization
...
Reviewed-by: erikj, mchung, bchristi, ihse, coleenp, stuefe
2018-11-28 15:53:49 -05:00
Dean Long
a9ae141836
8212605: Pure-Java implementation of AccessController.doPrivileged
...
Reviewed-by: dholmes, mullan, vlivanov, mchung, alanb, rriggs
2018-11-06 16:04:50 -08:00
Ioi Lam
5b2c081460
8208658: Make CDS archived heap regions usable even if compressed oop encoding has changed
...
Relocate and patch archive regions if necessary
Reviewed-by: jiangli, tschatzl
2018-08-14 09:59:37 -07:00
Ioi Lam
73951ab5d9
8209657: Refactor filemap.hpp to simplify integration with Serviceability Agent
...
Added src/hotspot/share/include/cds.h
Reviewed-by: ccheung, sspitsyn, jgeorge
2018-08-17 13:53:53 -07:00
Jiangli Zhou
9ba5bab865
8202035: Archive the set of ModuleDescriptor and ModuleReference objects for observable system modules with unnamed initial module
...
Support system module archiving with unnamed initial module at dump time.
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: erikj, coleenp, mchung, iklam, ccheung
2018-07-08 12:43:05 -04:00
David Holmes
95bf19563b
8010319: Implementation of JEP 181: Nest-Based Access Control
...
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Maurizio Mimadamore <maurizio.mimadamore@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Tobias Hartmann <tobias.hartmann@oracle.com>
Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Daniel Smith <daniel.smith@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Kumar Srinivasan <kumardotsrinivasan@gmail.com>
Co-authored-by: Boris Ulasevich <boris.ulasevich@bell-sw.com>
Reviewed-by: alanb, psandoz, mchung, coleenp, acorn, mcimadamore, forax, jlahoda, sspitsyn, abuckley
2018-06-23 01:32:41 -04:00
Robin Westberg
f2c21c058d
8041626: Shutdown tracing event
...
Reviewed-by: dholmes, alanb, rriggs
2018-02-13 15:48:23 +01:00
Chris Hegarty
a2000f8720
8179424: Remove terminally deprecated sun.reflect.Reflection.getCallerClass
...
Reviewed-by: alanb, dfuchs, dholmes, lancea, mchung, rriggs
2017-12-22 15:55:29 +00:00
Magnus Ihse Bursie
a06ef68dcf
8190484: Move jvm.h, jmm.h et al to hotspot/*/include
...
Reviewed-by: dholmes, erikj, mchung
2017-12-04 23:55:52 +01:00