Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00
Jiangli Zhou
4a77945c89
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
Shared class' constant pool resolved_references array is cached.
Co-authored-by: Thomas Schatzl <thomas.schatzl@oracle.com>
Reviewed-by: coleenp, iklam, tschatzl
2017-08-14 14:32:17 -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
Thomas Stuefe
d12604111c
8181917: Refactor UL LogStreams to avoid using resource area
...
Reviewed-by: ehelin, mlarsson
2017-07-21 09:50:12 +02:00
Jesper Wilhelmsson
efd1054686
8182299: Enable disabled clang warnings, build on OSX 10 + Xcode 8
...
8182656: Make the required changes in GC code to build on OSX 10 + Xcode 8
8182657: Make the required changes in Runtime code to build on OSX 10 + Xcode 8
8182658: Make the required changes in Compiler code to build on OSX 10 + Xcode 8
Co-authored-by: Paul Hohensee <hohensee@amazon.com>
Reviewed-by: jwilhelm, ehelin, phh
2017-07-06 01:50:26 +02:00
Stefan Karlsson
a18f1c2d58
8183552: Move align functions to align.hpp
...
Reviewed-by: stuefe, pliden
2017-07-05 11:33:17 +02:00
Stefan Karlsson
dbd3b5a79e
8178499: Remove _ptr_ and _size_ infixes from align functions
...
Reviewed-by: rehn, tschatzl
2017-07-04 15:58:10 +02:00
Kim Barrett
6cc7e33ce7
8181449: Fix debug.hpp / globalDefinitions.hpp dependency inversion
...
Refactor debug.hpp and reverse include dependency.
Reviewed-by: coleenp, stefank, dcubed
2017-06-22 20:47:22 -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
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
Calvin Cheung
ac6b2ca3dc
8166930: minor cleanups 1) remove reference to ZIP_ReadMappedEntry 2) checking of st_mode
...
Reviewed-by: jiangli, lfoltan
2016-09-30 12:11:02 -07:00
Calvin Cheung
f9707ab4cd
8164011: --patch-module support for CDS
...
Allows the use of the --patch-module vm option with CDS. However, classes found in --patch-module during dump time will not be archived.
Reviewed-by: iklam, dcubed, lfoltan
2016-09-20 10:37:19 -07: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
Harold Seigel
d7ea24479b
8136930: Simplify use of module-system options by custom launchers
...
Reviewed-by: coleenp, lfoltan, mchung
2016-08-10 15:48:04 -07:00
Lois Foltan
64f4953141
8154239: -Xbootclasspath/a breaks exploded build
...
Correct exploded modules build system class path search for the boot loader
Reviewed-by: acorn, ccheung, hseigel, jiangli
2016-07-26 10:29:27 -04:00
Alejandro Murillo
b68bd82d9b
Merge
2016-05-06 06:12:56 -07:00
Alan Bateman
a503db18fb
8154956: Module system implementation refresh (4/2016)
...
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Reviewed-by: acorn, jiangli, ccheung, hseigel
2016-05-03 09:09:20 +01:00
Max Ockner
da0fe9d476
8154110: Update class* and safepoint* logging subsystems
...
Refactored logging tags in class and safepoint subsystems.
Reviewed-by: coleenp, rehn, hseigel
2016-04-29 22:40:51 -04:00
Calvin Cheung
023aa74fc2
8154976: UseSharedSpaces error message is incomplete
...
Reviewed-by: cjplummer, jiangli, mseledtsov
2016-04-27 11:40:43 -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
Jesper Wilhelmsson
b7ca1e57ee
Merge
2016-03-23 23:36:29 +01: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
Thomas Stuefe
3487b38cc4
8148425: strerror() function is not thread-safe
...
Reviewed-by: dholmes, coleenp
2016-03-12 08:35:05 +01:00
Max Ockner
4f6dba1568
8150103: Convert TraceClassPaths to Unified Logging
...
TraceClassPaths has been reimplemented with Unified Logging
Reviewed-by: coleenp, dholmes, iklam
2016-02-25 13:09:17 -05:00
Max Ockner
9cab990401
8079408: Reimplement TraceClassLoading, TraceClassUnloading, and TraceClassLoaderData with Unified Logging
...
TraceClassLoading, TraceClassUnloading, and TraceClassLoaderData have been reimplemented using Unified logging.
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: iklam, coleenp, dholmes, jiangli, hseigel, rprotacio
2016-02-03 11:40:30 -05:00
Bengt Rutisson
ffeb0bdad0
8145092: Use Unified Logging for the GC logging
...
JEP-271. VM changes contributed by brutisso, test changes contributed by david.
Co-authored-by: David Lindholm <david.lindholm@oralce.com>
Reviewed-by: sjohanss, david, brutisso
2015-12-10 14:57:55 +01:00
Ioi Lam
e708f69e1f
8143615: compactHashtable.hpp includes .inline.hpp file
...
Reviewed-by: dholmes, stefank
2015-12-02 18:14:54 -08:00
Tobias Hartmann
7af927f9c1
8141132: JEP 254: Compact Strings
...
Adopt a more space-efficient internal representation for strings.
Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Vivek Deshpande <vivek.r.deshpande@intel.com>
Co-authored-by: Charlie Hunt <charlie.hunt@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Xueming Shen <xueming.shen@oracle.com>
Co-authored-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Reviewed-by: alanb, bdelsart, coleenp, iklam, jiangli, jrose, kevinw, naoto, pliden, roland, smarks, twisti
2015-11-03 09:41:03 +01:00
David Lindholm
5770f4eb32
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
2015-10-09 09:42:33 +02:00
Jiangli Zhou
9ee2b211f9
8131734: assert(!is_null(v)) failed: narrow klass value can never be zero with -Xshared:auto
...
Handle shared string mapping failures.
Co-authored-by: Tom Benson <tom.benson@oracle.com>
Reviewed-by: tschatzl, kbarrett, ddmitriev, hseigel
2015-08-25 17:22:56 -04:00
Chris Plummer
c8b153a4e7
8087153: EXCEPTION_ACCESS_VIOLATION when CDS RO section vanished on win32
...
When mapping RW for debugging support, update space_info->read_only to reflect it is RW
Reviewed-by: dcubed, coleenp, iklam
2015-06-19 14:23:39 -07:00
Coleen Phillimore
eb02df173b
Merge
2015-06-18 00:40:51 +00:00
Coleen Phillimore
ac072b303d
8098821: Crash in system dictionary initialization with shared strings
...
Map string regions after the compressed class base is known
Co-authored-by: Mikhailo Seledtsov <mikhailo.seledtsov@oracle.com>
Reviewed-by: iklam, dcubed
2015-06-17 21:44:48 +00:00
Tom Benson
8da14a64c8
8098815: Assertion failure in CDS shared string archive support on Windows
...
Check for a zero length before calling the G1 fill_archive_regions routine
Reviewed-by: coleenp, iklam, dcubed
2015-06-17 13:22:38 -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
Chris Plummer
c8c0356588
8054386: Allow Java debugging when CDS is enabled
...
Map archive RW when debugging is enabled
Reviewed-by: sspitsyn, iklam, mseledtsov, dholmes
2015-06-05 13:40:09 -07:00
Harold Seigel
811df313ff
8072694: Need errno info when CDS archive creation fails
...
Add errno output to error message when CDS archive creation fails
Reviewed-by: dholmes, lfoltan
2015-02-10 09:25:00 -05:00
Yumin Qi
bb30bd7e0a
Merge
2014-12-08 00:15:55 -08:00
Alejandro Murillo
db929c3598
Merge
2014-12-05 16:36:07 -08:00
Ioi Lam
ea256a978f
8066670: PrintSharedArchiveAndExit does not exit the VM when the archive is invalid
...
In FileMapInfo::fail_continue do not set UseSharedSpaces = false
Reviewed-by: dholmes, ccheung
2014-12-04 15:20:09 -08:00
Chris Hegarty
393a39afe3
8049367: Modular Run-Time Images
...
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:21:14 +00:00
Max Ockner
91dbd4f088
8060074: os::free() takes MemoryTrackingLevel but doesn't need it
...
Cleaned up unused arguments in os::free and it's callers.
Reviewed-by: lfoltan, coleenp, ctornqvi, dholmes
2014-12-01 12:16:15 -05:00
Jiangli Zhou
ad65e81ce7
8044269: Analysis of archive files
...
Add checksum verification.
Reviewed-by: iklam, dholmes, mschoene
2014-10-14 18:47:46 -07:00
Staffan Larsen
fe076d8a29
8055754: filemap.cpp does not compile with clang
...
Reviewed-by: kvn, iklam, coleenp
2014-08-22 08:13:38 +02: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
Goetz Lindenmaier
25f33c005d
8049325: Introduce and clean up umbrella headers for the files in the cpu subdirectories
...
Introduce and clean up umbrella headers for the files in the cpu subdirectories.
Reviewed-by: lfoltan, coleenp, dholmes
2014-07-04 11:46:01 +02:00
David Chase
305ec3bd3f
8037816: Fix for 8036122 breaks build with Xcode5/clang
...
Repaired or selectively disabled offending formats; future-proofed with additional checking
Reviewed-by: kvn, jrose, stefank
2014-05-09 16:50:54 -04:00
Mikhailo Seledtsov
eedf369513
8033990: Add message to verbose output to indicate when JVM was unable to use shared archive (with -Xshare:auto)
...
Added message to indicate when sharing was attempted but failed
Reviewed-by: coleenp, ctornqvi
2014-03-05 12:31:09 -05:00
Harold Seigel
a320f6a566
8023381: VM fails to initialize in runtime/CDSCompressedKPtrs/XShareAuto.java runtime/SharedArchiveFile/CdsSameObjectAlignment.java
...
Improve handling when CDS archive cannot be mapped
Reviewed-by: kvn, dholmes, mseledtsov
2013-09-01 10:37:01 -04:00