Bengt Rutisson
426151a22e
8043239: G1: Missing post barrier in processing of j.l.ref.Reference objects
...
Removed all write barriers during reference processing and added explicit write barriers when iterating through the discovered list.
Reviewed-by: pliden, jmasa, tschatzl
2014-06-03 10:44:36 +02:00
Poonam Bajaj
39a6695059
8043086: Hotspot is expected to report OOM which is occurred String.intern(), but crashes in JDK8u5
...
In case of allocation failure, restore the value of _chunk in Arena
Reviewed-by: dholmes, dcubed
2014-05-28 06:26:05 -07:00
Yumin Qi
49c3c35a14
8038422: CDS test failed: assert((size % os::vm_allocation_granularity()) == 0) failed when limiting SharedMiscDataSize
...
In debug version, the assert is against os::vm_allocation_granularity(), but in initialization, we use os::vm_page_size() to align the allocation size. In windows, _vm_page_size and _vm_allocation_granularity may not be same. In debug version, the assert is against os::vm_allocation_granularity(), but in initialization, we use os::vm_page_size() to align the allocation size. In windows, _vm_page_size and _vm_allocation_granularity may not be same.
Reviewed-by: dholmes, iklam, jiangli, coleenp
2014-05-27 08:44:23 -07:00
Christian Thalinger
67ad89efd5
Merge
2014-05-22 16:26:05 -07:00
Coleen Phillimore
c336175c94
8038212: Method::is_valid_method() check has performance regression impact for stackwalking
...
Only prune metaspace virtual spaces at safepoint so walking them is safe outside a safepoint.
Reviewed-by: mgerdin, mgronlun, hseigel, stefank
2014-05-15 18:23:26 -04:00
Lois Foltan
fc1a61a3df
Merge
2014-05-12 15:50:20 +00:00
Volker Simonis
693f28c012
8039805: Fix the signature of the global new/delete operators in allocation.cpp
...
Reviewed-by: dholmes, lfoltan
2014-05-12 09:59:56 -04:00
Coleen Phillimore
388434f387
Merge
2014-05-12 09:47:57 -04: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
Jon Masamitsu
39154726de
Merge
2014-05-08 18:22:22 -07:00
Christian Thalinger
b2d6f9f78a
Merge
2014-05-08 15:08:45 -07:00
Goetz Lindenmaier
fb62773268
8042737: Introduce umbrella header prefetch.inline.hpp
...
Reviewed-by: twisti, stefank
2014-05-08 15:37:17 +02:00
Gerard Ziemski
ed9c096396
8038654: Separate SymbolTable and StringTable code
...
Refactor stringTable class out of symbolTable, making sure all includes are minimal set and are sorted.
Reviewed-by: coleenp, stefank
2014-05-07 14:16:45 -05:00
Lois Foltan
ee1b91d3f0
8041627: Solaris Studio 12.4 C++ 5.13 compilation error due to lack of "surplus" prototype for binaryTreeDictionary.cpp
...
Fix C++ compilation error diagnostic for the call of "surplus" within get_better_list() method.
Reviewed-by: coleenp, dholmes
2014-05-06 08:59:57 -04:00
Jesper Wilhelmsson
ded8b863dd
8042298: Remove the names gen0 and gen1 from the GC code
...
Renamed gen0 and gen1 to young and old throughout the GC code.
Reviewed-by: sjohanss, jcoomes
2014-05-02 02:11:34 +02:00
Jesper Wilhelmsson
47c9e23d81
8026396: Remove information duplication in the collector policy
...
Cleaned up the usage of flags in collector policy.
Reviewed-by: sjohanss, jcoomes
2014-04-30 02:41:00 +02:00
Goetz Lindenmaier
6e6f0720a9
8042195: Introduce umbrella header orderAccess.inline.hpp
...
Reviewed-by: dholmes, kvn, stefank, twisti
2014-04-29 15:17:27 +02:00
Stefan Karlsson
a97ce35fab
8039957: Replace the last few %p usages with PTR_FORMAT in the GC code
...
Reviewed-by: jwilhelm, sjohanss, jmasa
2014-04-15 20:46:23 +02:00
Stefan Karlsson
d78446aa45
8039743: Use correct format specifier to print size_t values and pointers in the GC code
...
Co-authored-by: Mikael Vidstedt <mikael.vidstedt@oracle.com>
Reviewed-by: jmasa, sjohanss
2014-04-09 13:54:32 +02:00
Erik Helin
4bc795f2db
Merge
2014-04-08 13:50:58 +02:00
Erik Helin
dda69c88e0
Merge
2014-04-04 10:24:48 +02:00
Mikael Gerdin
a52fd3388d
8037959: BitMap::resize frees old map before copying memory if !in_resource_area
...
Add reallocate functionality to ArrayAllocator and use it from BitMap::resize
Reviewed-by: brutisso, tschatzl
2014-04-02 14:17:34 +02:00
Erik Helin
977d1f7a5d
8038934: Remove prefix allocated_ from methods and variables in Metaspace
...
Reviewed-by: jmasa, coleenp
2014-03-31 17:09:38 +02:00
Dmitry Samersoff
5c15816a53
Merge
2014-03-30 03:29:48 -07:00
Stefan Johansson
1ed5b22d6e
8029186: regression-hotspot nightly failure: assert(FLAG_IS_DEFAULT(MaxNewSize) || MaxNewSize < MaxHeapSize) failed
...
Cleaned up the collector policy and added more asserts to enforce that the heap is correctly setup.
Reviewed-by: jwilhelm, jmasa
2014-03-19 17:08:03 +01:00
Jesper Wilhelmsson
0346ae4c9d
8027643: Merge GenCollectorPolicy and TwoGenerationCollectorPolicy
...
Merged the two calsses GenCollectorPolicy and TwoGenerationCollectorPolicy
Reviewed-by: sjohanss, jcoomes
2014-04-29 22:57:19 +02:00
Coleen Phillimore
472622d900
8031820: NPG: Fix remaining references to metadata as oops in comments
...
8012125: Comments for ConstantPoolCache should reflect the addition of resolved_references in ConstantPool
Updated comments in metadata header files, and renamed this_oop variables to this_cp or this_k when referring to constant pool or classes.
Reviewed-by: stefank, jmasa
2014-03-26 21:47:45 -04:00
Erik Helin
386f42f40c
Merge
2014-03-21 09:11:56 +01:00
Goetz Lindenmaier
e3ebae0947
8037962: metaspaceTracer.cpp misses a symbol
...
Reviewed-by: tschatzl, mgerdin
2014-03-20 15:53:17 +01:00
Zhengyu Gu
da4aab3c1d
8025550: valgrind: Conditional jump depends on uninitialised value in Arena::set_size_in_bytes()
...
Fixed initialized variable that could miscount arena memory
Reviewed-by: coleenp, ccheung
2014-03-17 13:39:17 -04:00
Erik Helin
e88724d567
Merge
2014-03-14 13:27:18 +01:00
Nils Eliasson
8c46e61622
Merge
2014-03-14 09:26:27 +01:00
Erik Helin
358b5bbebc
Merge
2014-03-14 09:18:39 +01:00
Albert Noll
e8bc971d19
8029799: vm/mlvm/anonloader/stress/oome prints warning: CodeHeap: # of free blocks > 10000
...
Double CodeCacheSegmentSize from 64 byte to 128 bytes if tiered compilation is enabled
Reviewed-by: kvn, twisti
2014-03-07 07:42:40 +01:00
Mikael Gerdin
74235d9630
8038399: Remove dead oop_iterate MemRegion variants from SharedHeap, Generation and Space classes
...
Reviewed-by: tschatzl, stefank
2014-03-06 09:08:18 +01:00
Erik Helin
63db52b7ed
Merge
2014-03-24 11:25:32 +01:00
Stefan Karlsson
8159b86e35
8037952: Remove code duplication in Metaspace::deallocate
...
Reviewed-by: tschatzl, pliden, coleenp
2014-03-20 15:03:18 +01:00
Mikhailo Seledtsov
eedf369513
8033990: Add message to verbose output to indicate when JVM was unable to use shared archive (with -Xshare:auto)
...
Added message to indicate when sharing was attempted but failed
Reviewed-by: coleenp, ctornqvi
2014-03-05 12:31:09 -05:00
Erik Helin
853fffb2cb
8036703: Add trace event with statistics for the metaspace chunk free lists
...
Reviewed-by: stefank, mgerdin, coleenp, egahlin
2014-03-18 09:03:28 +01:00
Erik Helin
0a79ba6680
8036701: Add trace event when a metaspace throws out of memory error
...
Reviewed-by: stefank, mgerdin
2014-03-18 08:00:21 +01:00
Erik Helin
b533eca89d
8036699: Add trace event when a metaspace allocation fails
...
Reviewed-by: jmasa, stefank
2014-03-18 07:00:06 +01:00
Erik Helin
51584519f4
8036698: Add trace event for updates to metaspace gc threshold
...
Reviewed-by: stefank, mgerdin
2014-03-17 20:59:19 +01:00
Erik Helin
c45adf1dca
Merge
2014-03-17 14:54:12 +01:00
Thomas Schatzl
a07b2194f7
8036860: Pad and cache-align the BiasedMappedArray
...
Pad and cache-align BiasedMappedArray instances by default to avoid performance variability problems due to false sharing, as instances of this data structures are typically used for performance sensitive code.
Reviewed-by: brutisso, stefank
2014-03-17 13:07:55 +01:00
Thomas Schatzl
cde8aa670b
8035815: Cache-align and pad the from card cache
...
The from card cache is a very frequently accessed data structure. It is essentially a 2d array of per-region values, one row of values for every GC thread. Pad and align the data structure to avoid false sharing.
Reviewed-by: stefank
2014-03-17 10:12:47 +01:00
Thomas Schatzl
329e55e7b0
8035406: Improve data structure for Code Cache remembered sets
...
Change the code cache remembered sets data structure from a GrowableArray to a chunked list of nmethods. This makes the data structure more amenable to parallelization, and decreases freeing time.
Reviewed-by: mgerdin, brutisso
2014-03-17 10:12:21 +01:00
Erik Helin
a45b9ead44
Merge
2014-02-25 11:02:11 +01:00
Per Lidén
4dc240f785
8079792: GC directory structure cleanup
...
Reviewed-by: brutisso, stefank, david
2015-05-13 15:16:06 +02:00
Stefan Karlsson
4248787654
8035393: Use CLDClosure instead of CLDToOopClosure in frame::oops_interpreted_do
...
Reviewed-by: tschatzl, coleenp
2014-02-21 10:01:20 +01:00
Erik Helin
7b6d31b4a5
Merge
2014-02-21 10:00:46 +01:00