561 Commits

Author SHA1 Message Date
Coleen Phillimore
154a1a02bf 8216167: Update include guards to reflect correct directories
Use script and some manual fixup to fix directores names in include guards.

Reviewed-by: lfoltan, eosterlund, kbarrett
2019-01-10 15:13:51 -05:00
Roland Westrelin
65d240417f 8216482: Shenandoah: typo in ShenandoahBarrierSetC2::clone_barrier_at_expansion() causes failed compilations
Reviewed-by: thartmann, shade, rkennke
2019-01-10 13:54:09 +01:00
Jesper Wilhelmsson
67a5fc2529 Merge 2019-01-09 22:59:49 +01:00
Nils Eliasson
ff00dcde77 8215755: ZGC: split_barrier_thru_phi: check number of inputs of phi
Reviewed-by: pliden, thartmann
2019-01-09 15:36:20 +01:00
Per Lidén
f2f7690741 8215708: ZGC: Add missing LoadBarrierNode::size_of()
Reviewed-by: eosterlund, neliasso
2019-01-09 13:31:34 +01:00
Aleksey Shipilev
508152b0a6 8215724: Epsilon: ArrayStoreExceptionTest.java fails; missing arraycopy check
Reviewed-by: eosterlund, lkorinth
2019-01-09 15:53:56 +01:00
Claes Redestad
32b18201e8 8216285: Enable inlining of CollectedHeap::obj-/array-/class_allocate
Reviewed-by: ehelin
2019-01-08 10:54:00 +01:00
Kim Barrett
6a3c8e4c10 8215985: ZGC: Simplify reference processing in light of JDK-8175797
Only self-loop 'next' field for FinalReference deactivation.

Reviewed-by: eosterlund, pliden
2019-01-07 15:20:23 -05:00
Coleen Phillimore
1509c1ffe1 8215731: Move forward class definitions out of globalDefinitions.hpp
Redistribute the forward declarations to the header files that need them.

Reviewed-by: dholmes, lfoltan
2019-01-04 15:06:01 -05:00
Jesper Wilhelmsson
59716b0bb3 Merge 2019-01-02 16:05:13 +01:00
Stefan Johansson
b91fa3a6c8 8215898: Build broken on 32-bit after JDK-8211425
Reviewed-by: tschatzl
2018-12-22 15:47:10 +01:00
Kishor Kharbas
28f71c2c72 8211424: Allocation of old generation of java heap on alternate memory devices - Parallel GC
8202286: Allocation of old generation of Java heap on alternate memory devices

Enable an experimental feature in HotSpot JVM to allocate old generation of Parallel GC on an alternative memory device, such as NV-DIMMs.

Reviewed-by: sangheki, sjohanss
2018-12-21 08:23:55 -08:00
Kishor Kharbas
d580e2eed2 8211425: Allocation of old generation of java heap on alternate memory devices - G1 GC
8202286: Allocation of old generation of Java heap on alternate memory devices

Enable an experimental feature in HotSpot JVM to allocate old generation of G1 GC on an alternative memory device, such as NV-DIMMs.

Reviewed-by: sangheki, sjohanss
2018-12-21 08:18:59 -08:00
David Holmes
526f854cc1 8214097: Rework thread initialization and teardown logic
Reviewed-by: rehn, mgronlun, dcubed, kbarrett
2018-12-27 21:17:11 -05:00
Kim Barrett
575f633a96 8214201: Make PtrQueueSet completed buffer list private
Merge and make private in PtrQueueSet all completed buffer list handling

Reviewed-by: tschatzl, sjohanss
2018-12-26 19:24:00 -05:00
Jesper Wilhelmsson
eb3549baf7 Merge 2018-12-21 01:25:46 +01:00
Thomas Schatzl
1a1369d270 8215548: G1PeriodicGCSystemLoadThreshold needs to be a double
Change G1PeriodicGCSystemLoadThreshold to be a double to allow better granularity in determining idleness

Reviewed-by: sjohanss, sangheki
2018-12-20 19:44:33 +01:00
Per Lidén
2778c86488 8215547: ZGC: Fix incorrect match rule for loadBarrierWeakSlowRegNoVec
Reviewed-by: eosterlund, neliasso
2018-12-20 11:43:04 +01:00
Per Lidén
c9d7dd0827 8215487: ZGC: ZRuntimeWorkers incorrectly identify themselves as ZWorkers
Reviewed-by: eosterlund
2018-12-19 08:32:48 +01:00
Per Lidén
316924a7bd 8215492: Rename INTERNAL_EMPTY to something less "internal"
Reviewed-by: kbarrett, coleenp
2018-12-19 23:40:05 +01:00
Jesper Wilhelmsson
f4f859b446 Merge 2018-12-19 20:53:30 +01:00
Leo Korinth
811c84ba68 8214946: G1: Initialize all class members on construction
Reviewed-by: kbarrett, tschatzl
2018-12-17 11:37:40 +01:00
Zhengyu Gu
a85ad0aa18 8215220: Simplify Shenandoah task termination in aborted paths
Reviewed-by: shade
2018-12-12 13:50:57 -05:00
Thomas Schatzl
7223ed2205 8152724: Sum of eden before GC and current survivor capacity may be larger than heap size
Limit the maximum survivor size for a given GC to the remaining number of free regions.

Reviewed-by: sjohanss, sangheki
2018-12-12 12:00:02 +01:00
Kim Barrett
13b56530f4 8215097: Do not create NonJavaThreads before BarrierSet
G1 and CMS delay worker thread creation until BarrierSet exists.

Reviewed-by: dholmes, tschatzl
2018-12-11 18:00:17 -05:00
Erik Österlund
9897ff01e9 8214897: ZGC: Concurrent Class Unloading
Co-authored-by: Per Liden <per.liden@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Reviewed-by: pliden
2018-12-11 11:08:39 +01:00
Thomas Schatzl
f2765739f7 8215149: TestOptionsWithRangesDynamic.java fails after JDK-8215120
Removed range specifier completely.

Reviewed-by: sjohanss, shade
2018-12-10 18:32:47 +01:00
Roman Kennke
8b62a2ee9d 8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
Co-authored-by: Christine Flood <chf@redhat.com>
Co-authored-by: Aleksey Shipilev <shade@redhat.com>
Co-authored-by: Roland Westrelin <rwestrel@redhat.com>
Co-authored-by: Zhenygu Gu <zgu@redhat.com>
Co-authored-by: Andrew Haley <aph@redhat.com>
Co-authored-by: Andrew Dinn <adinn@redhat.com>
Co-authored-by: Mario Torre <mtorre@redhat.com>
Reviewed-by: kvn, roland, shade, coleenp, lmesnik, pliden, jgeorge, ihse, erikj
2018-12-10 15:47:44 +01:00
Aleksey Shipilev
df71ef8c78 8215120: 32-bit build failures after JDK-8212657 (Promptly Return Unused Committed Memory from G1)
Reviewed-by: tschatzl, rkennke
2018-12-10 15:31:36 +01:00
Thomas Schatzl
49efeb69ff 8212657: Implementation of JDK-8204089 Promptly Return Unused Committed Memory from G1
Issue optional, default enabled, concurrent cycles when the VM is idle to reclaim unused internal and Java heap memory.

Co-authored-by: Rodrigo Bruno <rbruno@gsd.inesc-id.pt>
Co-authored-by: Ruslan Synytsky <rs@jelastic.com>
Reviewed-by: sjohanss, sangheki
2018-12-10 10:25:27 +01:00
Coleen Phillimore
3d0faa649c 8214972: Uses of klass_holder() except GC need to apply GC barriers
Fix klass_holder() and make all callers use it, remove holder_phantom().

Reviewed-by: eosterlund, dlong
2018-12-07 14:48:35 -05:00
Zhengyu Gu
b9769c732e 8204947: Port ShenandoahTaskTerminator to mainline and make it default
Reviewed-by: tschatzl, rkennke
2018-12-07 13:55:06 -05:00
Man Cao
df4b7015bf 8213224: Move code related to GC threads calculation out of AdaptiveSizePolicy
Consolidate code related to GC threads calculation into a single class

Reviewed-by: tschatzl, pliden
2018-12-07 12:46:31 +08:00
Stefan Johansson
37f135132e 8213890: Implementation of JEP 344: Abortable Mixed Collections for G1
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Reviewed-by: tschatzl, kbarrett
2018-12-07 13:54:45 +01:00
Thomas Schatzl
3981414bce 8215005: Missing include of runtime/os.hpp in zError.cpp after JDK-8214925 breaks build without precompiled headers
Reviewed-by: shade
2018-12-07 11:15:18 +01:00
Nils Eliasson
4246096355 8214773: Replace use of thread unsafe strtok
Reviewed-by: thartmann, dholmes
2018-12-04 18:55:06 +01:00
Matthias Baesken
f8ccc8393b 8214944: replace strerror by os::strerror
Reviewed-by: dholmes, neliasso
2018-12-06 09:48:33 +01:00
Thomas Schatzl
528361f7ae 8214850: Rename vm_operations.?pp files to vmOperations.?pp files
Reviewed-by: dholmes, coleenp
2018-12-06 15:44:40 +01:00
Thomas Schatzl
eb5557a98e 8214791: Consistently name gc files containing VM operations
Name all gc files containing VM operations according to a <gc>VMOperations.?pp.

Reviewed-by: coleenp, dholmes
2018-12-06 15:44:13 +01:00
Thomas Schatzl
613912a595 8159440: Move marking of promoted objects during initial mark into the concurrent phase
Reviewed-by: sjohanss, kbarrett
2018-12-06 13:55:22 +01:00
Thomas Schatzl
b1c5e310ac 8193312: Rename VM_CGC_Operation to VM_G1Concurrent
Reviewed-by: pliden, sjohanss, jgeorge
2018-12-06 13:55:22 +01:00
Per Lidén
9b6ea802b5 8214786: Remove unused ThreadLocalAllocBuffer::verify()
Reviewed-by: kbarrett, eosterlund
2018-12-05 17:11:22 +01:00
Roland Westrelin
6cbb52dc24 8214541: ZGC: Refactoring from JDK-8214172 may leave PhaseIterGVN::_delay_transform set
Reviewed-by: eosterlund
2018-11-30 15:22:44 +01:00
Ioi Lam
a0a108fb01 8214388: CDS dumping fails with java heap fragmentation
Force a full GC with a single thread before writing heap archive regions

Reviewed-by: sjohanss, jiangli
2018-12-03 22:27:24 -08:00
Per Lidén
fff6e05c96 8214377: ZGC: Don't use memset to initialize array of ZForwardingTableEntry
Reviewed-by: rkennke, eosterlund
2018-12-03 14:52:49 +01:00
Sangheon Kim
098d20434c 8211735: Wrong heap mapper can be selected with UseLargePages on G1
Reviewed-by: tschatzl, kbarrett
2018-11-28 15:09:26 -08:00
Nils Eliasson
d92085431b 8214434: Disabling ZOptimizeLoadBarriers hits assert
Reviewed-by: kvn, pliden, eosterlund
2018-11-29 09:31:04 +01:00
Kim Barrett
978c78f7fc 8214278: Cleanup process_completed_threshold and related state
Change types, normalize names, remove special values.

Reviewed-by: tschatzl, sjohanss
2018-11-28 16:05:48 -05:00
Thomas Schatzl
0f0b8626fc 8213996: Remove one of the SparsePRT entry tables
Remove unused functionality in SparsePRT

Reviewed-by: shade, sjohanss
2018-11-28 11:06:58 +01:00
Roland Westrelin
cd0aafe76a 8214362: C2: gc interface entry point for split if
Reviewed-by: rkennke, thartmann
2018-11-27 14:49:13 +01:00