8348182: Remove DONT_USE_PRECOMPILED_HEADER

Reviewed-by: erikj, shade, dholmes
This commit is contained in:
Stefan Karlsson 2025-01-22 09:25:40 +00:00
parent d777218f38
commit 9b98cc0ba7
2 changed files with 1 additions and 10 deletions

View File

@ -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

View File

@ -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