1698 Commits

Author SHA1 Message Date
Vladimir Kozlov
67d90233b1 8207069: [AOT] we should check that VM uses the same GC as one used for AOT library generation
Reviewed-by: twisti, dnsimon, never
2018-07-19 13:41:56 -07:00
Zhengyu Gu
1c976267be 8207056: Epsilon GC to support object pinning
Epsilon GC to use object pinning to avoid expensive GCLocker

Reviewed-by: shade, rkennke
2018-07-11 13:55:38 -04:00
Jesper Wilhelmsson
dafb3af62d Merge 2018-07-11 21:41:43 +02:00
Boris Ulasevich
b32727d780 8207044: minimal vm build fail: missing #include
Add missing #include

Reviewed-by: kbarrett, shade
2018-07-11 15:08:44 -04:00
Mikael Vidstedt
dd4a832ab8 8207007: Add missing license header to zHash.inline.hpp
Reviewed-by: tschatzl, pliden
2018-07-10 16:14:48 -07:00
Thomas Schatzl
f57c7d1f4a 8206476: Wrong assert in phase_enum_2_phase_string() in referenceProcessorPhaseTimes.cpp
A less or equal than should be less than.

Reviewed-by: ehelin, kbarrett
2018-07-10 15:09:34 +02:00
Kim Barrett
051f4ed627 8204834: Fix confusing "allocate" naming in OopStorage
Allocate_list => allocation_list and so on.

Reviewed-by: dholmes, tschatzl, coleenp
2018-07-09 13:35:55 -04:00
Thomas Schatzl
66e825aa41 8206453: Taskqueue stats should count real steal attempts, not calls to GenericTaskQueueSet::steal
Reviewed-by: ehelin, kbarrett
2018-07-09 14:12:50 +02:00
Roman Kennke
3f0f527c5b 8206407: Primitive atomic_cmpxchg_in_heap_at() in BarrierSet::Access needs to call non-oop raw method
Reviewed-by: pliden, shade
2018-07-05 19:22:38 +02:00
Thomas Schatzl
e02646e05b 8203848: Missing remembered set entry in j.l.ref.references after JDK-8203028
Collect remembered sets for discovered fields while adding them to the list of discovered references.

Reviewed-by: kbarrett, eosterlund
2018-07-02 09:38:20 +02:00
Thomas Schatzl
cb9a168f8b 8205426: Humongous continues remembered set does not match humongous start region one after Remark
Remembered set states for humongous objects crossing an internal per-thread processing threshold could synchronized if the humongous continues regions were processed first.

Reviewed-by: ehelin, kbarrett
2018-07-09 10:19:51 +02:00
Erik Österlund
e4dbe9909f 8205683: Refactor heap allocation to separate concerns
Reviewed-by: pliden, kbarrett
2018-06-28 14:22:28 +02:00
Per Lidén
6be8921d13 8205993: ZGC: Fix typos and incorrect indentations
Reviewed-by: stefank
2018-06-28 12:14:37 +02:00
Stefan Karlsson
18eb98ccbc 8205923: ZGC: Verification applies load barriers before verification
Reviewed-by: pliden, eosterlund
2018-06-27 15:04:27 +02:00
Per Lidén
4d06934426 8205679: Remove unused ThreadLocalAllocBuffer::undo_allocate()
Reviewed-by: shade, stefank
2018-06-28 09:15:53 +02:00
Per Lidén
3a0cd3fcae 8205678: ZGC: Remove unused ZAllocationFlags::java_thread()
Reviewed-by: stefank, eosterlund
2018-06-27 19:45:06 +02:00
Per Lidén
3e296cc180 8205676: ZGC: Remove TLAB allocations in relocation path
Reviewed-by: stefank, eosterlund
2018-06-27 19:45:05 +02:00
Per Lidén
9234826c80 8205663: ZGC: Log metaspace used/capacity/committed/reserved
Reviewed-by: stefank, ehelin
2018-06-27 11:05:07 +02:00
Kim Barrett
8a2170dad7 8205559: Remove IN_CONCURRENT_ROOT Access decorator
Removed decorator and made all NativeAccess use barriers.

Reviewed-by: pliden, stefank
2018-06-26 16:59:38 -04:00
Stefan Karlsson
d4280206fd 8144992: Remove OopIterateClosure::idempotent
Reviewed-by: pliden, kbarrett
2018-06-26 13:55:17 +02:00
Stefan Karlsson
5012044e63 8205607: Use oop_iterate instead of oop_iterate_no_header
Reviewed-by: pliden, kbarrett
2018-06-26 13:54:19 +02:00
Thomas Schatzl
19f5116cd9 8204082: Make names of Young GCs more uniform in logs
All G1 young gcs now start with "Pause Young" plus a more detailed description

Reviewed-by: sjohanss
2018-06-26 11:09:42 +02:00
Stefan Karlsson
c228460bf5 8205632: Include stack.inline.hpp in markSweep.inline.hpp
Reviewed-by: kbarrett
2018-06-25 22:25:29 +02:00
Per Lidén
e0399f6060 8205924: ZGC: Premature OOME due to failure to expand backing file
Reviewed-by: ehelin
2018-07-04 12:04:02 +02:00
Stefan Karlsson
11813888b8 8204540: Automatic oop closure devirtualization
Reviewed-by: kbarrett, eosterlund
2018-05-26 06:59:49 +02:00
Per Lidén
22c9d34be1 8205405: ZGC: Decouple JFR type registration
Reviewed-by: stefank, mgronlun
2018-06-25 10:54:55 +02:00
Michihiro Horie
4641ea7bed 8204524: Unnecessary memory barriers in G1ParScanThreadState::copy_to_survivor_space
Reviewed-by: kbarrett, mdoerr, drwhite, tschatzl
2018-06-25 10:41:03 +02:00
Kim Barrett
b84c23399e 8205459: Rename Access API flag decorators
Rename OOP_NOT_NULL, IN_HEAP_ARRAY, AS_DEST_NOT_INITIALIZED

Reviewed-by: pliden, stefank
2018-06-22 17:46:58 -04:00
Chris Phillips
561ec75b9b 8203030: Zero s390 31 bit size_t type conflicts in shared code
Cast to size_t or change to size_t foe compatibility with other archs.

Reviewed-by: pliden, dholmes
2018-06-19 10:00:39 -04:00
Per Lidén
d33aa17aec 8205339: ZGC: VerifyBeforeIteration not yet supported
Reviewed-by: stefank, eosterlund
2018-06-20 11:33:43 +02:00
Per Lidén
98f42dc0f5 8205344: TraceMemoryManagerStats changes in JDK-8195115 broke ZGC
Reviewed-by: shade, eosterlund
2018-06-19 19:19:43 +02:00
Paul Hohensee
ebe240f3f4 8195115: G1 Old Gen MemoryPool CollectionUsage.used values don't reflect mixed GC results
Memory pools can now be optional collection participants, e.g., G1 Old Gen in an incremental collection.

Reviewed-by: ehelin, mchung
2018-06-19 05:18:49 -07:00
Lois Foltan
425e1a8bb8 8202605: Standardize on ClassLoaderData::loader_name() throughout the VM to obtain a class loader's name
Introduced ClassLoaderData::name() and ClassLoaderData::name_and_id() for use when obtaining a class loader's name.

Reviewed-by: coleenp, goetz, mchung, stuefe
2018-06-19 07:54:11 -04:00
Per Lidén
0cb0992377 8205064: Fail immediately if an unavailable GC is selected
Reviewed-by: rkennke, shade
2018-06-19 12:11:37 +02:00
Nils Eliasson
ea59779f5b 8204927: ZGC: assert(phase->idom(head) == head->in(LoopNode::EntryControl)) failed
Update idom

Reviewed-by: roland
2018-06-15 13:57:37 +02:00
Thomas Schatzl
9ae0be2289 8205043: Make parallel reference processing default for G1
Reviewed-by: kbarrett, sjohanss
2018-06-19 09:34:39 +02:00
Stefan Karlsson
14373f7ff8 8205163: ZGC: Keeps finalizable marked PhantomReference referents strongly alive
Reviewed-by: pliden, kbarrett
2018-06-19 08:44:31 +02:00
Stefan Karlsson
3905df21f5 8204538: Split ScanClosure and ScanClosureWithParBarrier
Reviewed-by: eosterlund, tschatzl, kbarrett
2018-06-07 10:11:36 +02:00
Matthias Baesken
effacccf36 8205091: AIX: build errors in hotspot after 8203641: Refactor String Deduplication into shared
Reviewed-by: simonis, stuefe, dholmes
2018-06-18 14:36:50 +02:00
Thomas Schatzl
7f9bbfa767 8043575: Dynamically parallelize reference processing work
In G1 automatically set the number of parallel Reference processing threads

Co-authored-by: Sangheon Kim <sangheon.kim@oracle.com>
Reviewed-by: sangheki, kbarrett
2018-06-18 12:11:59 +02:00
Thomas Schatzl
1a0553e4eb 8202845: Refactor reference processing for improved parallelism
Fold reference processing's nine phases into four to decrease startup and termination time of this phase.

Reviewed-by: kbarrett, sjohanss
2018-05-29 09:26:00 +02:00
Kim Barrett
05b5a78903 8204939: Change Access nomenclature: root to native
Rename RootAccess => NativeAccess, IN_ROOT => IN_NATIVE, and related cleanups.

Reviewed-by: pliden, stefank, coleenp
2018-06-15 16:53:58 -04:00
Vladimir Kozlov
9b7a61eff1 8184349: There should be some verification that EnableJVMCI is disabled if a GC not supporting JVMCI is selected
Exit VM with Error when JVMCI does not support seected GC.

Reviewed-by: iveresov, thartmann
2018-06-15 09:16:48 -07:00
Per Lidén
ec4c0637f8 8205050: ZGC: Incorrect use of RootAccess in ZHeapIterator
Reviewed-by: stefank, eosterlund
2018-06-15 13:31:50 +02:00
Per Lidén
57203871dd 8205028: ZGC: Remove incorrect comment in ZHeap::object_iterate()
Reviewed-by: stefank, eosterlund
2018-06-15 13:31:43 +02:00
Per Lidén
8b9c9258aa 8205024: ZGC: Worker threads boost mode not always enabled when is should be
Reviewed-by: stefank, eosterlund
2018-06-15 13:31:36 +02:00
Per Lidén
2f16dd96db 8205022: ZGC: SoftReferences not always cleared before throwing OOME
Reviewed-by: stefank, eosterlund
2018-06-15 13:31:27 +02:00
Per Lidén
39a24e8590 8205020: ZGC: Apply workaround for buggy sem_post() in glibc < 2.21
Reviewed-by: stefank, eosterlund
2018-06-15 13:31:20 +02:00
Jean Christophe Beyler
6129ed590c 8203394: Implementation of JEP 331: Low-Overhead Heap Profiling
Implement Low-Overhead Heap Profiling

Reviewed-by: eosterlund, gthornbr, rehn, sspitsyn, tschatzl
2018-06-15 00:49:54 -07:00
Zhengyu Gu
f6c168053f 8203641: Refactor String Deduplication into shared
Allows string deduplication to be shared among different collectors

Reviewed-by: tschatzl, rkennke
2018-06-14 09:59:21 -04:00