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
Ioi Lam
76f126d1ba
8183038: Minimal vm slowdebug build fails with undefined reference to MetaspaceShared::is_valid_shared_method
...
Added missing NOT_CDS_RETURN_(false)
Reviewed-by: jiangli, coleenp
2017-07-25 09:32:50 -07:00
Claes Redestad
22cd78c6fb
8183001: Various inlining improvements
...
Reviewed-by: iklam, mikael, ehelin, stefank
2017-06-29 14:22:42 +02:00
Coleen Phillimore
1c06346c45
8180325: Use ClassLoaderData::classes_do for CDS classes
...
Use closures and ClassLoaderData::classes_do instead of SystemDictionary::classes_do
Reviewed-by: iklam, jiangli
2017-05-16 19:36:55 -04:00
Ioi Lam
c386cec7b1
8171392: Move Klass pointers outside of ConstantPool entries so ConstantPool can be read-only
...
Added _resolved_klasses; moved _resolved_references to ConstantPoolCache, etc.
Reviewed-by: coleenp, lfoltan, simonis, aph
2017-03-03 23:08:35 -08:00
Ioi Lam
f5777dc9bd
8005165: Remove CPU-dependent code in self-patching vtables
...
Reviewed-by: coleenp, stuefe, jiangli
2017-03-03 23:08:35 -08:00
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
Jiangli Zhou
bd07a43e61
8153312: Constrain AppCDS behavior
...
Reviewed-by: iklam, acorn, mschoene
2016-04-20 16:39:37 -04:00
Claes Redestad
807e2b367c
8157090: SharedArchiveFile/SpaceUtilizationCheck.java fails as space utilization is below 30 percent
...
Reviewed-by: iklam, mseledtsov
2016-05-18 16:28:42 +02: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
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
Calvin Cheung
28edd79d64
8145221: Use trampolines for i2i and i2c entries in Methods that are stored in CDS archive
...
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.
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: Goetz Lindenmaier <goetz.lindenmaier@sap.com>
Reviewed-by: dlong, iklam, jiangli
2016-04-07 22:03:04 -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
Ioi Lam
4e9dd68311
8145593: Clean up metaspaceShared.cpp
...
Reviewed-by: jiangli
2016-01-04 13:57:34 -08:00
Jiangli Zhou
6ca042cb32
Merge
2015-11-23 14:38:20 -05: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
Ioi Lam
87b0df30ed
8140802: Clean up and refactor of class loading code for CDS
...
Reviewed-by: jiangli, acorn, coleenp
2015-08-18 11:27:23 -07:00
Jiangli Zhou
edcd4cb94b
8015086: add interned strings to the shared archive
...
Support saving interned strings in shared CDS archive.
Reviewed-by: coleenp, iklam, pliden
2015-06-12 17:29:14 -04:00
Jesper Wilhelmsson
ca69eddba5
Merge
2015-05-04 17:10:50 +02:00
Per Lidén
8986235472
8079148: Fix incorrect include guards
...
Reviewed-by: stefank, ehelin
2015-05-04 09:24:03 +02:00
Coleen Phillimore
8a788d57db
8068352: Move virtualspace.* out of src/share/vm/runtime to memory directory
...
Move virtualspace.* out of src/share/vm/runtime to memory directory
Reviewed-by: brutisso, sgehwolf, stefank, sspitsyn
2015-04-28 16:46:39 -04: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
Yumin Qi
bb30bd7e0a
Merge
2014-12-08 00:15:55 -08: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
Stefan Karlsson
692dbfd02d
8062808: Turn on the -Wreturn-type warning
...
Reviewed-by: mgerdin, tschatzl, coleenp, jrose, kbarrett
2014-11-12 13:55:59 +01: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
Volker Simonis
d9da8946df
8056175: Change "8048150: Allow easy configurations for large CDS archives" triggers conversion warning with older GCC
...
Cast the result of the conversion to uintx
Reviewed-by: ccheung, coleenp
2014-08-27 10:42:28 -07:00
Calvin Cheung
e7456dcf86
8048150: Allow easy configurations for large CDS archives
...
Estimate the size of shared archive based on the number of classes in the classlist file
Reviewed-by: iklam, jiangli, minqi, dholmes
2014-08-25 00:13:36 -07:00
Ioi Lam
bbe6f51f81
8046070: Class Data Sharing clean up and refactoring
...
Cleaned up CDS to be more configurable, maintainable and extensible
Reviewed-by: dholmes, coleenp, acorn, mchung
2014-08-12 17:29:00 -07:00
Joseph Provino
c5eaaaa070
7189254: Change makefiles for more flexibility to override defaults
...
Change makefiles so that targets and parameters can be overridden by alternate makefiles.
Reviewed-by: dholmes, coleenp
2012-10-10 14:35:58 -04:00
Jon Masamitsu
5c58d27aac
6964458: Reimplement class meta-data storage to use native memory
...
Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
2012-09-01 13:25:18 -04:00