Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.

Commit

Permalink
8243470: [macos] bring back O2 opt level for unsafe.cpp
Browse files Browse the repository at this point in the history
Remove special case for unsafe.cpp on clang macos

Reviewed-by: erikj, ihse
  • Loading branch information
Vladimir Kempik committed Jun 23, 2020
1 parent f8596b5 commit 88df2f0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions make/hotspot/lib/JvmOverrideFiles.gmk
Expand Up @@ -92,9 +92,6 @@ else ifeq ($(call isTargetOs, macosx), true)
# NOTE: The old build tested clang version to make sure this workaround
# for the clang bug was still needed.
BUILD_LIBJVM_loopTransform.cpp_CXXFLAGS := $(CXX_O_FLAG_NONE)
ifneq ($(DEBUG_LEVEL), slowdebug)
BUILD_LIBJVM_unsafe.cpp_CXXFLAGS := -O1
endif

# The following files are compiled at various optimization
# levels due to optimization issues encountered at the
Expand All @@ -110,7 +107,6 @@ else ifeq ($(call isTargetOs, macosx), true)
sharedRuntimeTrig.cpp \
sharedRuntimeTrans.cpp \
loopTransform.cpp \
unsafe.cpp \
jvmciCompilerToVM.cpp \
$(OPT_SPEED_SRC) \
#
Expand Down

0 comments on commit 88df2f0

Please sign in to comment.