History log of /openjdk10/hotspot/src/share/vm/memory/metaspaceShared.cpp
Revision Date Author Comments
# 13541:7df86c5f8b5d 28-Aug-2017 ccheung

8186842: Use Java class loaders for creating the CDS archive
Reviewed-by: coleenp, jiangli, iklam, mseledtsov
Contributed-by: calvin.cheung@oracle.com, ioi.lam@oracle.com


# 13508:427f4c99b29e 27-Aug-2017 jiangli

8186706: ArchivedObjectCache obj_hash() is broken.
Summary: Use oop's identity_hash. Also use larger table size.
Reviewed-by: ccheung, iklam, coleenp


# 13434:1f5231d2d01c 14-Aug-2017 jiangli

8179302: Pre-resolve constant pool string entries and cache resolved_reference arrays in CDS archive.
8185924: G1NoteEndOfConcMarkClosure::doHeapRegion() does not do remembered set cleanup work for archive region.
Summary: Shared class' constant pool resolved_references array is cached.
Reviewed-by: coleenp, iklam, tschatzl
Contributed-by: jiangli.zhou@oracle.com, thomas.schatzl@oracle.com


# 13370:731370f39fcd 02-Aug-2017 iklam

8072061: Automatically determine optimal sizes for the CDS regions
Summary: See new C++ class MetaspaceClosure.
Reviewed-by: coleenp, jiangli, mseledtsov


# 13366:a77c680f1535 02-Aug-2017 coleenp

8184994: Add Dictionary size logging and jcmd
Summary: 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


# 13249:a2753984d2c1 05-Jul-2017 stefank

8183552: Move align functions to align.hpp
Reviewed-by: stuefe, pliden


# 13243:7235bc30c0d7 04-Jul-2017 stefank

8178499: Remove _ptr_ and _size_ infixes from align functions
Reviewed-by: rehn, tschatzl


# 13242:fcb4803050e8 12-Apr-2017 stefank

8178489: Make align functions more type safe and consistent
Reviewed-by: mgerdin, rehn


# 13224:7f295b857a02 29-Jun-2017 redestad

8183001: Various inlining improvements
Reviewed-by: iklam, mikael, ehelin, stefank


# 13184:7903df1b0c4f 22-Jun-2017 kbarrett

8181449: Fix debug.hpp / globalDefinitions.hpp dependency inversion
Summary: Refactor debug.hpp and reverse include dependency.
Reviewed-by: coleenp, stefank, dcubed


# 13146:fdf10ffae99c 05-Jun-2017 rprotacio

8176132: -XX:+PrintSharedSpaces should be converted to use Unified Logging.
Summary: Converted -XX:+PrintSharedSpaces to -Xlog:cds=info
Reviewed-by: iklam, jiangli, mseledtsov


# 13088:5f99ef96e357 16-May-2017 coleenp

8180325: Use ClassLoaderData::classes_do for CDS classes
Summary: Use closures and ClassLoaderData::classes_do instead of SystemDictionary::classes_do
Reviewed-by: iklam, jiangli


# 13059:cb443f7d564f 04-May-2017 iklam

8176863: Remove Hashtable::reverse()
Reviewed-by: hseigel, sspitsyn, coleenp


# 12948:5f5ad7fa59fc 04-Mar-2017 iklam

8005165: Remove CPU-dependent code in self-patching vtables
Reviewed-by: coleenp, stuefe, jiangli


# 12505:330f4178b190 15-Dec-2016 iklam

8171809: Remove unused CDS code from JDK 9
Reviewed-by: jiangli, ccheung, mseledtsov


# 12017:24b753d90c4b 18-Sep-2016 jiangli

8078644: CDS needs to support JVMTI CFLH
Summary: Support posting CLFH for shared classes. Tests are contributed by Misha Seledtsov.
Reviewed-by: iklam, coleenp, acorn, dcubed, sspitsyn


# 11599:5d717aca1f9e 20-Apr-2016 jiangli

8153312: Constrain AppCDS behavior
Reviewed-by: iklam, acorn, mschoene


# 11598:727970489c6c 06-Apr-2016 iklam

8150752: Share Class Data
Reviewed-by: acorn, hseigel, mschoene


# 11386:c0b5ea3442e1 03-Jun-2016 jiangli

8157189: 'iload_w' in shared class is not interpreted correctly.
Summary: Don't rewrite 'iload_w' to 'nofast_iload' in shared class.
Reviewed-by: ccheung, hseigel


# 11097:0679677b7de3 29-Apr-2016 mockner

8154110: Update class* and safepoint* logging subsystems
Summary: Refactored logging tags in class and safepoint subsystems.
Reviewed-by: coleenp, rehn, hseigel


# 10941:857efca82258 17-Apr-2016 iklam

8150607: Clean up CompactHashtable
Summary: refactored code, and added test cases for serviceability agent
Reviewed-by: jiangli, ccheung


# 10844:c04ff0bb5b8e 07-Apr-2016 ccheung

8145221: Use trampolines for i2i and i2c entries in Methods that are stored in CDS archive
Summary: This optimization reduces the size of the RW region of the CDS archive. It also reduces the amount of pages in the RW region that are actually written into during runtime.
Reviewed-by: dlong, iklam, jiangli
Contributed-by: ioi.lam@oracle.com, calvin.cheung@oracle.com, goetz.lindenmaier@sap.com


# 10762:ea81fe138932 03-Apr-2016 jprovino

8132524: Missing includes to resourceArea.hpp
Summary: Files that use ResourceMark are missing the include of resourceArea.hpp
Reviewed-by: tschatzl, jwilhelm


# 10693:906fa01e86a0 23-Mar-2016 jwilhelm

Merge


# 10675:8fced5cac71c 15-Mar-2016 rehn

8150015: Integrate TraceTime with Unified Logging more seamlessly
Reviewed-by: coleenp, dholmes


# 10608:dc379d0b1113 14-Mar-2016 mockner

8149995: TraceClassLoadingPreorder has been converted to Unified Logging.
Summary: TraceClassLoadingPreorder has been converted to Unified Logging. Logging alias table now has extra columns to support multi-tag configurations.
Reviewed-by: iklam, coleenp


# 10420:c558850fac57 17-Mar-2016 alanb

8142968: Module System implementation
Summary: Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282
Reviewed-by: acorn, ccheung, coleenp, ctornqvi, dholmes, dsimms, gtriantafill, iklam, jiangli, mgronlun, mseledtsov, cjplummer, sspitsyn, stefank, twisti, hseigel, lfoltan, alanb, mchung, dfazunen
Contributed-by: alan.bateman@oracle.com, alex.buckley@oracle.com, jonathan.gibbons@oracle.com, karen.kinnear@oracle.com, mandy.chung@oracle.com, mark.reinhold@oracle.com, harold.seigel@oracle.com, lois.foltan@oracle.com, calvin.cheung@oracle.com, christian.tornqvist@oracle.com, erik.joelsson@oracle.com, george.triantafillou@oracle.com, igor.ignatyev@oracle.com, ioi.lam@oracle.com, james.laskey@oracle.com, jean-francois.denise@oracle.com, jiangli.zhou@oracle.com, markus.gronlund@oracle.com, serguei.spitsyn@oracle.com, staffan.larsen@oracle.com, sundararajan.athijegannathan@oracle.com


# 10276:eda0d9992163 17-Feb-2016 rprotacio

8148630: Convert TraceStartupTime to Unified Logging
Summary: The former -XX:+TraceStartupTime flag has been converted to the UL option -Xlog:startuptime=info
Reviewed-by: coleenp, dholmes


# 9897:4da38698139f 04-Jan-2016 iklam

8145593: Clean up metaspaceShared.cpp
Reviewed-by: jiangli


# 9545:279793009cb9 18-Aug-2015 iklam

8140802: Clean up and refactor of class loading code for CDS
Reviewed-by: jiangli, acorn, coleenp


# 9293:a20807e48002 06-Nov-2015 neliasso

Merge


# 9283:f31349f1215e 03-Nov-2015 thartmann

8141132: JEP 254: Compact Strings
Summary: Adopt a more space-efficient internal representation for strings.
Reviewed-by: alanb, bdelsart, coleenp, iklam, jiangli, jrose, kevinw, naoto, pliden, roland, smarks, twisti
Contributed-by: Brent Christian <brent.christian@oracle.com>, Vivek Deshpande <vivek.r.deshpande@intel.com>, Tobias Hartmann <tobias.hartmann@oracle.com>, Charlie Hunt <charlie.hunt@oracle.com>, Vladimir Kozlov <vladimir.kozlov@oracle.com>, Roger Riggs <roger.riggs@oracle.com>, Xueming Shen <xueming.shen@oracle.com>, Aleksey Shipilev <aleksey.shipilev@oracle.com>, Sandhya Viswanathan <sandhya.viswanathan@intel.com>


# 9266:4535697211eb 28-Oct-2015 coleenp

8139203: Consistent naming for klass type predicates
8138923: Remove oop coupling with InstanceKlass subclasses
Summary: Renamed oop_is_instance and friends, removed the functions in oop that dug down into InstanceKlass.
Reviewed-by: jrose, lfoltan, stefank


# 9257:c8434ad4f332 26-Oct-2015 coleenp

8139163: InstanceKlass::cast passes through NULL
Summary: Reduce raw (InstanceKlass*) casts and InstanceKlass::cast, which no long allows null
Reviewed-by: twisti, kbarrett


# 9099:115188e14c15 09-Oct-2015 david

8042893: compiler: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
8042894: runtime: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: goetz, brutisso


# 8560:68ccb61f76e9 17-Jun-2015 coleenp

8098821: Crash in system dictionary initialization with shared strings
Summary: map string regions after the compressed class base is known
Reviewed-by: iklam, dcubed
Contributed-by: coleen.phillimore@oracle.com, mikhailo.seledtsov@oracle.com


# 8543:e43885496ea0 12-Jun-2015 jiangli

8015086: add interned strings to the shared archive.
Summary: Support saving interned strings in shared CDS archive.
Reviewed-by: coleenp, iklam, pliden


# 8422:85522db98d42 21-May-2015 jwilhelm

Merge


# 8413:92457dfb91bd 13-May-2015 pliden

8079792: GC directory structure cleanup
Reviewed-by: brutisso, stefank, david


# 8402:b0bf7fa3659f 18-May-2015 dholmes

8075288: malloc without free in VM_PopulateDumpSharedSpace::doit()
Reviewed-by: dholmes, stuefe
Contributed-by: Jungwoo Ha <jwha@google.com>


# 8105:ac0929026af6 29-Mar-2015 hseigel

Merge


# 8102:0b0b09a60061 25-Mar-2015 minqi

8074345: Enable RewriteBytecodes when VM runs with CDS
Summary: Enable bytecode rewriting when CDS turned on.
Reviewed-by: coleenp, iklam
Contributed-by: yumin.qi@oracle.com, ioi.lam@oracle.com


# 8032:e6d2d68ed87f 03-Mar-2015 jwilhelm

8074459: Flags handling memory sizes should be of type size_t
Summary: Changed the type to size_t for flags that handles memory sizes
Reviewed-by: kbarrett, tschatzl


# 7613:05c08ab3cf65 17-Dec-2014 jiangli

8059510: Compact symbol table layout inside shared archive.
Summary: Use separate compact table for shared symbols.
Reviewed-by: iklam, gziemski, shade, sla, jrose


# 7515:1c629f3fe8b2 04-Dec-2014 iklam

8066670: PrintSharedArchiveAndExit does not exit the VM when the archive is invalid
Summary: in FileMapInfo::fail_continue do not set UseSharedSpaces = false
Reviewed-by: dholmes, ccheung


# 7360:a014a4dff55b 10-Nov-2014 jiangli

Merge


# 7359:6155ff53a422 10-Nov-2014 jiangli

8064375: Change certain errors to warnings in CDS output.
Summary: Change CDS non-fatal preloading errors to warnings.
Reviewed-by: minqi, mseledtsov, coleenp


# 7352:8666e625f2a4 10-Nov-2014 ccheung

8060721: Test runtime/SharedArchiveFile/LimitSharedSizes.java fails in jdk 9 fcs new platforms/compiler
Summary: replaced strcat() with jio_snprintf()
Reviewed-by: dholmes, iklam, dlong, minqi


# 7331:110ec5963eb1 29-Oct-2014 goetz

8062370: Various minor code improvements
Summary: A lot of fixes useful to improve the code quality.
Reviewed-by: coleenp, dholmes


# 7210:8129bfc0e632 14-Oct-2014 jiangli

8044269: Analysis of archive files.
Summary: Add checksum verification.
Reviewed-by: iklam, dholmes, mschoene


# 6941:86451b926286 25-Aug-2014 ccheung

8048150: Allow easy configurations for large CDS archives
Summary: Estimate the size of shared archive based on the number of classes in the classlist file
Reviewed-by: iklam, jiangli, minqi, dholmes


# 6872:16286b7d7c6e 12-Aug-2014 iklam

8046070: Class Data Sharing clean up and refactoring
Summary: Cleaned up CDS to be more configurable, maintainable and extensible
Reviewed-by: dholmes, coleenp, acorn, mchung


# 6683:08a2164660fb 26-Jun-2014 goetz

8048241: Introduce umbrella header os.inline.hpp and clean up includes
Reviewed-by: coleenp, dholmes, lfoltan


# 6412:53a41e7cbe05 09-May-2014 drchase

8037816: Fix for 8036122 breaks build with Xcode5/clang
Summary: Repaired or selectively disabled offending formats; future-proofed with additional checking
Reviewed-by: kvn, jrose, stefank


# 6231:5ce153571456 13-Feb-2014 sjohanss

8028498: runtime/SharedArchiveFile/CdsDifferentObjectAlignment.java asserts in RT_Baseline
Summary: Preventing GCs to occur before VM is completely initialized. This was previously partly done by one part of the GC locker which not was removed.
Reviewed-by: coleenp, pliden


# 5862:63a4eb8bcd23 23-Jan-2014 jwilhelm

8025856: Fix typos in the GC code
Summary: Fix about 440 typos in comments in the VM code
Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes


# 5314:4f9a42c33738 20-Sep-2013 coleenp

8022887: Assertion hit while using class and redefining it with RedefineClasses simultaneously
Summary: Need to refetch each method from InstanceKlass after all safepoints. Removed leaky PreviousVersionInfo code.
Reviewed-by: dcubed, sspitsyn


# 5093:740e263c80c6 15-Aug-2013 hseigel

8003424: Enable Class Data Sharing for CompressedOops
8016729: ObjectAlignmentInBytes=16 now forces the use of heap based compressed oops
8005933: The -Xshare:auto option is ignored for -server
Summary: Move klass metaspace above the heap and support CDS with compressed klass ptrs.
Reviewed-by: coleenp, kvn, mgerdin, tschatzl, stefank


# 4894:221df7e37535 27-Jun-2013 iklam

8016075: Win32 crash with CDS enabled and small heap size
Summary: Fixed MetaspaceShared::is_in_shared_space
Reviewed-by: coleenp, hseigel


# 4773:a1ebd310d5c1 28-May-2013 iklam

8014912: Restore PrintSharedSpaces functionality after NPG
Summary: Added dumping of object sizes in CDS archive, sorted by MetaspaceObj::Type
Reviewed-by: coleenp, acorn


# 4580:868d87ed63c8 12-Feb-2013 jmasa

8008966: NPG: Inefficient Metaspace counter functions cause large young GC regressions
Reviewed-by: mgerdin, coleenp


# 3999:c793367610c1 15-Jan-2013 coleenp

8005467: CDS size information is incorrect and unfriendly
Summary: Changed words to bytes, and added usage percentage information
Reviewed-by: coleenp, twisti
Contributed-by: ioi.lam@oracle.com


# 3961:6c3f47d964f3 07-Jan-2013 hseigel

8003705: CDS failed on Windows: can not map in the CDS.
Summary: Map memory only once to prevent 'already mapped' failures.
Reviewed-by: acorn, zgu


# 3843:070d523b96a7 12-Nov-2012 hseigel

8001471: Klass::cast() does nothing
Summary: Remove function Klass::cast() and calls to it.
Reviewed-by: dholmes, coleenp


# 3758:716c64bda5ba 19-Oct-2012 zgu

7199092: NMT: NMT needs to deal overlapped virtual memory ranges
Summary: Enhanced virtual memory tracking to track committed regions as well as reserved regions, so NMT now can generate virtual memory map.
Reviewed-by: acorn, coleenp


# 3730:fb19af007ffc 10-Oct-2012 jprovino

7189254: Change makefiles for more flexibility to override defaults
Summary: Change makefiles so that targets and parameters can be overridden by alternate makefiles.
Reviewed-by: dholmes, coleenp


# 3610:fa6e618671d7 05-Sep-2012 coleenp

7195867: NPG: SAJDI tests fail with sun.jvm.hotspot.types.WrongTypeException: No suitable match for type
Summary: Need to restore the vtable in metadata when we restore the type from the shared archive.
Reviewed-by: acorn, jcoomes, jmasa, jrose


# 3602:da91efe96a93 01-Sep-2012 coleenp

6964458: Reimplement class meta-data storage to use native memory
Summary: Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
Contributed-by: jmasa <jon.masamitsu@oracle.com>, stefank <stefan.karlsson@oracle.com>, mgerdin <mikael.gerdin@oracle.com>, never <tom.rodriguez@oracle.com>