Stefan Karlsson
0925fecaf5
8170395: Metaspace initialization queries the wrong chunk freelist
...
Reviewed-by: mgerdin, pliden, stuefe
2016-11-29 19:25:36 +01:00
Jesper Wilhelmsson
11802f94e8
8170355: [BACKOUT] 8k class metaspace chunks misallocated from 4k chunk freelist
...
Reviewed-by: ehelin, stefank
2016-11-25 15:58:24 +01:00
Stefan Karlsson
fe786e80ee
8169931: 8k class metaspace chunks misallocated from 4k chunk freelist
...
Reviewed-by: mgerdin, coleenp, ehelin, stuefe
2016-11-23 14:36:32 +01:00
Jiangli Zhou
1b1cffb128
8169870: CDS: "assert(partition_size <= size()) failed: partition failed" on 32 bit JVM
...
Exit the VM and report error if the second ReservedSpace() call also fails.
Reviewed-by: cjplummer, sspitsyn, iklam
2016-11-21 21:07:45 -05:00
Coleen Phillimore
04bc07be95
8164921: Memory leaked when instrumentation.retransformClasses() is called repeatedly
...
Return Metablocks smaller than dictionary's dark matter.
Co-authored-by: Jon Masamitsu <jon.masamitsu@oracle.com>
Reviewed-by: mgerdin, sspitsyn, dsamersoff
2016-10-18 08:39:43 -04: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
David Holmes
5f1f4489ac
8157907: Incorrect inclusion of atomic.hpp instead of atomic.inline.hpp
...
Remove atomic.inline.hpp and move the contents back into atomic.hpp
Reviewed-by: stefank, pliden, simonis
2016-08-21 20:56:37 -04:00
Jiangli Zhou
6ed3f07f48
8141341: CDS should be disabled if JvmtiExport::should_post_class_file_load_hook() is true
...
Disable loading shared class if JvmtiExport::should_post_class_file_load_hook is true.
Reviewed-by: iklam, acorn, sspitsyn
2016-07-19 13:52:14 -04:00
Jon Masamitsu
3af1b64ce1
8024945: Remove check on minimum size of MetaspaceSize
...
Reviewed-by: kbarrett, tschatzl
2016-06-13 14:10:09 -07:00
Goetz Lindenmaier
59e5844219
8159056: [aix] Compressed class space not allocated in lower regions
...
Reviewed-by: dholmes, enevill
2016-06-08 16:07:49 +02:00
Daniel D. Daugherty
4397e85e26
Merge
2016-04-07 09:47:48 -07:00
Vladimir Ivanov
9cf0dc3015
8151623: Zap freed Metaspace chunks in non-product binaries
...
Reviewed-by: stefank, jmasa
2016-03-28 13:49:34 +03:00
Stefan Karlsson
15c4140ae5
8152632: Rename LogHandle(...) to Log(...)
...
Reviewed-by: brutisso, mlarsson, rprotacio
2016-04-04 09:15:15 +02:00
Jon Masamitsu
e779c07cfb
8151845: Comment in globals.hpp for MetaspaceSize is incorrect
...
Reviewed-by: drwhite, stefank
2016-03-17 15:50:31 -07:00
Stefan Karlsson
7c87080ac1
8026720: Remove the unused SpaceManager::mangle_freed_chunks
...
Reviewed-by: mgerdin, tschatzl, vlivanov
2016-03-17 21:00:51 +01:00
Dmitry Dmitriev
c867b023b6
8149643: Remove check of counters in VirtualSpaceNode::inc_container_count
...
Reviewed-by: brutisso, kbarrett, mgerdin
2016-02-16 13:20:38 -08:00
Bengt Rutisson
de76c23ff5
8147913: Some runtime/CompressedOops tests fail on ARM64 product builds
...
Reviewed-by: jmasa, kbarrett
2016-02-02 09:51:24 +01:00
Per Lidén
4bfa63dd34
8147918: Rename develop_log_is_enabled() to log_develop_is_enabled()
...
Reviewed-by: dholmes, brutisso
2016-02-01 22:11:16 +01:00
Coleen Phillimore
97e169ac77
8145628: hotspot metadata classes shouldn't use HeapWordSize or heap related macros like align_object_size
...
Use align_metadata_size, align_metadata_offset and is_metadata_aligned for metadata rather than align_object_size, etc. Use wordSize rather than HeapWordSize for metadata. Use align_ptr_up rather than align_pointer_up (all the related functions are ptr).
Reviewed-by: hseigel, jmasa, cjplummer
2016-01-30 11:02:29 -05:00
Ioi Lam
4e9dd68311
8145593: Clean up metaspaceShared.cpp
...
Reviewed-by: jiangli
2016-01-04 13:57:34 -08: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
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
David Lindholm
1e71f67736
8080775: Better argument formatting for assert() and friends
...
Reviewed-by: kbarrett, pliden
2015-09-29 11:02:08 +02:00
Joseph Provino
ae6886e4d9
8085987: Vm crash "not long aligned" in nsk/stress/metaspace/jck60/jck6* tests
...
The word size being allocated needs to be rounded up.
Reviewed-by: jmasa, tbenson
2015-06-18 16:28:04 -04: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
Coleen Phillimore
9e5e7f9e5a
8035074: hs_err improvement: Add time zone information in the hs_err file
...
8026335: hs_err improvement: Print exact compressed oops mode and the heap base value
8026331: hs_err improvement: Print if we have seen any OutOfMemoryErrors or StackOverflowErrors
Add requested things to hs_err file.
Reviewed-by: ctornqvi, dholmes
2015-06-09 10:26:25 -04:00
Joseph Provino
3ab615bd2c
8081508: metaspace/shrink_grow/CompressedClassSpaceSize fails with OOM: Compressed class space
...
OOME is thrown even though there is metaspace available.
Reviewed-by: jmasa, kbarrett
2015-05-29 10:44:32 -04:00
Per Lidén
4dc240f785
8079792: GC directory structure cleanup
...
Reviewed-by: brutisso, stefank, david
2015-05-13 15:16:06 +02:00
Jungwoo Ha
00f9d96a8b
8079091: Remove dictionary NULL check on common path of BlockFreeList methods
...
Reviewed-by: kbarrett, stefank, dholmes, jmasa
2015-05-01 10:51:00 -07:00
David Lindholm
5449ba9220
8076173: VirtualSpaceNode container_count() and container_count_slow() have different return types
...
Reviewed-by: pliden, stefank
2015-03-31 11:34:35 +02:00
David Lindholm
4e7e0848a7
8076073: shared: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
...
Reviewed-by: stefank, brutisso
2015-03-27 15:29:19 +01: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
Ed Nevill
9682ac5e3a
8071563: AARCH64 staging fail to build
...
Fixed build problem after merge 8064457 changes.
Reviewed-by: kvn, goetz
2015-01-26 09:50:48 -08:00
Vladimir Kozlov
5f8d6ce7b6
Merge
2015-01-20 15:24:58 -08:00
Dean Long
e2bf1cd30d
Merge
2015-01-15 16:51:09 -05:00
Goetz Lindenmaier
8e2df5f543
8067941: [TESTBUG] Fix tests for OS with 64K page size
...
Reviewed-by: kvn, tschatzl, ctornqvi
2015-01-12 14:43:34 -08:00
Calvin Cheung
9000f8c3c7
8067187: -XX:MaxMetaspaceSize=20m -Xshare:dump caused JVM to crash
...
Added check for the MaxMetaspaceSize. If it is less than the estimated required size, print an error and exit.
Reviewed-by: jiangli, mseledtsov, stefank
2015-01-12 11:37:58 -08:00
Goetz Lindenmaier
1c18aef92c
8064457: Introduce compressed oops mode disjoint base and improve compressed heap handling
...
Introduce compressed oops mode disjoint base and improve compressed heap handling.
Reviewed-by: kvn, coleenp
2015-01-05 12:07:37 -05:00
Max Ockner
1d76295d70
8047290: Make Mutex::_no_safepoint_check_flag locks verify that this lock never checks for safepoint
...
Ensure consistent safepoint checking in Mutex/Monitor locking methods.
Reviewed-by: dholmes, dcubed, coleenp
2014-12-11 21:34:43 -05:00
Vladimir Kozlov
48b6c6007f
Merge
2014-12-11 15:06:12 -08:00
Andrew Haley
0b30e012ee
8064611: AARCH64: Changes to HotSpot shared code
...
Everything except cpu/ and os_cpu/
Reviewed-by: dholmes, goetz, dlong, coleenp, kvn
2014-12-11 13:11:53 -08: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
Alexander Harlap
aba13c04f2
8059492: Wrong spelling in assert: "Not initialied properly?"
...
Fixed typo in metaspace assert message
Reviewed-by: mgerdin
2014-11-20 10:03:22 -05:00
Stefan Karlsson
d326162380
8064580: Move INCLUDE_CDS include section to the end of the include list
...
Reviewed-by: jwilhelm, brutisso, coleenp, dholmes
2014-11-11 17:05:33 +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
Erik Helin
6f4355a3a6
8049599: MetaspaceGC::_capacity_until_GC can overflow
...
Reviewed-by: jmasa, stefank
2014-10-01 16:09:01 +02: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