mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 12:04:39 +02:00
7016023: Enable building ARM and PPC from src/closed repository
Reviewed-by: dholmes, bdelsart
This commit is contained in:
parent
7b4f8073f0
commit
31e3fe4a98
101 changed files with 972 additions and 31 deletions
|
@ -35,6 +35,12 @@
|
|||
#ifdef TARGET_ARCH_zero
|
||||
# include "globals_zero.hpp"
|
||||
#endif
|
||||
#ifdef TARGET_ARCH_arm
|
||||
# include "globals_arm.hpp"
|
||||
#endif
|
||||
#ifdef TARGET_ARCH_ppc
|
||||
# include "globals_ppc.hpp"
|
||||
#endif
|
||||
#ifdef TARGET_OS_FAMILY_linux
|
||||
# include "globals_linux.hpp"
|
||||
#endif
|
||||
|
@ -62,6 +68,12 @@
|
|||
#ifdef TARGET_OS_ARCH_windows_x86
|
||||
# include "globals_windows_x86.hpp"
|
||||
#endif
|
||||
#ifdef TARGET_OS_ARCH_linux_arm
|
||||
# include "globals_linux_arm.hpp"
|
||||
#endif
|
||||
#ifdef TARGET_OS_ARCH_linux_ppc
|
||||
# include "globals_linux_ppc.hpp"
|
||||
#endif
|
||||
#ifdef COMPILER1
|
||||
#ifdef TARGET_ARCH_x86
|
||||
# include "c1_globals_x86.hpp"
|
||||
|
@ -69,6 +81,12 @@
|
|||
#ifdef TARGET_ARCH_sparc
|
||||
# include "c1_globals_sparc.hpp"
|
||||
#endif
|
||||
#ifdef TARGET_ARCH_arm
|
||||
# include "c1_globals_arm.hpp"
|
||||
#endif
|
||||
#ifdef TARGET_ARCH_ppc
|
||||
# include "c1_globals_ppc.hpp"
|
||||
#endif
|
||||
#ifdef TARGET_OS_FAMILY_linux
|
||||
# include "c1_globals_linux.hpp"
|
||||
#endif
|
||||
|
@ -86,6 +104,9 @@
|
|||
#ifdef TARGET_ARCH_sparc
|
||||
# include "c2_globals_sparc.hpp"
|
||||
#endif
|
||||
#ifdef TARGET_ARCH_arm
|
||||
# include "c2_globals_arm.hpp"
|
||||
#endif
|
||||
#ifdef TARGET_OS_FAMILY_linux
|
||||
# include "c2_globals_linux.hpp"
|
||||
#endif
|
||||
|
@ -410,7 +431,14 @@ class CommandLineFlags {
|
|||
product_pd(bool, UseMembar, \
|
||||
"(Unstable) Issues membars on thread state transitions") \
|
||||
\
|
||||
/* Temporary: See 6948537 */ \
|
||||
/* Temp PPC Flag to allow disabling the use of lwsync on ppc platforms \
|
||||
* that don't support it. This will be replaced by processor detection \
|
||||
* logic. \
|
||||
*/ \
|
||||
product(bool, UsePPCLWSYNC, true, \
|
||||
"Use lwsync instruction if true, else use slower sync") \
|
||||
\
|
||||
/* Temporary: See 6948537 */ \
|
||||
experimental(bool, UseMemSetInBOT, true, \
|
||||
"(Unstable) uses memset in BOT updates in GC code") \
|
||||
\
|
||||
|
@ -1926,6 +1954,9 @@ class CommandLineFlags {
|
|||
product(bool, PrintRevisitStats, false, \
|
||||
"Print revisit (klass and MDO) stack related information") \
|
||||
\
|
||||
EMBEDDED_ONLY(product(bool, LowMemoryProtection, true, \
|
||||
"Enable LowMemoryProtection")) \
|
||||
\
|
||||
product_pd(bool, NeverActAsServerClassMachine, \
|
||||
"Never act like a server-class machine") \
|
||||
\
|
||||
|
@ -2630,6 +2661,25 @@ class CommandLineFlags {
|
|||
product(bool, UseStringCache, false, \
|
||||
"Enable String cache capabilities on String.java") \
|
||||
\
|
||||
/* byte strings */ \
|
||||
product(bool, UseCompressedStrings, false, \
|
||||
"Enable byte-valued strings") \
|
||||
\
|
||||
product(bool, SpecialStringCompress, true, \
|
||||
"special version of string compress") \
|
||||
\
|
||||
product(bool, SpecialStringInflate, true, \
|
||||
"special version of string inflate") \
|
||||
\
|
||||
product(bool, SpecialStringCompareToCC, true, \
|
||||
"special version of string compareToCC") \
|
||||
\
|
||||
product(bool, SpecialStringIndexOfCC, true, \
|
||||
"special version of string indexOfCC") \
|
||||
\
|
||||
product(bool, SpecialStringEqualsCC, true, \
|
||||
"special version of string equalsCC") \
|
||||
\
|
||||
/* statistics */ \
|
||||
develop(bool, CountCompiledCalls, false, \
|
||||
"counts method invocations") \
|
||||
|
@ -2851,9 +2901,13 @@ class CommandLineFlags {
|
|||
"Max. no. of lines in the stack trace for Java exceptions " \
|
||||
"(0 means all)") \
|
||||
\
|
||||
develop(intx, GuaranteedSafepointInterval, 1000, \
|
||||
NOT_EMBEDDED(develop(intx, GuaranteedSafepointInterval, 1000, \
|
||||
"Guarantee a safepoint (at least) every so many milliseconds " \
|
||||
"(0 means none)") \
|
||||
"(0 means none)")) \
|
||||
\
|
||||
EMBEDDED_ONLY(product(intx, GuaranteedSafepointInterval, 0, \
|
||||
"Guarantee a safepoint (at least) every so many milliseconds " \
|
||||
"(0 means none)")) \
|
||||
\
|
||||
product(intx, SafepointTimeoutDelay, 10000, \
|
||||
"Delay in milliseconds for option SafepointTimeout") \
|
||||
|
@ -3543,9 +3597,13 @@ class CommandLineFlags {
|
|||
\
|
||||
/* flags for performance data collection */ \
|
||||
\
|
||||
product(bool, UsePerfData, true, \
|
||||
NOT_EMBEDDED(product(bool, UsePerfData, true, \
|
||||
"Flag to disable jvmstat instrumentation for performance testing" \
|
||||
"and problem isolation purposes.") \
|
||||
"and problem isolation purposes.")) \
|
||||
\
|
||||
EMBEDDED_ONLY(product(bool, UsePerfData, false, \
|
||||
"Flag to disable jvmstat instrumentation for performance testing" \
|
||||
"and problem isolation purposes.")) \
|
||||
\
|
||||
product(bool, PerfDataSaveToFile, false, \
|
||||
"Save PerfData memory to hsperfdata_<pid> file on exit") \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue