Stefan Karlsson
f323c934d7
8026392: Metachunks and Metablocks are using a too large alignment
...
Reviewed-by: coleenp, jmasa
2013-10-15 14:32:20 +02:00
Stefan Karlsson
f149d47720
8026391: The Metachunk header wastes memory
...
Reviewed-by: coleenp, jmasa
2013-10-15 14:28:51 +02:00
Mikael Gerdin
444a15a09f
8015255: NPG: Don't waste fragment at the end of a VirtualSpaceNode before retiring it
...
Chunk up the last piece of committed memory in a VSN when getting a new one.
Reviewed-by: stefank, jmasa
2013-10-15 13:56:46 +02:00
Harold Seigel
7476c45011
8024667: VM crashes with "assert(method() != NULL) failed: must have set method"
...
Check if data is in shared spaces before deallocating it.
Reviewed-by: coleenp, dcubed
2013-10-12 15:39:16 -04:00
John Coomes
e61cbf8d69
Merge
2013-10-11 08:27:21 -07:00
Karen Kinnear
088ded71f9
8009130: Lambda: Fix access controls, loader constraints
...
New default methods list with inherited superinterface methods
Reviewed-by: minqi, sspitsyn, coleenp
2013-10-07 12:20:28 -04:00
Stefan Karlsson
2cbd654963
8025996: Track metaspace usage when metaspace is expanded
...
Reviewed-by: coleenp, ehelin
2013-10-07 15:51:17 +02:00
Stefan Karlsson
55cbe80300
8024547: MaxMetaspaceSize should limit the committed memory used by the metaspaces
...
Reviewed-by: brutisso, jmasa, coleenp
2013-10-07 15:51:08 +02:00
Jesper Wilhelmsson
829ad9332b
8025854: Use "young gen" instead of "eden"
...
Changed a few descriptions and variable names to young gen.
Reviewed-by: tschatzl, jcoomes
2013-10-04 22:08:37 +02:00
John Coomes
875078a4e0
Merge
2013-10-04 13:37:25 -07:00
Jesper Wilhelmsson
582aa55e4d
8025852: Remove unnecessary setters in collector policy classes
...
Use instance variables directly within the collector policy classes and remove unused setters.
Reviewed-by: tschatzl, jcoomes
2013-10-03 21:36:29 +02:00
Jesper Wilhelmsson
ed022aded1
8025855: Simplify GenRemSet code slightly
...
Remove a few redundant switch-statements
Reviewed-by: jcoomes, tschatzl
2013-10-03 13:19:19 +02:00
Erik Helin
ce8f16808b
8025313: MetaspaceMemoryPool incorrectly reports undefined size for max
...
Reviewed-by: stefank, tschatzl
2013-10-01 15:21:14 +02:00
Zhengyu Gu
bfafab7b47
Merge
2013-09-27 10:08:56 -04:00
Lois Foltan
7bf953d005
7195622: CheckUnhandledOops has limited usefulness now
...
Enable CHECK_UNHANDLED_OOPS in fastdebug builds across all supported platforms.
Reviewed-by: coleenp, hseigel, dholmes, stefank, twisti, ihse, rdurbin
2013-09-26 10:25:02 -04:00
Thomas Schatzl
4abf168208
Merge
2013-09-26 12:18:21 +02:00
Bengt Rutisson
dc5131c84d
8025228: assert(new_entry->reserved_words() == vs_word_size) fails in nightly
...
Reviewed-by: mgerdin, tschatzl, jmasa
2013-09-25 17:23:41 +02:00
Mikael Gerdin
b8363e6615
8025305: Cleanup CardTableModRefBS usage in G1
...
Move some G1 specific code from CardTableModRefBS to G1SATBCardTableModRefBS.
Reviewed-by: brutisso, tschatzl, ehelin
2013-09-24 14:46:29 +02:00
Thomas Schatzl
b23e1e15a3
Merge
2013-09-27 13:41:07 +02:00
Mikael Gerdin
27565b7f5d
8025279: metaspace/flags/maxMetaspaceSize throws OOM: out of Compressed Klass space
...
Only put "Compressed class space" as OOM cause if actually using Compressed class space
Reviewed-by: jwilhelm, stefank, ehelin, coleenp
2013-09-27 10:23:12 +02:00
Thomas Schatzl
83ed895a75
Merge
2013-09-24 10:14:02 +02:00
Stefan Karlsson
22272f5043
8025096: Move the ChunkManager instances out of the VirtualSpaceLists
...
Reviewed-by: coleenp, mgerdin, jmasa
2013-09-21 10:09:42 +02:00
Daniel D. Daugherty
156b06d897
Merge
2013-09-20 12:58:35 -07: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
Stefan Karlsson
bbb009b580
8025059: Metspace::should_expand mixes bytes and words in check against MaxMetaspaceSize
...
Reviewed-by: coleenp, brutisso, mgerdin, jmasa
2013-09-20 11:00:38 +02:00
Per Liden
de71bd1049
8024974: Incorrect use of GC_locker::is_active()
...
SymbolTable and StringTable can make calls to GC_locker::is_active() outside a safepoint. This isn't safe because the GC_locker active state (lock count) is only updated at a safepoint and only remains valid as long as _needs_gc is true. However, outside a safepoint_needs_gc can change to false at any time, which makes it impossible to do a correct call to is_active() in that context. In this case these calls can just be removed since the input argument to basic_add() should never be on the heap and so there's no need to check the GC_locker state. This change also adjusts the assert() in is_active() to makes sure all calls to this function are always done under a safepoint.
Reviewed-by: brutisso, dcubed
2013-09-20 10:53:28 +02:00
Niclas Adlertz
afef481831
Merge
2013-09-19 18:01:39 +02:00
Thomas Schatzl
0a1b832ae0
Merge
2013-09-19 09:34:20 +02:00
Erik Helin
2cab7ea037
8024718: Metaspace performance counters and memory pools should report the same data
...
Reviewed-by: stefank, dholmes, coleenp
2013-09-17 20:59:07 +02:00
Thomas Schatzl
3184042cd1
8024396: VM crashing with assert(!UseLargePages || UseParallelOldGC || use_large_pages) failed: Wrong alignment to use large pages
...
Loosen wrong assert for UseParallelOldGC to UseParallelGC
Reviewed-by: stefank, brutisso
2013-09-16 10:20:45 +02:00
Christian Thalinger
4fa99b3fc5
8024760: add more types, fields and constants to VMStructs
...
Reviewed-by: kvn, coleenp
2013-09-13 16:55:44 -07:00
Stefan Karlsson
4d3c6221b7
8024752: Log TraceMetadata* output to gclog_or_tty instead of tty
...
Reviewed-by: brutisso, mgerdin, coleenp
2013-09-13 22:25:27 +02:00
Stefan Karlsson
9784317e8a
8024751: Fix bugs in TraceMetadata
...
Reviewed-by: jmasa, brutisso
2013-09-13 22:23:48 +02:00
Stefan Karlsson
860b5dcec7
8024650: Don't adjust MaxMetaspaceSize up to MetaspaceSize
...
Reviewed-by: jwilhelm, brutisso, tschatzl
2013-09-13 22:22:14 +02:00
Stefan Karlsson
d2d4036f85
8024651: Remove the incorrect usage of Metablock::overhead()
...
Reviewed-by: brutisso, mgerdin, coleenp, jmasa
2013-09-13 22:21:06 +02:00
Stefan Karlsson
8a515de48c
8024638: Count and expose the amount of committed memory in the metaspaces
...
Reviewed-by: brutisso, ehelin
2013-09-12 10:15:54 +02:00
Erik Helin
dfd2d9a574
8023476: Metaspace capacity > reserved
...
Reviewed-by: stefank, hseigel, mgerdin
2013-09-12 10:15:30 +02:00
Thomas Schatzl
2317db6d5a
Merge
2013-09-11 18:47:54 +02:00
Thomas Schatzl
962008f22b
8010722: assert: failed: heap size is too big for compressed oops
...
Use conservative assumptions of required alignment for the various garbage collector components into account when determining the maximum heap size that supports compressed oops. Using this conservative value avoids several circular dependencies in the calculation.
Reviewed-by: stefank, dholmes
2013-09-11 16:25:02 +02:00
Mikael Gerdin
1d97871624
8009561: NPG: Metaspace fragmentation when retiring a Metachunk
...
Use best-fit block-splitting freelist allocation from the block freelist.
Reviewed-by: jmasa, stefank
2013-09-11 09:37:14 +02:00
David Holmes
ce469f1922
8024256: Minimal VM build is broken with PCH disabled
...
Reviewed-by: coleenp, twisti
2013-09-11 00:38:18 -04:00
Vladimir Kozlov
1a700c9216
Merge
2013-09-05 11:04:39 -07: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
Goetz Lindenmaier
fac7ee02c5
8023033: PPC64 (part 13): basic changes for AIX
...
Added AIX includes alpha-sorted before BSD. Fix compilation issues with xlC in shared code. Basic shared platform dependend adaption (vm_version etc.).
Reviewed-by: kvn, dholmes, stefank
2013-08-22 09:39:54 -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