Erik Helin
30f059b5fc
8015107: NPG: Use consistent naming for metaspace concepts
...
Reviewed-by: coleenp, mgerdin, hseigel
2013-08-12 17:37:02 +02: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
Lois Foltan
fca9e37c80
8021954: VM SIGSEGV during classloading on MacOS; hs_err_pid file produced
...
Declare all user-defined operator new()s within Hotspot code with the empty throw() exception specification
Reviewed-by: coleenp, twisti, dholmes, hseigel, dcubed, kvn, ccheung
2013-08-29 18:56:29 -04:00
Stefan Karlsson
15464d7992
Merge
2013-08-26 07:01:23 -07:00
David Simms
618cb11a73
8022683: JNI GetStringUTFChars should return NULL on allocation failure not abort the VM
...
Return NULL on OOM from GetStringChars, GetStringUTFChars and Get<PrimitiveType>ArrayElements family of functions.
Reviewed-by: dholmes, coleenp
2013-08-26 09:33:01 +02:00
Jon Masamitsu
892e74a87e
Merge
2013-08-22 11:13:17 -07:00
Stefan Karlsson
7ade7987a0
8007074: SIGSEGV at ParMarkBitMap::verify_clear()
...
Replace the broken large pages implementation on Linux. New flag: -XX:+UseTransparentHugePages - Linux specific flag to turn on transparent huge page hinting with madvise(..., MAP_HUGETLB). Changed behavior: -XX:+UseLargePages - tries to use -XX:+UseTransparentHugePages before trying other large pages implementations (on Linux). Changed behavior: -XX:+UseHugeTLBFS - Use upfront allocation of Large Pages instead of using the broken implementation to dynamically committing large pages. Changed behavior: -XX:LargePageSizeInBytes - Turned off the ability to use this flag on Linux and provides warning to user if set to a value different than the OS chosen large page size. Changed behavior: Setting no large page size - Now defaults to use -XX:UseTransparentHugePages if the OS supports it. Previously, -XX:+UseHugeTLBFS was chosen if the OS was configured to use large pages.
Reviewed-by: tschatzl, dcubed, brutisso
2013-08-16 13:22:32 +02:00
Jon Masamitsu
b7f31f0375
Merge
2013-08-19 08:58:56 -07:00
Bengt Rutisson
5075c7e128
Merge
2013-08-16 09:02:36 +02:00
John Cuthbertson
f63547bf71
7145569: G1: optimize nmethods scanning
...
Add a list of nmethods to the RSet for a region that contain references into the region. Skip scanning the code cache during root scanning and scan the nmethod lists during RSet scanning instead.
Reviewed-by: tschatzl, brutisso, mgerdin, twisti, kvn
2013-08-15 10:52:18 +02:00
Bengt Rutisson
c144b8c30f
8023021: Unnecessary clearing of the card table introduced by the fix for JDK-8023013
...
Reviewed-by: stefank, ehelin
2013-08-15 10:05:50 +02:00
Bengt Rutisson
253681b976
Merge
2013-08-14 10:55:45 +02:00
Bengt Rutisson
19ba466575
8022800: Use specific generations rather than generation iteration
...
Reviewed-by: jmasa, ehelin
2013-08-14 09:02:32 +02:00
Coleen Phillimore
a25f924de6
8009728: nsk/jvmti/AttachOnDemand/attach030 crashes on Win32
...
ActiveMethodOopsCache was used to keep track of old versions of some methods that are cached in Universe but is buggy with permgen removal and not needed anymore
Reviewed-by: sspitsyn, dcubed, mseledtsov
2013-08-12 17:24:54 -04:00
Erik Helin
3ea9481c2f
8014659: NPG: performance counters for compressed klass space
...
Reviewed-by: mgerdin, coleenp, hseigel, jmasa, ctornqvi
2013-08-07 16:47:32 +02:00
Daniel D. Daugherty
2c28ff340a
Merge
2013-08-16 10:06:58 -07: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
Tao Mao
6f445df42a
Merge
2013-08-01 17:17:52 -07:00
Tao Mao
5ce100bbd1
Merge
2013-07-26 13:34:22 -07:00
Frederic Parain
b4094e9fa8
8019845: Memory leak during class redefinition
...
Reviewed-by: acorn, jmasa, coleenp, dcubed, mgerdin
2013-07-26 15:24:32 +00:00
Hiroshi Yamauchi
6060a2999c
6412968: CMS Long initial mark pauses
...
Reviewed-by: rasbold, tschatzl, jmasa
2013-07-25 11:07:23 -07:00
Hiroshi Yamauchi
5c9dbad612
6990419: CMS Remaining work for 6572569: consistently skewed work distribution in (long) re-mark pauses
...
Reviewed-by: rasbold, tschatzl, jmasa
2013-07-23 09:49:11 -07:00
Tao Mao
2e0f5d85ff
Merge
2013-07-11 11:45:09 -07:00
Jiangli Zhou
be1bcb5b41
Merge
2013-07-08 14:53:52 -07:00
Ioi Lam
1958240c6f
8016903: Thread::_handle_area initial size too big
...
Changed initial size to Chunk::tiny_size (216 bytes)
Reviewed-by: coleenp, dholmes, sspitsyn
2013-07-08 10:58:48 -07:00
Jiangli Zhou
b454ece6d7
7133260: AllocationProfiler uses space in metadata and doesn't seem to do anything useful
...
Remove -Xaprof and Klass::_alloc_count & ArrayKlass::_alloc_size.
Reviewed-by: stefank, coleenp
2013-07-03 17:26:59 -04:00
Coleen Phillimore
4ecee47075
Merge
2013-07-02 16:54:24 +02:00
Coleen Phillimore
1e7c006d39
8015391: NPG: With -XX:+UseCompressedKlassPointers OOME due to exhausted metadata space could occur when metaspace is almost empty
...
Allocate medium chunks for class metaspace when class loader has lots of classes
Reviewed-by: mgerdin, jmasa
2013-07-02 08:42:37 -04:00
Frederic Parain
0f4447e6dd
Merge
2013-07-15 00:23:48 -07:00
Frederic Parain
c716fa083c
7143807: ResourceMark nesting problem in stringStream
...
Reviewed-by: kvn, dcubed
2013-07-10 15:49:15 +00:00
Rickard Bäckman
2977c8fca3
8016444: Duplicate zombie check in safe_for_sender
...
Reviewed-by: dholmes, sla
2013-06-12 09:49:42 +02:00
Daniel D. Daugherty
326b206183
Merge
2013-06-29 11:55:09 -07:00
Nils Loodin
5fe1de50f1
Merge
2013-06-28 14:05:27 +02:00
Alejandro Murillo
c2c1793452
Merge
2013-06-28 02:25:07 -07: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
Erik Helin
62be1fc827
Merge
2013-06-27 10:56:10 +02:00
David Katleman
dcb3a24cfc
8017323: JDK8 b95 source with GPL header errors
...
Reviewed-by: tbell, darcy
2013-06-26 11:25:42 -07:00
Erik Helin
604a75ff30
8013590: NPG: Add a memory pool MXBean for Metaspace
...
Reviewed-by: jmasa, mgerdin
2013-06-26 16:58:37 +02:00
Alejandro Murillo
2289eb801f
Merge
2013-06-25 12:46:21 -07:00
Jon Masamitsu
a154f7c01e
8014546: MetaspaceAux print_metaspace_change() should print "used" after GC not capacity
...
Reviewed-by: johnc, tschatzl
2013-06-25 09:58:26 -07:00
Coleen Phillimore
39a1c1d6c2
8016325: JVM hangs verifying system dictionary
...
Minimize redundant verifications of Klasses.
Reviewed-by: hseigel, jmasa
2013-06-24 18:55:46 -04:00
Erik Helin
774e23fae7
Merge
2013-06-20 10:03:58 +02:00
Chris Hegarty
748456a6d9
Merge
2013-06-19 11:02:10 +01:00
Bengt Rutisson
3cc79df807
8016556: G1: Use ArrayAllocator for BitMaps
...
Reviewed-by: tschatzl, dholmes, coleenp, johnc
2013-06-18 22:45:32 +02:00
John Cuthbertson
5382e0759e
8015237: Parallelize string table scanning during strong root processing
...
Parallelize the scanning of the intern string table by having each GC worker claim a given number of buckets. Changes were also reviewed by Per Liden <per.liden@oracle.com>.
Reviewed-by: tschatzl, stefank, twisti
2013-06-18 12:31:07 -07:00
Chris Hegarty
ae4642e749
Merge
2013-06-17 11:17:49 +01:00
Markus Grönlund
08f43d4379
8016105: Add complementary RETURN_NULL allocation macros in allocation.hpp
...
Reviewed-by: sla, rbackman
2013-06-15 13:17:36 +02:00
Calvin Cheung
53448fdbed
8014431: cleanup warnings indicated by the -Wunused-value compiler option on linux
...
Co-authored-by: Jeremy Manson <jeremymanson@google.com>
Reviewed-by: dholmes, coleenp
2013-06-13 22:02:40 -07:00
Daniel D. Daugherty
72a51a0c44
8013057: assert(_needs_gc || SafepointSynchronize::is_at_safepoint()) failed: only read at safepoint
...
Detect mmap() commit failures in Linux and Solaris os::commit_memory() impls and call vm_exit_out_of_memory(). Add os::commit_memory_or_exit(). Also tidy up some NMT accounting and some mmap() return value checking.
Reviewed-by: zgu, stefank, dholmes, dsamersoff
2013-06-13 11:16:38 -07:00
Staffan Larsen
718f3252f6
8005849: JEP 167: Event-Based JVM Tracing
...
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Bengt Rutisson <bengt.rutisson@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Co-authored-by: Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>
Co-authored-by: Keith McGuigan <keith.mcguigan@oracle.com>
Co-authored-by: Mattias Tobiasson <mattias.tobiasson@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Mikael Auno <mikael.auno@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Nils Loodin <nils.loodin@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: acorn, coleenp, sla
2013-06-10 11:30:51 +02:00