From 9b98cc0ba7b626141c5f82df6ae34b0e2015b2ae Mon Sep 17 00:00:00 2001 From: Stefan Karlsson Date: Wed, 22 Jan 2025 09:25:40 +0000 Subject: [PATCH] 8348182: Remove DONT_USE_PRECOMPILED_HEADER Reviewed-by: erikj, shade, dholmes --- make/hotspot/lib/JvmFlags.gmk | 5 ----- src/hotspot/share/precompiled/precompiled.hpp | 6 +----- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/make/hotspot/lib/JvmFlags.gmk b/make/hotspot/lib/JvmFlags.gmk index ded9ca4be3d..5544f391d4a 100644 --- a/make/hotspot/lib/JvmFlags.gmk +++ b/make/hotspot/lib/JvmFlags.gmk @@ -92,11 +92,6 @@ JVM_CFLAGS += \ $(EXTRA_CFLAGS) \ # -# -DDONT_USE_PRECOMPILED_HEADER will exclude all includes in precompiled.hpp. -ifeq ($(USE_PRECOMPILED_HEADER), false) - JVM_CFLAGS += -DDONT_USE_PRECOMPILED_HEADER -endif - ifneq ($(HOTSPOT_OVERRIDE_LIBPATH), ) JVM_CFLAGS += -DOVERRIDE_LIBPATH='"$(HOTSPOT_OVERRIDE_LIBPATH)"' endif diff --git a/src/hotspot/share/precompiled/precompiled.hpp b/src/hotspot/share/precompiled/precompiled.hpp index 07922d12969..a5f42a0fe86 100644 --- a/src/hotspot/share/precompiled/precompiled.hpp +++ b/src/hotspot/share/precompiled/precompiled.hpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2024, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2025, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -25,8 +25,6 @@ // Precompiled headers are turned off if the user passes // --disable-precompiled-headers to configure. -#ifndef DONT_USE_PRECOMPILED_HEADER - // These header files are included in at least 130 C++ files, as of // measurements made in November 2018. This list excludes files named // *.inline.hpp, since including them decreased build performance. @@ -77,5 +75,3 @@ #include "oops/oop.inline.hpp" #include "runtime/handles.inline.hpp" #endif // TARGET_COMPILER_visCPP - -#endif // !DONT_USE_PRECOMPILED_HEADER