8310728: Enable Zc:inline flag in Visual Studio build
Reviewed-by: erikj
This commit is contained in:
parent
56a73a6f0f
commit
48e61c1df5
@ -560,8 +560,8 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
|
|||||||
TOOLCHAIN_CFLAGS_JVM="-qtbtable=full -qtune=balanced -fno-exceptions \
|
TOOLCHAIN_CFLAGS_JVM="-qtbtable=full -qtune=balanced -fno-exceptions \
|
||||||
-qalias=noansi -qstrict -qtls=default -qnortti -qnoeh -qignerrno -qstackprotect"
|
-qalias=noansi -qstrict -qtls=default -qnortti -qnoeh -qignerrno -qstackprotect"
|
||||||
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
|
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
|
||||||
TOOLCHAIN_CFLAGS_JVM="-nologo -MD -Zc:preprocessor -Zc:strictStrings -MP"
|
TOOLCHAIN_CFLAGS_JVM="-nologo -MD -Zc:preprocessor -Zc:strictStrings -Zc:inline -MP"
|
||||||
TOOLCHAIN_CFLAGS_JDK="-nologo -MD -Zc:preprocessor -Zc:strictStrings -Zc:wchar_t-"
|
TOOLCHAIN_CFLAGS_JDK="-nologo -MD -Zc:preprocessor -Zc:strictStrings -Zc:inline -Zc:wchar_t-"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# CFLAGS C language level for JDK sources (hotspot only uses C++)
|
# CFLAGS C language level for JDK sources (hotspot only uses C++)
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#include "gc/x/xLargePages.inline.hpp"
|
#include "gc/x/xLargePages.inline.hpp"
|
||||||
#include "gc/x/xMapper_windows.hpp"
|
#include "gc/x/xMapper_windows.hpp"
|
||||||
#include "gc/x/xSyscall_windows.hpp"
|
#include "gc/x/xSyscall_windows.hpp"
|
||||||
#include "gc/x/xVirtualMemory.hpp"
|
#include "gc/x/xVirtualMemory.inline.hpp"
|
||||||
#include "utilities/align.hpp"
|
#include "utilities/align.hpp"
|
||||||
#include "utilities/debug.hpp"
|
#include "utilities/debug.hpp"
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2015, 2021, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -27,6 +27,7 @@
|
|||||||
#include "gc/x/xArray.inline.hpp"
|
#include "gc/x/xArray.inline.hpp"
|
||||||
#include "gc/x/xGlobals.hpp"
|
#include "gc/x/xGlobals.hpp"
|
||||||
#include "gc/x/xLargePages.inline.hpp"
|
#include "gc/x/xLargePages.inline.hpp"
|
||||||
|
#include "gc/x/xList.inline.hpp"
|
||||||
#include "gc/x/xNUMA.inline.hpp"
|
#include "gc/x/xNUMA.inline.hpp"
|
||||||
#include "gc/x/xPhysicalMemory.inline.hpp"
|
#include "gc/x/xPhysicalMemory.inline.hpp"
|
||||||
#include "logging/log.hpp"
|
#include "logging/log.hpp"
|
||||||
|
Loading…
Reference in New Issue
Block a user