Mikael Gerdin
90ed74aa8c
Merge
2013-11-11 16:20:48 +01:00
Jesper Wilhelmsson
c6da83319b
8028093: Initial young size is smaller than minimum young size
...
Remove min_gen1_size argument from adjust_gen0_sizes()
Reviewed-by: tschatzl, brutisso
2013-11-11 13:50:10 +01:00
Jesper Wilhelmsson
2ec0e87f43
8027911: Assertion in the collector policy when running gc/arguments/TestMaxNewSize.java
...
Update NewSize when _initial_gen0_size is changed
Reviewed-by: tschatzl, brutisso
2013-11-10 00:07:29 +01:00
Alejandro Murillo
2c2fcae7df
Merge
2013-11-02 13:02:59 -07:00
Jesper Wilhelmsson
0fa3a71c8a
8016309: assert(eden_size > 0 && survivor_size > 0) failed: just checking
...
7057939: jmap shows MaxNewSize=4GB when Java is using parallel collector
Major cleanup of the collectorpolicy classes
Reviewed-by: tschatzl, jcoomes
2013-11-01 17:09:38 +01:00
Coleen Phillimore
535b489554
8027616: Off by one error in putback for compressed oops nashorn performance improvement
...
Should compare bounds greater than or equal 4G when deciding if shift is needed or CDS area + compressed class space are within 4G of each other.
Reviewed-by: stefank, hseigel, zgu
2013-10-31 14:11:02 -04:00
Calvin Cheung
bea255ee35
Merge
2013-10-25 22:06:43 -07:00
Coleen Phillimore
3e6630c07b
8024927: Nashorn performance regression with CompressedOops
...
Allocate compressed class space at end of Java heap. For small heap sizes, without CDS, save some space so compressed classes can have the same favorable compression as oops
Reviewed-by: stefank, hseigel, goetz
2013-10-25 15:19:29 -04:00
Harold Seigel
bf7f4866eb
8026822: metaspace/flags/maxMetaspaceSize throws OOM of unexpected type.java.lang.OutOfMemoryError: Compressed class space
...
Incorporate chunk size when seeing if OutOfMemoryError was caused by Metaspace or Compressed class space.
Reviewed-by: stefank, coleenp
2013-10-25 11:05:32 -04:00
John Coomes
7ca427bc4f
Merge
2013-10-22 12:03:50 -07:00
Jesper Wilhelmsson
9705a6e3f9
8026853: Prepare GC code for collector policy regression fix
...
Cleanup related to the NewSize and MaxNewSize bugs
Reviewed-by: tschatzl, jcoomes, ehelin
2013-10-21 18:56:20 +02:00
Jesper Wilhelmsson
5976b6915a
8026852: Use restricted_align_down in collector policy code
...
Moved restricted_align_down to globalDefinitions and renamed it align_size_down_bounded
Reviewed-by: stefank, mgerdin, tschatzl
2013-10-21 18:52:13 +02:00
Jesper Wilhelmsson
1123a5596c
8026851: Remove unnecessary code in GenRemSet
...
Removed the GenRemSet::rem_set_name() since we only have one remset.
Reviewed-by: stefank, mgerdin, tschatzl
2013-10-21 18:51:37 +02:00
John Coomes
8d381f2b2e
Merge
2013-10-18 12:10:44 -07:00
Mikael Gerdin
376094224f
8026698: Incorrect error handling in Metaspace::allocate
...
Reviewed-by: stefank, jwilhelm
2013-10-18 09:31:59 +02:00
Stefan Karlsson
79199b95bc
8026715: Remove the MetaDataDeallocateALot develop flag
...
Reviewed-by: coleenp, mgerdin
2013-10-17 08:42:41 +02:00
Stefan Karlsson
7bf2a9861b
8026707: JDK-8026391 broke the optimized build target
...
Reviewed-by: mgerdin, coleenp
2013-10-17 08:41:35 +02:00
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