Skip to content

Commit 821c514

Browse files
committed
8341692: Implement JEP 490: ZGC: Remove the Non-Generational Mode
Reviewed-by: ihse, eosterlund, stefank, prr, cjplummer, dholmes
1 parent 0fe15d6 commit 821c514

File tree

407 files changed

+425
-39280
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

407 files changed

+425
-39280
lines changed

make/RunTests.gmk

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -853,11 +853,7 @@ define SetupRunJtregTestBody
853853
endif
854854

855855
ifneq ($$(findstring -XX:+UseZGC, $$(JTREG_ALL_OPTIONS)), )
856-
ifneq ($$(findstring -XX:-ZGenerational, $$(JTREG_ALL_OPTIONS)), )
857-
JTREG_AUTO_PROBLEM_LISTS += ProblemList-zgc.txt
858-
else
859-
JTREG_AUTO_PROBLEM_LISTS += ProblemList-generational-zgc.txt
860-
endif
856+
JTREG_AUTO_PROBLEM_LISTS += ProblemList-zgc.txt
861857
endif
862858

863859
ifneq ($$(JTREG_EXTRA_PROBLEM_LISTS), )

make/hotspot/gensrc/GensrcAdlc.gmk

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,6 @@ ifeq ($(call check-jvm-feature, compiler2), true)
193193

194194
ifeq ($(call check-jvm-feature, zgc), true)
195195
AD_SRC_FILES += $(call uniq, $(wildcard $(foreach d, $(AD_SRC_ROOTS), \
196-
$d/cpu/$(HOTSPOT_TARGET_CPU_ARCH)/gc/x/x_$(HOTSPOT_TARGET_CPU).ad \
197-
$d/cpu/$(HOTSPOT_TARGET_CPU_ARCH)/gc/x/x_$(HOTSPOT_TARGET_CPU_ARCH).ad \
198196
$d/cpu/$(HOTSPOT_TARGET_CPU_ARCH)/gc/z/z_$(HOTSPOT_TARGET_CPU).ad \
199197
$d/cpu/$(HOTSPOT_TARGET_CPU_ARCH)/gc/z/z_$(HOTSPOT_TARGET_CPU_ARCH).ad \
200198
)))

make/hotspot/lib/JvmFeatures.gmk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ endif
150150
ifneq ($(call check-jvm-feature, zgc), true)
151151
JVM_CFLAGS_FEATURES += -DINCLUDE_ZGC=0
152152
JVM_EXCLUDE_PATTERNS += gc/z
153-
JVM_EXCLUDE_PATTERNS += gc/x
154153
endif
155154

156155
ifneq ($(call check-jvm-feature, shenandoahgc), true)

src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -990,10 +990,7 @@ void LIR_Assembler::mem2reg(LIR_Opr src, LIR_Opr dest, BasicType type, LIR_Patch
990990
__ decode_heap_oop(dest->as_register());
991991
}
992992

993-
if (!(UseZGC && !ZGenerational)) {
994-
// Load barrier has not yet been applied, so ZGC can't verify the oop here
995-
__ verify_oop(dest->as_register());
996-
}
993+
__ verify_oop(dest->as_register());
997994
}
998995
}
999996

0 commit comments

Comments
 (0)