Nils Eliasson
3307d0f163
Merge
2015-11-06 11:34:03 +01: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
Coleen Phillimore
fc03719078
8139203: Consistent naming for klass type predicates
...
8138923: Remove oop coupling with InstanceKlass subclasses
Renamed oop_is_instance and friends, removed the functions in oop that dug down into InstanceKlass.
Reviewed-by: jrose, lfoltan, stefank
2015-10-28 09:47:23 -04:00
Coleen Phillimore
5179fc3488
8139163: InstanceKlass::cast passes through NULL
...
Reduce raw (InstanceKlass*) casts and InstanceKlass::cast, which no long allows null
Reviewed-by: twisti, kbarrett
2015-10-26 13:11:36 -04: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
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
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
25c41c6094
Merge
2015-05-21 21:17:56 +02:00
Jungwoo Ha
c0fcbe951e
8075288: malloc without free in VM_PopulateDumpSharedSpace::doit()
...
Reviewed-by: dholmes, stuefe
2015-05-19 01:34:53 -04:00
Harold Seigel
1665046b90
Merge
2015-03-29 09:20:27 -04:00
Yumin Qi
3e6cf09c39
8074345: Enable RewriteBytecodes when VM runs with CDS
...
Enable bytecode rewriting when CDS turned on.
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: coleenp, iklam
2015-03-25 15:18:37 -07:00
Jesper Wilhelmsson
c1bc0a31b2
8074459: Flags handling memory sizes should be of type size_t
...
Changed the type to size_t for flags that handles memory sizes
Reviewed-by: kbarrett, tschatzl
2015-03-03 18:01:27 +01: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
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
Jiangli Zhou
9b1628d0b5
Merge
2014-11-10 19:52:28 -05:00
Jiangli Zhou
4f4c4bbd5c
8064375: Change certain errors to warnings in CDS output
...
Change CDS non-fatal preloading errors to warnings.
Reviewed-by: minqi, mseledtsov, coleenp
2014-11-10 19:28:51 -05:00
Calvin Cheung
5ccaf44879
8060721: Test runtime/SharedArchiveFile/LimitSharedSizes.java fails in jdk 9 fcs new platforms/compiler
...
Replaced strcat() with jio_snprintf()
Reviewed-by: dholmes, iklam, dlong, minqi
2014-11-10 10:13:10 -08:00
Goetz Lindenmaier
0aa09022fa
8062370: Various minor code improvements
...
A lot of fixes useful to improve the code quality.
Reviewed-by: coleenp, dholmes
2014-10-29 10:13:24 +01: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
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
Goetz Lindenmaier
f2051ed6fa
8048241: Introduce umbrella header os.inline.hpp and clean up includes
...
Reviewed-by: coleenp, dholmes, lfoltan
2014-06-26 16:05:15 +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
Per Lidén
4dc240f785
8079792: GC directory structure cleanup
...
Reviewed-by: brutisso, stefank, david
2015-05-13 15:16:06 +02:00
Stefan Johansson
b1cfdfafe2
8028498: runtime/SharedArchiveFile/CdsDifferentObjectAlignment.java asserts in RT_Baseline
...
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
2014-02-13 10:05:03 +01:00
Jesper Wilhelmsson
81ba2e32c0
8025856: Fix typos in the GC code
...
Fix about 440 typos in comments in the VM code
Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
2014-01-23 14:47:23 +01:00
Coleen Phillimore
ec5e07f810
8022887: Assertion hit while using class and redefining it with RedefineClasses simultaneously
...
Need to refetch each method from InstanceKlass after all safepoints. Removed leaky PreviousVersionInfo code.
Reviewed-by: dcubed, sspitsyn
2013-09-20 09:30:02 -04:00
Harold Seigel
4d91f4e69d
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
Move klass metaspace above the heap and support CDS with compressed klass ptrs.
Reviewed-by: coleenp, kvn, mgerdin, tschatzl, stefank
2013-08-15 20:04:10 -04:00
Ioi Lam
8d048d554d
8016075: Win32 crash with CDS enabled and small heap size
...
Fixed MetaspaceShared::is_in_shared_space
Reviewed-by: coleenp, hseigel
2013-06-27 10:03:21 -07:00
Ioi Lam
9dc36eb923
8014912: Restore PrintSharedSpaces functionality after NPG
...
Added dumping of object sizes in CDS archive, sorted by MetaspaceObj::Type
Reviewed-by: coleenp, acorn
2013-05-28 16:36:19 -07:00
Jon Masamitsu
d72b516201
8008966: NPG: Inefficient Metaspace counter functions cause large young GC regressions
...
Reviewed-by: mgerdin, coleenp
2013-02-12 14:15:45 -08:00
Ioi Lam
84fce989dd
8005467: CDS size information is incorrect and unfriendly
...
Changed words to bytes, and added usage percentage information
Reviewed-by: coleenp, twisti
2013-01-15 17:05:53 -05:00
Harold Seigel
89e575df23
8003705: CDS failed on Windows: can not map in the CDS
...
Map memory only once to prevent 'already mapped' failures.
Reviewed-by: acorn, zgu
2013-01-07 15:32:51 -05:00
Harold Seigel
4aad9b74e7
8001471: Klass::cast() does nothing
...
Remove function Klass::cast() and calls to it.
Reviewed-by: dholmes, coleenp
2012-11-12 16:15:05 -05:00
Zhengyu Gu
3e481cdd81
7199092: NMT: NMT needs to deal overlapped virtual memory ranges
...
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
2012-10-19 21:40:07 -04: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
Coleen Phillimore
8536f548db
7195867: NPG: SAJDI tests fail with sun.jvm.hotspot.types.WrongTypeException: No suitable match for type
...
Need to restore the vtable in metadata when we restore the type from the shared archive.
Reviewed-by: acorn, jcoomes, jmasa, jrose
2012-09-05 20:08:08 -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