Merge
This commit is contained in:
commit
149c6327be
1
.hgtags
1
.hgtags
@ -306,3 +306,4 @@ da950f343762a856d69751570a4c07cfa68a415b jdk9-b59
|
|||||||
ac3f5a39d4ff14d70c365e12cf5ec8f2abd52a04 jdk9-b61
|
ac3f5a39d4ff14d70c365e12cf5ec8f2abd52a04 jdk9-b61
|
||||||
e7dbbef69d12b6a74dfad331b7188e7f893e8d29 jdk9-b62
|
e7dbbef69d12b6a74dfad331b7188e7f893e8d29 jdk9-b62
|
||||||
989253a902c34dcb7564695161c9200a5fbb7412 jdk9-b63
|
989253a902c34dcb7564695161c9200a5fbb7412 jdk9-b63
|
||||||
|
8ffdeabc7c2b9a8280bf46cae026ac46b4d31c26 jdk9-b64
|
||||||
|
@ -306,3 +306,4 @@ f25ee9f62427a9ba27418e5531a89754791a305b jdk9-b57
|
|||||||
ea38728b4f4bdd8fd0d7a89b18069f521cf05013 jdk9-b61
|
ea38728b4f4bdd8fd0d7a89b18069f521cf05013 jdk9-b61
|
||||||
105d045a69174d870b69bfe471b3f2d05a9f8ecc jdk9-b62
|
105d045a69174d870b69bfe471b3f2d05a9f8ecc jdk9-b62
|
||||||
0b32ed628fa60e4ab99fb0b5866d648e16231f17 jdk9-b63
|
0b32ed628fa60e4ab99fb0b5866d648e16231f17 jdk9-b63
|
||||||
|
82cf9aab9a83e41c8194ba01af9666afdb856cbe jdk9-b64
|
||||||
|
@ -705,9 +705,9 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
|
|||||||
# is performed.
|
# is performed.
|
||||||
filtered_files=`$ECHO "$files_present" \
|
filtered_files=`$ECHO "$files_present" \
|
||||||
| $SED -e 's/config.log//g' \
|
| $SED -e 's/config.log//g' \
|
||||||
-e 's/confdefs.h//g' \
|
-e 's/configure.log//g' \
|
||||||
-e 's/fixpath.exe//g' \
|
-e 's/confdefs.h//g' \
|
||||||
-e 's/ //g' \
|
-e 's/ //g' \
|
||||||
| $TR -d '\n'`
|
| $TR -d '\n'`
|
||||||
if test "x$filtered_files" != x; then
|
if test "x$filtered_files" != x; then
|
||||||
AC_MSG_NOTICE([Current directory is $CURDIR.])
|
AC_MSG_NOTICE([Current directory is $CURDIR.])
|
||||||
@ -1054,3 +1054,29 @@ AC_DEFUN_ONCE([BASIC_CHECK_BASH_OPTIONS],
|
|||||||
|
|
||||||
AC_SUBST(BASH_ARGS)
|
AC_SUBST(BASH_ARGS)
|
||||||
])
|
])
|
||||||
|
|
||||||
|
# Code to run after AC_OUTPUT
|
||||||
|
AC_DEFUN_ONCE([BASIC_POST_CONFIG_OUTPUT],
|
||||||
|
[
|
||||||
|
# Try to move config.log (generated by autoconf) to the configure-support directory.
|
||||||
|
if test -e ./config.log; then
|
||||||
|
$MV -f ./config.log "$CONFIGURESUPPORT_OUTPUTDIR/config.log" 2> /dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Rotate our log file (configure.log)
|
||||||
|
if test -e "$OUTPUT_ROOT/configure.log.old"; then
|
||||||
|
$RM -f "$OUTPUT_ROOT/configure.log.old"
|
||||||
|
fi
|
||||||
|
if test -e "$OUTPUT_ROOT/configure.log"; then
|
||||||
|
$MV -f "$OUTPUT_ROOT/configure.log" "$OUTPUT_ROOT/configure.log.old" 2> /dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Move configure.log from current directory to the build output root
|
||||||
|
if test -e ./configure.log; then
|
||||||
|
echo found it
|
||||||
|
$MV -f ./configure.log "$OUTPUT_ROOT/configure.log" 2> /dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Make the compare script executable
|
||||||
|
$CHMOD +x $OUTPUT_ROOT/compare.sh
|
||||||
|
])
|
||||||
|
11
common/autoconf/configure
vendored
11
common/autoconf/configure
vendored
@ -255,13 +255,10 @@ if test "x$conf_debug_configure" != x; then
|
|||||||
set -x
|
set -x
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x$conf_debug_configure" = xtrue; then
|
# Now transfer control to the script generated by autoconf. This is where the
|
||||||
# Turn on logging, but don't turn on twice when called recursive
|
# main work is done.
|
||||||
conf_debug_logfile=./debug-configure.log
|
conf_logfile=./configure.log
|
||||||
(exec 3>&1 ; (. $conf_script_to_run "${conf_processed_arguments[@]}" 2>&1 1>&3 ) | tee -a $conf_debug_logfile 1>&2 ; exec 3>&-) | tee -a $conf_debug_logfile
|
(exec 3>&1 ; (. $conf_script_to_run "${conf_processed_arguments[@]}" 2>&1 1>&3 ) | tee -a $conf_logfile 1>&2 ; exec 3>&-) | tee -a $conf_logfile
|
||||||
else
|
|
||||||
( . $conf_script_to_run "${conf_processed_arguments[@]}" )
|
|
||||||
fi
|
|
||||||
|
|
||||||
conf_result_code=$?
|
conf_result_code=$?
|
||||||
###
|
###
|
||||||
|
@ -265,15 +265,10 @@ CONFIG_STATUS="$CONFIGURESUPPORT_OUTPUTDIR/config.status"
|
|||||||
|
|
||||||
# Create the actual output files. Now the main work of configure is done.
|
# Create the actual output files. Now the main work of configure is done.
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
||||||
|
# After AC_OUTPUT, we need to do final work
|
||||||
CUSTOM_CONFIG_OUTPUT_GENERATED_HOOK
|
CUSTOM_CONFIG_OUTPUT_GENERATED_HOOK
|
||||||
|
BASIC_POST_CONFIG_OUTPUT
|
||||||
# Try to move the config.log file to the output directory.
|
|
||||||
if test -e ./config.log; then
|
|
||||||
$MV -f ./config.log "$CONFIGURESUPPORT_OUTPUTDIR/config.log" 2> /dev/null
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Make the compare script executable
|
|
||||||
$CHMOD +x $OUTPUT_ROOT/compare.sh
|
|
||||||
|
|
||||||
# Finally output some useful information to the user
|
# Finally output some useful information to the user
|
||||||
HELP_PRINT_SUMMARY_AND_WARNINGS
|
HELP_PRINT_SUMMARY_AND_WARNINGS
|
||||||
|
@ -231,7 +231,6 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_LIBS],
|
|||||||
|
|
||||||
AC_SUBST(C_FLAG_REORDER)
|
AC_SUBST(C_FLAG_REORDER)
|
||||||
AC_SUBST(CXX_FLAG_REORDER)
|
AC_SUBST(CXX_FLAG_REORDER)
|
||||||
AC_SUBST(SHARED_LIBRARY_FLAGS)
|
|
||||||
AC_SUBST(SET_EXECUTABLE_ORIGIN)
|
AC_SUBST(SET_EXECUTABLE_ORIGIN)
|
||||||
AC_SUBST(SET_SHARED_LIBRARY_ORIGIN)
|
AC_SUBST(SET_SHARED_LIBRARY_ORIGIN)
|
||||||
AC_SUBST(SET_SHARED_LIBRARY_NAME)
|
AC_SUBST(SET_SHARED_LIBRARY_NAME)
|
||||||
@ -524,6 +523,10 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
|
|||||||
# CXXFLAGS_JDK - C++ Compiler flags
|
# CXXFLAGS_JDK - C++ Compiler flags
|
||||||
# COMMON_CCXXFLAGS_JDK - common to C and C++
|
# COMMON_CCXXFLAGS_JDK - common to C and C++
|
||||||
if test "x$TOOLCHAIN_TYPE" = xgcc; then
|
if test "x$TOOLCHAIN_TYPE" = xgcc; then
|
||||||
|
if test "x$OPENJDK_TARGET_CPU" = xx86; then
|
||||||
|
# Force compatibility with i586 on 32 bit intel platforms.
|
||||||
|
COMMON_CCXXFLAGS="${COMMON_CCXXFLAGS} -march=i586"
|
||||||
|
fi
|
||||||
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS $COMMON_CCXXFLAGS_JDK -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wformat=2 \
|
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS $COMMON_CCXXFLAGS_JDK -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wformat=2 \
|
||||||
-pipe -D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE"
|
-pipe -D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE"
|
||||||
case $OPENJDK_TARGET_CPU_ARCH in
|
case $OPENJDK_TARGET_CPU_ARCH in
|
||||||
@ -900,6 +903,24 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_MISC],
|
|||||||
[COMPILER_SUPPORTS_TARGET_BITS_FLAG=false])
|
[COMPILER_SUPPORTS_TARGET_BITS_FLAG=false])
|
||||||
AC_SUBST(COMPILER_SUPPORTS_TARGET_BITS_FLAG)
|
AC_SUBST(COMPILER_SUPPORTS_TARGET_BITS_FLAG)
|
||||||
|
|
||||||
|
AC_ARG_ENABLE([warnings-as-errors], [AS_HELP_STRING([--disable-warnings-as-errors],
|
||||||
|
[do not consider native warnings to be an error @<:@enabled@:>@])])
|
||||||
|
|
||||||
|
AC_MSG_CHECKING([if native warnings are errors])
|
||||||
|
if test "x$enable_warnings_as_errors" = "xyes"; then
|
||||||
|
AC_MSG_RESULT([yes (explicitely set)])
|
||||||
|
WARNINGS_AS_ERRORS=true
|
||||||
|
elif test "x$enable_warnings_as_errors" = "xno"; then
|
||||||
|
AC_MSG_RESULT([no])
|
||||||
|
WARNINGS_AS_ERRORS=false
|
||||||
|
elif test "x$enable_warnings_as_errors" = "x"; then
|
||||||
|
AC_MSG_RESULT([yes (default)])
|
||||||
|
WARNINGS_AS_ERRORS=true
|
||||||
|
else
|
||||||
|
AC_MSG_ERROR([--enable-warnings-as-errors accepts no argument])
|
||||||
|
fi
|
||||||
|
AC_SUBST(WARNINGS_AS_ERRORS)
|
||||||
|
|
||||||
case "${TOOLCHAIN_TYPE}" in
|
case "${TOOLCHAIN_TYPE}" in
|
||||||
microsoft)
|
microsoft)
|
||||||
DISABLE_WARNING_PREFIX="-wd"
|
DISABLE_WARNING_PREFIX="-wd"
|
||||||
|
@ -684,6 +684,7 @@ ZIP_DEBUGINFO_FILES
|
|||||||
ENABLE_DEBUG_SYMBOLS
|
ENABLE_DEBUG_SYMBOLS
|
||||||
CFLAGS_WARNINGS_ARE_ERRORS
|
CFLAGS_WARNINGS_ARE_ERRORS
|
||||||
DISABLE_WARNING_PREFIX
|
DISABLE_WARNING_PREFIX
|
||||||
|
WARNINGS_AS_ERRORS
|
||||||
COMPILER_SUPPORTS_TARGET_BITS_FLAG
|
COMPILER_SUPPORTS_TARGET_BITS_FLAG
|
||||||
ZERO_ARCHFLAG
|
ZERO_ARCHFLAG
|
||||||
LDFLAGS_TESTEXE_SUFFIX
|
LDFLAGS_TESTEXE_SUFFIX
|
||||||
@ -727,7 +728,6 @@ SET_SHARED_LIBRARY_MAPFILE
|
|||||||
SET_SHARED_LIBRARY_NAME
|
SET_SHARED_LIBRARY_NAME
|
||||||
SET_SHARED_LIBRARY_ORIGIN
|
SET_SHARED_LIBRARY_ORIGIN
|
||||||
SET_EXECUTABLE_ORIGIN
|
SET_EXECUTABLE_ORIGIN
|
||||||
SHARED_LIBRARY_FLAGS
|
|
||||||
CXX_FLAG_REORDER
|
CXX_FLAG_REORDER
|
||||||
C_FLAG_REORDER
|
C_FLAG_REORDER
|
||||||
SYSROOT_LDFLAGS
|
SYSROOT_LDFLAGS
|
||||||
@ -1086,6 +1086,7 @@ with_jtreg
|
|||||||
with_extra_cflags
|
with_extra_cflags
|
||||||
with_extra_cxxflags
|
with_extra_cxxflags
|
||||||
with_extra_ldflags
|
with_extra_ldflags
|
||||||
|
enable_warnings_as_errors
|
||||||
enable_debug_symbols
|
enable_debug_symbols
|
||||||
enable_zip_debug_info
|
enable_zip_debug_info
|
||||||
enable_native_coverage
|
enable_native_coverage
|
||||||
@ -1852,6 +1853,9 @@ Optional Features:
|
|||||||
--enable-rmiconnector-iiop
|
--enable-rmiconnector-iiop
|
||||||
enable the JMX RMIConnector iiop transport
|
enable the JMX RMIConnector iiop transport
|
||||||
[disabled]
|
[disabled]
|
||||||
|
--disable-warnings-as-errors
|
||||||
|
do not consider native warnings to be an error
|
||||||
|
[enabled]
|
||||||
--disable-debug-symbols disable generation of debug symbols [enabled]
|
--disable-debug-symbols disable generation of debug symbols [enabled]
|
||||||
--disable-zip-debug-info
|
--disable-zip-debug-info
|
||||||
disable zipping of debug-info files [enabled]
|
disable zipping of debug-info files [enabled]
|
||||||
@ -3496,6 +3500,9 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
|||||||
# Check for support for specific options in bash
|
# Check for support for specific options in bash
|
||||||
|
|
||||||
|
|
||||||
|
# Code to run after AC_OUTPUT
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2012, 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.
|
||||||
@ -4359,7 +4366,7 @@ VS_SDK_PLATFORM_NAME_2013=
|
|||||||
#CUSTOM_AUTOCONF_INCLUDE
|
#CUSTOM_AUTOCONF_INCLUDE
|
||||||
|
|
||||||
# Do not change or remove the following line, it is needed for consistency checks:
|
# Do not change or remove the following line, it is needed for consistency checks:
|
||||||
DATE_WHEN_GENERATED=1430918902
|
DATE_WHEN_GENERATED=1431429776
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
#
|
#
|
||||||
@ -15335,9 +15342,9 @@ $as_echo "in current directory" >&6; }
|
|||||||
# is performed.
|
# is performed.
|
||||||
filtered_files=`$ECHO "$files_present" \
|
filtered_files=`$ECHO "$files_present" \
|
||||||
| $SED -e 's/config.log//g' \
|
| $SED -e 's/config.log//g' \
|
||||||
-e 's/confdefs.h//g' \
|
-e 's/configure.log//g' \
|
||||||
-e 's/fixpath.exe//g' \
|
-e 's/confdefs.h//g' \
|
||||||
-e 's/ //g' \
|
-e 's/ //g' \
|
||||||
| $TR -d '\n'`
|
| $TR -d '\n'`
|
||||||
if test "x$filtered_files" != x; then
|
if test "x$filtered_files" != x; then
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: Current directory is $CURDIR." >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: Current directory is $CURDIR." >&5
|
||||||
@ -41761,7 +41768,6 @@ $as_echo "$ac_cv_c_bigendian" >&6; }
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
|
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
|
||||||
CFLAGS_JDK="${CFLAGS_JDK} -D__solaris__"
|
CFLAGS_JDK="${CFLAGS_JDK} -D__solaris__"
|
||||||
CXXFLAGS_JDK="${CXXFLAGS_JDK} -D__solaris__"
|
CXXFLAGS_JDK="${CXXFLAGS_JDK} -D__solaris__"
|
||||||
@ -42029,6 +42035,10 @@ fi
|
|||||||
# CXXFLAGS_JDK - C++ Compiler flags
|
# CXXFLAGS_JDK - C++ Compiler flags
|
||||||
# COMMON_CCXXFLAGS_JDK - common to C and C++
|
# COMMON_CCXXFLAGS_JDK - common to C and C++
|
||||||
if test "x$TOOLCHAIN_TYPE" = xgcc; then
|
if test "x$TOOLCHAIN_TYPE" = xgcc; then
|
||||||
|
if test "x$OPENJDK_TARGET_CPU" = xx86; then
|
||||||
|
# Force compatibility with i586 on 32 bit intel platforms.
|
||||||
|
COMMON_CCXXFLAGS="${COMMON_CCXXFLAGS} -march=i586"
|
||||||
|
fi
|
||||||
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS $COMMON_CCXXFLAGS_JDK -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wformat=2 \
|
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS $COMMON_CCXXFLAGS_JDK -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wformat=2 \
|
||||||
-pipe -D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE"
|
-pipe -D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE"
|
||||||
case $OPENJDK_TARGET_CPU_ARCH in
|
case $OPENJDK_TARGET_CPU_ARCH in
|
||||||
@ -42471,6 +42481,31 @@ $as_echo "$supports" >&6; }
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Check whether --enable-warnings-as-errors was given.
|
||||||
|
if test "${enable_warnings_as_errors+set}" = set; then :
|
||||||
|
enableval=$enable_warnings_as_errors;
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if native warnings are errors" >&5
|
||||||
|
$as_echo_n "checking if native warnings are errors... " >&6; }
|
||||||
|
if test "x$enable_warnings_as_errors" = "xyes"; then
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (explicitely set)" >&5
|
||||||
|
$as_echo "yes (explicitely set)" >&6; }
|
||||||
|
WARNINGS_AS_ERRORS=true
|
||||||
|
elif test "x$enable_warnings_as_errors" = "xno"; then
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
|
$as_echo "no" >&6; }
|
||||||
|
WARNINGS_AS_ERRORS=false
|
||||||
|
elif test "x$enable_warnings_as_errors" = "x"; then
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
|
||||||
|
$as_echo "yes (default)" >&6; }
|
||||||
|
WARNINGS_AS_ERRORS=true
|
||||||
|
else
|
||||||
|
as_fn_error $? "--enable-warnings-as-errors accepts no argument" "$LINENO" 5
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
case "${TOOLCHAIN_TYPE}" in
|
case "${TOOLCHAIN_TYPE}" in
|
||||||
microsoft)
|
microsoft)
|
||||||
DISABLE_WARNING_PREFIX="-wd"
|
DISABLE_WARNING_PREFIX="-wd"
|
||||||
@ -54179,14 +54214,31 @@ $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# After AC_OUTPUT, we need to do final work
|
||||||
|
|
||||||
# Try to move the config.log file to the output directory.
|
|
||||||
if test -e ./config.log; then
|
|
||||||
$MV -f ./config.log "$CONFIGURESUPPORT_OUTPUTDIR/config.log" 2> /dev/null
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Make the compare script executable
|
# Try to move config.log (generated by autoconf) to the configure-support directory.
|
||||||
$CHMOD +x $OUTPUT_ROOT/compare.sh
|
if test -e ./config.log; then
|
||||||
|
$MV -f ./config.log "$CONFIGURESUPPORT_OUTPUTDIR/config.log" 2> /dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Rotate our log file (configure.log)
|
||||||
|
if test -e "$OUTPUT_ROOT/configure.log.old"; then
|
||||||
|
$RM -f "$OUTPUT_ROOT/configure.log.old"
|
||||||
|
fi
|
||||||
|
if test -e "$OUTPUT_ROOT/configure.log"; then
|
||||||
|
$MV -f "$OUTPUT_ROOT/configure.log" "$OUTPUT_ROOT/configure.log.old" 2> /dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Move configure.log from current directory to the build output root
|
||||||
|
if test -e ./configure.log; then
|
||||||
|
echo found it
|
||||||
|
$MV -f ./configure.log "$OUTPUT_ROOT/configure.log" 2> /dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Make the compare script executable
|
||||||
|
$CHMOD +x $OUTPUT_ROOT/compare.sh
|
||||||
|
|
||||||
|
|
||||||
# Finally output some useful information to the user
|
# Finally output some useful information to the user
|
||||||
|
|
||||||
@ -54280,14 +54332,20 @@ $CHMOD +x $OUTPUT_ROOT/compare.sh
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
if test -e "$OUTPUT_ROOT/config.log"; then
|
# Locate config.log.
|
||||||
$GREP '^configure:.*: WARNING:' "$OUTPUT_ROOT/config.log" > /dev/null 2>&1
|
if test -e "$CONFIGURESUPPORT_OUTPUTDIR/config.log"; then
|
||||||
if test $? -eq 0; then
|
CONFIG_LOG_PATH="$CONFIGURESUPPORT_OUTPUTDIR"
|
||||||
printf "The following warnings were produced. Repeated here for convenience:\n"
|
elif test -e "./config.log"; then
|
||||||
# We must quote sed expression (using []) to stop m4 from eating the [].
|
CONFIG_LOG_PATH="."
|
||||||
$GREP '^configure:.*: WARNING:' "$OUTPUT_ROOT/config.log" | $SED -e 's/^configure:[0-9]*: //'
|
|
||||||
printf "\n"
|
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
|
if test -e "$CONFIG_LOG_PATH/config.log"; then
|
||||||
|
$GREP '^configure:.*: WARNING:' "$CONFIG_LOG_PATH/config.log" > /dev/null 2>&1
|
||||||
|
if test $? -eq 0; then
|
||||||
|
printf "The following warnings were produced. Repeated here for convenience:\n"
|
||||||
|
# We must quote sed expression (using []) to stop m4 from eating the [].
|
||||||
|
$GREP '^configure:.*: WARNING:' "$CONFIG_LOG_PATH/config.log" | $SED -e 's/^configure:[0-9]*: //'
|
||||||
|
printf "\n"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
@ -212,7 +212,7 @@ AC_DEFUN_ONCE([HELP_PRINT_SUMMARY_AND_WARNINGS],
|
|||||||
if test "x$TOOLCHAIN_VERSION" != "x"; then
|
if test "x$TOOLCHAIN_VERSION" != "x"; then
|
||||||
print_version=" $TOOLCHAIN_VERSION"
|
print_version=" $TOOLCHAIN_VERSION"
|
||||||
fi
|
fi
|
||||||
printf "* Toolchain: $TOOLCHAIN_TYPE ($TOOLCHAIN_DESCRIPTION$print_version)\n"
|
printf "* Toolchain: $TOOLCHAIN_TYPE ($TOOLCHAIN_DESCRIPTION$print_version)\n"
|
||||||
printf "* C Compiler: Version $CC_VERSION_NUMBER (at $CC)\n"
|
printf "* C Compiler: Version $CC_VERSION_NUMBER (at $CC)\n"
|
||||||
printf "* C++ Compiler: Version $CXX_VERSION_NUMBER (at $CXX)\n"
|
printf "* C++ Compiler: Version $CXX_VERSION_NUMBER (at $CXX)\n"
|
||||||
|
|
||||||
@ -263,14 +263,20 @@ AC_DEFUN_ONCE([HELP_PRINT_SUMMARY_AND_WARNINGS],
|
|||||||
|
|
||||||
AC_DEFUN_ONCE([HELP_REPEAT_WARNINGS],
|
AC_DEFUN_ONCE([HELP_REPEAT_WARNINGS],
|
||||||
[
|
[
|
||||||
if test -e "$OUTPUT_ROOT/config.log"; then
|
# Locate config.log.
|
||||||
$GREP '^configure:.*: WARNING:' "$OUTPUT_ROOT/config.log" > /dev/null 2>&1
|
if test -e "$CONFIGURESUPPORT_OUTPUTDIR/config.log"; then
|
||||||
if test $? -eq 0; then
|
CONFIG_LOG_PATH="$CONFIGURESUPPORT_OUTPUTDIR"
|
||||||
printf "The following warnings were produced. Repeated here for convenience:\n"
|
elif test -e "./config.log"; then
|
||||||
# We must quote sed expression (using []) to stop m4 from eating the [].
|
CONFIG_LOG_PATH="."
|
||||||
$GREP '^configure:.*: WARNING:' "$OUTPUT_ROOT/config.log" | $SED -e [ 's/^configure:[0-9]*: //' ]
|
|
||||||
printf "\n"
|
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
|
if test -e "$CONFIG_LOG_PATH/config.log"; then
|
||||||
|
$GREP '^configure:.*: WARNING:' "$CONFIG_LOG_PATH/config.log" > /dev/null 2>&1
|
||||||
|
if test $? -eq 0; then
|
||||||
|
printf "The following warnings were produced. Repeated here for convenience:\n"
|
||||||
|
# We must quote sed expression (using []) to stop m4 from eating the [].
|
||||||
|
$GREP '^configure:.*: WARNING:' "$CONFIG_LOG_PATH/config.log" | $SED -e [ 's/^configure:[0-9]*: //' ]
|
||||||
|
printf "\n"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
])
|
])
|
||||||
|
@ -321,6 +321,9 @@ CXX_FLAG_DEPS:=@CXX_FLAG_DEPS@
|
|||||||
DISABLE_WARNING_PREFIX := @DISABLE_WARNING_PREFIX@
|
DISABLE_WARNING_PREFIX := @DISABLE_WARNING_PREFIX@
|
||||||
CFLAGS_WARNINGS_ARE_ERRORS:=@CFLAGS_WARNINGS_ARE_ERRORS@
|
CFLAGS_WARNINGS_ARE_ERRORS:=@CFLAGS_WARNINGS_ARE_ERRORS@
|
||||||
|
|
||||||
|
# A global flag (true or false) determining if native warnings are considered errors.
|
||||||
|
WARNINGS_AS_ERRORS := @WARNINGS_AS_ERRORS@
|
||||||
|
|
||||||
CFLAGS_CCACHE:=@CFLAGS_CCACHE@
|
CFLAGS_CCACHE:=@CFLAGS_CCACHE@
|
||||||
|
|
||||||
# Tools that potentially need to be cross compilation aware.
|
# Tools that potentially need to be cross compilation aware.
|
||||||
@ -394,9 +397,6 @@ STRIP:=@STRIP@
|
|||||||
|
|
||||||
LIPO:=@LIPO@
|
LIPO:=@LIPO@
|
||||||
|
|
||||||
# Command to create a shared library
|
|
||||||
SHARED_LIBRARY_FLAGS:=@SHARED_LIBRARY_FLAGS@
|
|
||||||
|
|
||||||
# Options to linker to specify a mapfile.
|
# Options to linker to specify a mapfile.
|
||||||
# (Note absence of := assignment, because we do not want to evaluate the macro body here)
|
# (Note absence of := assignment, because we do not want to evaluate the macro body here)
|
||||||
SET_SHARED_LIBRARY_MAPFILE=@SET_SHARED_LIBRARY_MAPFILE@
|
SET_SHARED_LIBRARY_MAPFILE=@SET_SHARED_LIBRARY_MAPFILE@
|
||||||
|
@ -306,3 +306,4 @@ caa330b275f39282793466529f6864766b31d9fd jdk9-b60
|
|||||||
d690f489ca0bb95a6157d996da2fa72bcbcf02ea jdk9-b61
|
d690f489ca0bb95a6157d996da2fa72bcbcf02ea jdk9-b61
|
||||||
d27f7e0a7aca129969de23e9934408a31b4abf4c jdk9-b62
|
d27f7e0a7aca129969de23e9934408a31b4abf4c jdk9-b62
|
||||||
0acac6937de7a0868f8c6f88b7d036d780abeee6 jdk9-b63
|
0acac6937de7a0868f8c6f88b7d036d780abeee6 jdk9-b63
|
||||||
|
0a5e5a7c3539e8bde73d9fe55750e49a49cb8dac jdk9-b64
|
||||||
|
@ -466,3 +466,4 @@ ee878f3d6732856f7725c590312bfbe2ffa52cc7 jdk9-b58
|
|||||||
715d2da5801c410746e92f08066d53bde1496286 jdk9-b61
|
715d2da5801c410746e92f08066d53bde1496286 jdk9-b61
|
||||||
1eab877142cce6ca06e556e2ad0af688f993f00b jdk9-b62
|
1eab877142cce6ca06e556e2ad0af688f993f00b jdk9-b62
|
||||||
2ac9b6b36689b50d1562627067c92d51781b5684 jdk9-b63
|
2ac9b6b36689b50d1562627067c92d51781b5684 jdk9-b63
|
||||||
|
bf92b8db249cdfa5651ef954b6c0743a7e0ea4cd jdk9-b64
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2000, 2015, 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
|
||||||
@ -79,11 +79,10 @@ sun.jvm.hotspot.debugger.windbg \
|
|||||||
sun.jvm.hotspot.debugger.windbg.amd64 \
|
sun.jvm.hotspot.debugger.windbg.amd64 \
|
||||||
sun.jvm.hotspot.debugger.windbg.x86 \
|
sun.jvm.hotspot.debugger.windbg.x86 \
|
||||||
sun.jvm.hotspot.debugger.x86 \
|
sun.jvm.hotspot.debugger.x86 \
|
||||||
sun.jvm.hotspot.gc_implementation \
|
sun.jvm.hotspot.gc \
|
||||||
sun.jvm.hotspot.gc_implementation.g1 \
|
sun.jvm.hotspot.gc.g1 \
|
||||||
sun.jvm.hotspot.gc_implementation.parallelScavenge \
|
sun.jvm.hotspot.gc.parallel \
|
||||||
sun.jvm.hotspot.gc_implementation.shared \
|
sun.jvm.hotspot.gc.shared \
|
||||||
sun.jvm.hotspot.gc_interface \
|
|
||||||
sun.jvm.hotspot.interpreter \
|
sun.jvm.hotspot.interpreter \
|
||||||
sun.jvm.hotspot.jdi \
|
sun.jvm.hotspot.jdi \
|
||||||
sun.jvm.hotspot.memory \
|
sun.jvm.hotspot.memory \
|
||||||
@ -168,9 +167,9 @@ sun/jvm/hotspot/debugger/win32/coff/*.java \
|
|||||||
sun/jvm/hotspot/debugger/windbg/*.java \
|
sun/jvm/hotspot/debugger/windbg/*.java \
|
||||||
sun/jvm/hotspot/debugger/windbg/x86/*.java \
|
sun/jvm/hotspot/debugger/windbg/x86/*.java \
|
||||||
sun/jvm/hotspot/debugger/x86/*.java \
|
sun/jvm/hotspot/debugger/x86/*.java \
|
||||||
sun/jvm/hotspot/gc_implementation/g1/*.java \
|
sun/jvm/hotspot/gc/g1/*.java \
|
||||||
sun/jvm/hotspot/gc_implementation/parallelScavenge/*.java \
|
sun/jvm/hotspot/gc/parallel/*.java \
|
||||||
sun/jvm/hotspot/gc_implementation/shared/*.java \
|
sun/jvm/hotspot/gc/shared/*.java \
|
||||||
sun/jvm/hotspot/interpreter/*.java \
|
sun/jvm/hotspot/interpreter/*.java \
|
||||||
sun/jvm/hotspot/jdi/*.java \
|
sun/jvm/hotspot/jdi/*.java \
|
||||||
sun/jvm/hotspot/memory/*.java \
|
sun/jvm/hotspot/memory/*.java \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2000, 2015, 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
|
||||||
@ -33,8 +33,8 @@ import java.util.*;
|
|||||||
import sun.jvm.hotspot.code.*;
|
import sun.jvm.hotspot.code.*;
|
||||||
import sun.jvm.hotspot.compiler.*;
|
import sun.jvm.hotspot.compiler.*;
|
||||||
import sun.jvm.hotspot.debugger.*;
|
import sun.jvm.hotspot.debugger.*;
|
||||||
import sun.jvm.hotspot.gc_implementation.parallelScavenge.*;
|
import sun.jvm.hotspot.gc.parallel.*;
|
||||||
import sun.jvm.hotspot.gc_interface.*;
|
import sun.jvm.hotspot.gc.shared.*;
|
||||||
import sun.jvm.hotspot.interpreter.*;
|
import sun.jvm.hotspot.interpreter.*;
|
||||||
import sun.jvm.hotspot.memory.*;
|
import sun.jvm.hotspot.memory.*;
|
||||||
import sun.jvm.hotspot.oops.*;
|
import sun.jvm.hotspot.oops.*;
|
||||||
@ -927,7 +927,7 @@ public class HSDB implements ObjectHistogramPanel.Listener, SAListener {
|
|||||||
if (curVFrame.isCompiledFrame()) {
|
if (curVFrame.isCompiledFrame()) {
|
||||||
CodeBlob cb = VM.getVM().getCodeCache().findBlob(curFrame.getPC());
|
CodeBlob cb = VM.getVM().getCodeCache().findBlob(curFrame.getPC());
|
||||||
ImmutableOopMapSet maps = cb.getOopMaps();
|
ImmutableOopMapSet maps = cb.getOopMaps();
|
||||||
if ((maps == null) || (maps.getSize() == 0)) {
|
if ((maps == null) || (maps.getCount() == 0)) {
|
||||||
shouldSkipOopMaps = true;
|
shouldSkipOopMaps = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -71,4 +71,8 @@ public class ImmutableOopMapPair {
|
|||||||
offsetField = type.getCIntegerField("_oopmap_offset");
|
offsetField = type.getCIntegerField("_oopmap_offset");
|
||||||
classSize = type.getSize();
|
classSize = type.getSize();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String toString() {
|
||||||
|
return "Pair{pc_offset = " + getPC() + ", data_offset = " + getOffset() + "}";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -106,19 +106,19 @@ public class ImmutableOopMapSet extends VMObject {
|
|||||||
/**
|
/**
|
||||||
* Returns the number of OopMaps in this ImmutableOopMapSet
|
* Returns the number of OopMaps in this ImmutableOopMapSet
|
||||||
*/
|
*/
|
||||||
public long getSize() {
|
|
||||||
return countField.getValue(addr);
|
|
||||||
}
|
|
||||||
|
|
||||||
public int getCount() { return (int) countField.getValue(addr); }
|
public int getCount() { return (int) countField.getValue(addr); }
|
||||||
|
|
||||||
private Address dataStart() {
|
private Address dataStart() {
|
||||||
return (addr.addOffsetTo(ImmutableOopMapSet.classSize * getCount()));
|
return (pairStart().addOffsetTo(ImmutableOopMapPair.classSize() * getCount()));
|
||||||
|
}
|
||||||
|
|
||||||
|
private Address pairStart() {
|
||||||
|
return addr.addOffsetTo(ImmutableOopMapSet.classSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ImmutableOopMapPair pairAt(int index) {
|
public ImmutableOopMapPair pairAt(int index) {
|
||||||
Assert.that((index >= 0) && (index < getCount()), "bad index");
|
Assert.that((index >= 0) && (index < getCount()), "bad index");
|
||||||
return new ImmutableOopMapPair(addr.addOffsetTo(index * ImmutableOopMapPair.classSize()));
|
return new ImmutableOopMapPair(pairStart().addOffsetTo(index * ImmutableOopMapPair.classSize()));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -126,7 +126,7 @@ public class ImmutableOopMapSet extends VMObject {
|
|||||||
*/
|
*/
|
||||||
public ImmutableOopMap getMapAt(int index) {
|
public ImmutableOopMap getMapAt(int index) {
|
||||||
if (Assert.ASSERTS_ENABLED) {
|
if (Assert.ASSERTS_ENABLED) {
|
||||||
Assert.that((index >= 0) && (index <= getSize()), "bad index");
|
Assert.that((index >= 0) && (index <= getCount()), "bad index");
|
||||||
}
|
}
|
||||||
|
|
||||||
ImmutableOopMapPair immutableOopMapPair = pairAt(index);
|
ImmutableOopMapPair immutableOopMapPair = pairAt(index);
|
||||||
@ -135,7 +135,7 @@ public class ImmutableOopMapSet extends VMObject {
|
|||||||
|
|
||||||
public ImmutableOopMap findMapAtOffset(long pcOffset, boolean debugging) {
|
public ImmutableOopMap findMapAtOffset(long pcOffset, boolean debugging) {
|
||||||
int i;
|
int i;
|
||||||
int len = (int) getSize();
|
int len = getCount();
|
||||||
if (Assert.ASSERTS_ENABLED) {
|
if (Assert.ASSERTS_ENABLED) {
|
||||||
Assert.that(len > 0, "must have pointer maps");
|
Assert.that(len > 0, "must have pointer maps");
|
||||||
}
|
}
|
||||||
@ -253,14 +253,14 @@ public class ImmutableOopMapSet extends VMObject {
|
|||||||
if (!VM.getVM().isDebugging()) {
|
if (!VM.getVM().isDebugging()) {
|
||||||
if (Assert.ASSERTS_ENABLED) {
|
if (Assert.ASSERTS_ENABLED) {
|
||||||
ImmutableOopMapSet maps = cb.getOopMaps();
|
ImmutableOopMapSet maps = cb.getOopMaps();
|
||||||
Assert.that((maps != null) && (maps.getSize() > 0), "found null or empty ImmutableOopMapSet for CodeBlob");
|
Assert.that((maps != null) && (maps.getCount() > 0), "found null or empty ImmutableOopMapSet for CodeBlob");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Hack for some topmost frames that have been found with empty
|
// Hack for some topmost frames that have been found with empty
|
||||||
// OopMapSets. (Actually have not seen the null case, but don't
|
// OopMapSets. (Actually have not seen the null case, but don't
|
||||||
// want to take any chances.) See HSDB.showThreadStackMemory().
|
// want to take any chances.) See HSDB.showThreadStackMemory().
|
||||||
ImmutableOopMapSet maps = cb.getOopMaps();
|
ImmutableOopMapSet maps = cb.getOopMaps();
|
||||||
if ((maps == null) || (maps.getSize() == 0)) {
|
if ((maps == null) || (maps.getCount() == 0)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -311,8 +311,28 @@ public class ImmutableOopMapSet extends VMObject {
|
|||||||
return pairAt(index);
|
return pairAt(index);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private int getSize() {
|
||||||
|
return (int) sizeField.getValue(addr);
|
||||||
|
}
|
||||||
|
|
||||||
public ImmutableOopMap getMap(ImmutableOopMapPair pair) {
|
public ImmutableOopMap getMap(ImmutableOopMapPair pair) {
|
||||||
Assert.that(pair.getOffset() < (int) sizeField.getValue(), "boundary check");
|
Assert.that(pair.getOffset() < getSize(), "boundary check: this: " + this + " offset: " + pair);
|
||||||
return new ImmutableOopMap(dataStart().addOffsetTo(pair.getOffset()));
|
return new ImmutableOopMap(dataStart().addOffsetTo(pair.getOffset()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String toString() {
|
||||||
|
StringBuilder builder = new StringBuilder();
|
||||||
|
builder.append("Set{ ")
|
||||||
|
.append("addr = ").append(addr)
|
||||||
|
.append(", count = ").append(getCount())
|
||||||
|
.append(", size = ").append(getSize())
|
||||||
|
.append(", pairs = [");
|
||||||
|
|
||||||
|
for (int i = 0; i < getCount(); ++i) {
|
||||||
|
builder.append(getPairAt(i));
|
||||||
|
}
|
||||||
|
|
||||||
|
builder.append("]");
|
||||||
|
return builder.toString();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* @(#)AdaptiveFreeList.java
|
* @(#)AdaptiveFreeList.java
|
||||||
*
|
*
|
||||||
* Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2000, 2015, 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
|
||||||
@ -24,7 +24,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.memory;
|
package sun.jvm.hotspot.gc.cms;
|
||||||
|
|
||||||
import java.util.Observable;
|
import java.util.Observable;
|
||||||
import java.util.Observer;
|
import java.util.Observer;
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2007, 2015, 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
|
||||||
@ -22,11 +22,12 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.memory;
|
package sun.jvm.hotspot.gc.cms;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import sun.jvm.hotspot.debugger.*;
|
import sun.jvm.hotspot.debugger.*;
|
||||||
|
import sun.jvm.hotspot.memory.*;
|
||||||
import sun.jvm.hotspot.runtime.*;
|
import sun.jvm.hotspot.runtime.*;
|
||||||
import sun.jvm.hotspot.types.*;
|
import sun.jvm.hotspot.types.*;
|
||||||
import sun.jvm.hotspot.utilities.*;
|
import sun.jvm.hotspot.utilities.*;
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2007, 2015, 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
|
||||||
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.memory;
|
package sun.jvm.hotspot.gc.cms;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.util.*;
|
import java.util.*;
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2003, 2015, 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
|
||||||
@ -22,25 +22,18 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.memory;
|
package sun.jvm.hotspot.gc.cms;
|
||||||
|
|
||||||
import java.io.PrintStream;
|
import java.io.*;
|
||||||
import java.util.ArrayList;
|
import java.util.*;
|
||||||
import java.util.Iterator;
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.Observable;
|
|
||||||
import java.util.Observer;
|
|
||||||
|
|
||||||
import sun.jvm.hotspot.debugger.Address;
|
import sun.jvm.hotspot.debugger.*;
|
||||||
import sun.jvm.hotspot.debugger.Debugger;
|
import sun.jvm.hotspot.gc.shared.*;
|
||||||
import sun.jvm.hotspot.oops.ObjectHeap;
|
import sun.jvm.hotspot.memory.*;
|
||||||
import sun.jvm.hotspot.oops.Oop;
|
import sun.jvm.hotspot.oops.*;
|
||||||
import sun.jvm.hotspot.runtime.VM;
|
import sun.jvm.hotspot.runtime.*;
|
||||||
import sun.jvm.hotspot.runtime.VMObjectFactory;
|
import sun.jvm.hotspot.types.*;
|
||||||
import sun.jvm.hotspot.types.AddressField;
|
import sun.jvm.hotspot.utilities.*;
|
||||||
import sun.jvm.hotspot.types.Type;
|
|
||||||
import sun.jvm.hotspot.types.TypeDataBase;
|
|
||||||
import sun.jvm.hotspot.utilities.Assert;
|
|
||||||
|
|
||||||
public class CompactibleFreeListSpace extends CompactibleSpace {
|
public class CompactibleFreeListSpace extends CompactibleSpace {
|
||||||
private static AddressField collectorField;
|
private static AddressField collectorField;
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2003, 2015, 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
|
||||||
@ -22,11 +22,12 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.memory;
|
package sun.jvm.hotspot.gc.cms;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import sun.jvm.hotspot.debugger.*;
|
import sun.jvm.hotspot.debugger.*;
|
||||||
|
import sun.jvm.hotspot.gc.shared.*;
|
||||||
import sun.jvm.hotspot.runtime.*;
|
import sun.jvm.hotspot.runtime.*;
|
||||||
import sun.jvm.hotspot.types.*;
|
import sun.jvm.hotspot.types.*;
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* @(#)BinaryTreeDictionary.java
|
* @(#)BinaryTreeDictionary.java
|
||||||
* Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2000, 2015, 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
|
||||||
@ -23,7 +23,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.memory;
|
package sun.jvm.hotspot.gc.cms;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import sun.jvm.hotspot.debugger.*;
|
import sun.jvm.hotspot.debugger.*;
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2003, 2015, 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
|
||||||
@ -22,9 +22,11 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.memory;
|
package sun.jvm.hotspot.gc.cms;
|
||||||
|
|
||||||
import sun.jvm.hotspot.debugger.*;
|
import sun.jvm.hotspot.debugger.*;
|
||||||
|
import sun.jvm.hotspot.gc.serial.*;
|
||||||
|
import sun.jvm.hotspot.gc.shared.*;
|
||||||
|
|
||||||
public class ParNewGeneration extends DefNewGeneration {
|
public class ParNewGeneration extends DefNewGeneration {
|
||||||
public ParNewGeneration(Address addr) {
|
public ParNewGeneration(Address addr) {
|
@ -1,4 +1,4 @@
|
|||||||
package sun.jvm.hotspot.gc_implementation.g1;
|
package sun.jvm.hotspot.gc.g1;
|
||||||
|
|
||||||
import java.util.Observable;
|
import java.util.Observable;
|
||||||
import java.util.Observer;
|
import java.util.Observer;
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2011, 2015, 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
|
||||||
@ -22,17 +22,17 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.gc_implementation.g1;
|
package sun.jvm.hotspot.gc.g1;
|
||||||
|
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.Observable;
|
import java.util.Observable;
|
||||||
import java.util.Observer;
|
import java.util.Observer;
|
||||||
|
|
||||||
import sun.jvm.hotspot.debugger.Address;
|
import sun.jvm.hotspot.debugger.Address;
|
||||||
import sun.jvm.hotspot.gc_interface.CollectedHeap;
|
import sun.jvm.hotspot.gc.shared.CollectedHeap;
|
||||||
import sun.jvm.hotspot.gc_interface.CollectedHeapName;
|
import sun.jvm.hotspot.gc.shared.CollectedHeapName;
|
||||||
|
import sun.jvm.hotspot.gc.shared.SpaceClosure;
|
||||||
import sun.jvm.hotspot.memory.MemRegion;
|
import sun.jvm.hotspot.memory.MemRegion;
|
||||||
import sun.jvm.hotspot.memory.SpaceClosure;
|
|
||||||
import sun.jvm.hotspot.runtime.VM;
|
import sun.jvm.hotspot.runtime.VM;
|
||||||
import sun.jvm.hotspot.runtime.VMObjectFactory;
|
import sun.jvm.hotspot.runtime.VMObjectFactory;
|
||||||
import sun.jvm.hotspot.types.AddressField;
|
import sun.jvm.hotspot.types.AddressField;
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2013, 2015, 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
|
||||||
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.gc_implementation.g1;
|
package sun.jvm.hotspot.gc.g1;
|
||||||
|
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.Observable;
|
import java.util.Observable;
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2011, 2015, 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
|
||||||
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.gc_implementation.g1;
|
package sun.jvm.hotspot.gc.g1;
|
||||||
|
|
||||||
import java.util.Observable;
|
import java.util.Observable;
|
||||||
import java.util.Observer;
|
import java.util.Observer;
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2011, 2015, 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
|
||||||
@ -22,14 +22,14 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.gc_implementation.g1;
|
package sun.jvm.hotspot.gc.g1;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Observable;
|
import java.util.Observable;
|
||||||
import java.util.Observer;
|
import java.util.Observer;
|
||||||
import sun.jvm.hotspot.debugger.Address;
|
import sun.jvm.hotspot.debugger.Address;
|
||||||
import sun.jvm.hotspot.memory.CompactibleSpace;
|
import sun.jvm.hotspot.gc.shared.CompactibleSpace;
|
||||||
import sun.jvm.hotspot.memory.MemRegion;
|
import sun.jvm.hotspot.memory.MemRegion;
|
||||||
import sun.jvm.hotspot.runtime.VM;
|
import sun.jvm.hotspot.runtime.VM;
|
||||||
import sun.jvm.hotspot.types.AddressField;
|
import sun.jvm.hotspot.types.AddressField;
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2011, 2015, 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
|
||||||
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.gc_implementation.g1;
|
package sun.jvm.hotspot.gc.g1;
|
||||||
|
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.Observable;
|
import java.util.Observable;
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2012, 2015, 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
|
||||||
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.gc_implementation.g1;
|
package sun.jvm.hotspot.gc.g1;
|
||||||
|
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.Observable;
|
import java.util.Observable;
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2014, 2015, 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
|
||||||
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.gc_implementation.g1;
|
package sun.jvm.hotspot.gc.g1;
|
||||||
|
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.Observable;
|
import java.util.Observable;
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2003, 2015, 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
|
||||||
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.gc_implementation.shared;
|
package sun.jvm.hotspot.gc.parallel;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.util.*;
|
import java.util.*;
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2003, 2015, 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
|
||||||
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.gc_implementation.shared;
|
package sun.jvm.hotspot.gc.parallel;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.util.*;
|
import java.util.*;
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2003, 2015, 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
|
||||||
@ -22,13 +22,12 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.gc_implementation.parallelScavenge;
|
package sun.jvm.hotspot.gc.parallel;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
import sun.jvm.hotspot.debugger.*;
|
import sun.jvm.hotspot.debugger.*;
|
||||||
import sun.jvm.hotspot.gc_implementation.shared.*;
|
|
||||||
import sun.jvm.hotspot.memory.*;
|
import sun.jvm.hotspot.memory.*;
|
||||||
import sun.jvm.hotspot.runtime.*;
|
import sun.jvm.hotspot.runtime.*;
|
||||||
import sun.jvm.hotspot.types.*;
|
import sun.jvm.hotspot.types.*;
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2003, 2015, 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
|
||||||
@ -22,13 +22,12 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.gc_implementation.parallelScavenge;
|
package sun.jvm.hotspot.gc.parallel;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
import sun.jvm.hotspot.debugger.*;
|
import sun.jvm.hotspot.debugger.*;
|
||||||
import sun.jvm.hotspot.gc_implementation.shared.*;
|
|
||||||
import sun.jvm.hotspot.memory.*;
|
import sun.jvm.hotspot.memory.*;
|
||||||
import sun.jvm.hotspot.runtime.*;
|
import sun.jvm.hotspot.runtime.*;
|
||||||
import sun.jvm.hotspot.types.*;
|
import sun.jvm.hotspot.types.*;
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2003, 2015, 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
|
||||||
@ -22,13 +22,13 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.gc_implementation.parallelScavenge;
|
package sun.jvm.hotspot.gc.parallel;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
import sun.jvm.hotspot.debugger.*;
|
import sun.jvm.hotspot.debugger.*;
|
||||||
import sun.jvm.hotspot.gc_interface.*;
|
import sun.jvm.hotspot.gc.shared.*;
|
||||||
import sun.jvm.hotspot.runtime.*;
|
import sun.jvm.hotspot.runtime.*;
|
||||||
import sun.jvm.hotspot.types.*;
|
import sun.jvm.hotspot.types.*;
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2000, 2015, 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
|
||||||
@ -22,12 +22,13 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.memory;
|
package sun.jvm.hotspot.gc.serial;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
import sun.jvm.hotspot.debugger.*;
|
import sun.jvm.hotspot.debugger.*;
|
||||||
|
import sun.jvm.hotspot.gc.shared.*;
|
||||||
import sun.jvm.hotspot.runtime.*;
|
import sun.jvm.hotspot.runtime.*;
|
||||||
import sun.jvm.hotspot.types.*;
|
import sun.jvm.hotspot.types.*;
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2000, 2015, 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
|
||||||
@ -22,12 +22,13 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.memory;
|
package sun.jvm.hotspot.gc.serial;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
import sun.jvm.hotspot.debugger.*;
|
import sun.jvm.hotspot.debugger.*;
|
||||||
|
import sun.jvm.hotspot.gc.shared.*;
|
||||||
import sun.jvm.hotspot.runtime.*;
|
import sun.jvm.hotspot.runtime.*;
|
||||||
import sun.jvm.hotspot.types.*;
|
import sun.jvm.hotspot.types.*;
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2000, 2015, 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
|
||||||
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.memory;
|
package sun.jvm.hotspot.gc.shared;
|
||||||
|
|
||||||
import sun.jvm.hotspot.debugger.*;
|
import sun.jvm.hotspot.debugger.*;
|
||||||
|
|
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.gc_interface;
|
package sun.jvm.hotspot.gc.shared;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.util.*;
|
import java.util.*;
|
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.gc_interface;
|
package sun.jvm.hotspot.gc.shared;
|
||||||
|
|
||||||
/** Mimics the enums in the VM under CollectedHeap::Name */
|
/** Mimics the enums in the VM under CollectedHeap::Name */
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2000, 2015, 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
|
||||||
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.memory;
|
package sun.jvm.hotspot.gc.shared;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2000, 2004, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2000, 2015, 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
|
||||||
@ -22,12 +22,13 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.memory;
|
package sun.jvm.hotspot.gc.shared;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
import sun.jvm.hotspot.debugger.*;
|
import sun.jvm.hotspot.debugger.*;
|
||||||
|
import sun.jvm.hotspot.memory.*;
|
||||||
import sun.jvm.hotspot.runtime.*;
|
import sun.jvm.hotspot.runtime.*;
|
||||||
import sun.jvm.hotspot.types.*;
|
import sun.jvm.hotspot.types.*;
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2014, 2015, 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
|
||||||
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.gc_interface;
|
package sun.jvm.hotspot.gc.shared;
|
||||||
|
|
||||||
//These definitions should be kept in sync with the definitions in the HotSpot
|
//These definitions should be kept in sync with the definitions in the HotSpot
|
||||||
//code.
|
//code.
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2014, 2015, 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
|
||||||
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.gc_interface;
|
package sun.jvm.hotspot.gc.shared;
|
||||||
|
|
||||||
//These definitions should be kept in sync with the definitions in the HotSpot code.
|
//These definitions should be kept in sync with the definitions in the HotSpot code.
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2014, 2015, 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
|
||||||
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.gc_interface;
|
package sun.jvm.hotspot.gc.shared;
|
||||||
|
|
||||||
//These definitions should be kept in sync with the definitions in the HotSpot code.
|
//These definitions should be kept in sync with the definitions in the HotSpot code.
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2014, 2015, 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
|
||||||
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.gc_interface;
|
package sun.jvm.hotspot.gc.shared;
|
||||||
|
|
||||||
//These definitions should be kept in sync with the definitions in the HotSpot code.
|
//These definitions should be kept in sync with the definitions in the HotSpot code.
|
||||||
|
|
@ -22,13 +22,12 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.memory;
|
package sun.jvm.hotspot.gc.shared;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
import sun.jvm.hotspot.debugger.*;
|
import sun.jvm.hotspot.debugger.*;
|
||||||
import sun.jvm.hotspot.gc_interface.*;
|
|
||||||
import sun.jvm.hotspot.runtime.*;
|
import sun.jvm.hotspot.runtime.*;
|
||||||
import sun.jvm.hotspot.types.*;
|
import sun.jvm.hotspot.types.*;
|
||||||
import sun.jvm.hotspot.utilities.*;
|
import sun.jvm.hotspot.utilities.*;
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2000, 2015, 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
|
||||||
@ -22,13 +22,14 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.memory;
|
package sun.jvm.hotspot.gc.shared;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import sun.jvm.hotspot.debugger.*;
|
import sun.jvm.hotspot.debugger.*;
|
||||||
import sun.jvm.hotspot.types.*;
|
import sun.jvm.hotspot.memory.*;
|
||||||
import sun.jvm.hotspot.runtime.*;
|
import sun.jvm.hotspot.runtime.*;
|
||||||
|
import sun.jvm.hotspot.types.*;
|
||||||
|
|
||||||
/** <P> The (supported) Generation hierarchy currently looks like this: </P>
|
/** <P> The (supported) Generation hierarchy currently looks like this: </P>
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2000, 2015, 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
|
||||||
@ -22,11 +22,13 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.memory;
|
package sun.jvm.hotspot.gc.shared;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
import sun.jvm.hotspot.debugger.*;
|
import sun.jvm.hotspot.debugger.*;
|
||||||
|
import sun.jvm.hotspot.gc.cms.*;
|
||||||
|
import sun.jvm.hotspot.gc.serial.*;
|
||||||
import sun.jvm.hotspot.runtime.*;
|
import sun.jvm.hotspot.runtime.*;
|
||||||
import sun.jvm.hotspot.types.*;
|
import sun.jvm.hotspot.types.*;
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2000, 2015, 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
|
||||||
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.memory;
|
package sun.jvm.hotspot.gc.shared;
|
||||||
|
|
||||||
import sun.jvm.hotspot.debugger.*;
|
import sun.jvm.hotspot.debugger.*;
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2000, 2015, 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
|
||||||
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.memory;
|
package sun.jvm.hotspot.gc.shared;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2000, 2015, 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
|
||||||
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.memory;
|
package sun.jvm.hotspot.gc.shared;
|
||||||
|
|
||||||
import sun.jvm.hotspot.debugger.*;
|
import sun.jvm.hotspot.debugger.*;
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2000, 2015, 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
|
||||||
@ -22,13 +22,14 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.memory;
|
package sun.jvm.hotspot.gc.shared;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import sun.jvm.hotspot.debugger.*;
|
import sun.jvm.hotspot.debugger.*;
|
||||||
import sun.jvm.hotspot.types.*;
|
import sun.jvm.hotspot.memory.*;
|
||||||
import sun.jvm.hotspot.runtime.*;
|
import sun.jvm.hotspot.runtime.*;
|
||||||
|
import sun.jvm.hotspot.types.*;
|
||||||
|
|
||||||
/** <P> A Space describes a heap area. Class Space is an abstract base
|
/** <P> A Space describes a heap area. Class Space is an abstract base
|
||||||
class. </P>
|
class. </P>
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2000, 2015, 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
|
||||||
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.memory;
|
package sun.jvm.hotspot.gc.shared;
|
||||||
|
|
||||||
public interface SpaceClosure {
|
public interface SpaceClosure {
|
||||||
public void doSpace(Space s);
|
public void doSpace(Space s);
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2000, 2015, 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
|
||||||
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.memory;
|
package sun.jvm.hotspot.gc.shared;
|
||||||
|
|
||||||
import sun.jvm.hotspot.debugger.*;
|
import sun.jvm.hotspot.debugger.*;
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2014, 2015, 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
|
||||||
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package sun.jvm.hotspot.gc_interface;
|
package sun.jvm.hotspot.memory;
|
||||||
|
|
||||||
//These definitions should be kept in sync with the definitions in the HotSpot code.
|
//These definitions should be kept in sync with the definitions in the HotSpot code.
|
||||||
|
|
@ -27,9 +27,9 @@ package sun.jvm.hotspot.memory;
|
|||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import sun.jvm.hotspot.debugger.*;
|
import sun.jvm.hotspot.debugger.*;
|
||||||
import sun.jvm.hotspot.gc_interface.*;
|
import sun.jvm.hotspot.gc.shared.*;
|
||||||
import sun.jvm.hotspot.gc_implementation.g1.G1CollectedHeap;
|
import sun.jvm.hotspot.gc.g1.G1CollectedHeap;
|
||||||
import sun.jvm.hotspot.gc_implementation.parallelScavenge.*;
|
import sun.jvm.hotspot.gc.parallel.*;
|
||||||
import sun.jvm.hotspot.oops.*;
|
import sun.jvm.hotspot.oops.*;
|
||||||
import sun.jvm.hotspot.types.*;
|
import sun.jvm.hotspot.types.*;
|
||||||
import sun.jvm.hotspot.runtime.*;
|
import sun.jvm.hotspot.runtime.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2000, 2015, 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
|
||||||
@ -32,9 +32,10 @@ package sun.jvm.hotspot.oops;
|
|||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
import sun.jvm.hotspot.debugger.*;
|
import sun.jvm.hotspot.debugger.*;
|
||||||
import sun.jvm.hotspot.gc_interface.*;
|
import sun.jvm.hotspot.gc.cms.*;
|
||||||
import sun.jvm.hotspot.gc_implementation.g1.*;
|
import sun.jvm.hotspot.gc.shared.*;
|
||||||
import sun.jvm.hotspot.gc_implementation.parallelScavenge.*;
|
import sun.jvm.hotspot.gc.g1.*;
|
||||||
|
import sun.jvm.hotspot.gc.parallel.*;
|
||||||
import sun.jvm.hotspot.memory.*;
|
import sun.jvm.hotspot.memory.*;
|
||||||
import sun.jvm.hotspot.runtime.*;
|
import sun.jvm.hotspot.runtime.*;
|
||||||
import sun.jvm.hotspot.types.*;
|
import sun.jvm.hotspot.types.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2003, 2015, 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
|
||||||
@ -25,10 +25,10 @@
|
|||||||
package sun.jvm.hotspot.tools;
|
package sun.jvm.hotspot.tools;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import sun.jvm.hotspot.gc_interface.*;
|
import sun.jvm.hotspot.gc.g1.*;
|
||||||
import sun.jvm.hotspot.gc_implementation.g1.*;
|
import sun.jvm.hotspot.gc.parallel.*;
|
||||||
import sun.jvm.hotspot.gc_implementation.parallelScavenge.*;
|
import sun.jvm.hotspot.gc.serial.*;
|
||||||
import sun.jvm.hotspot.gc_implementation.shared.*;
|
import sun.jvm.hotspot.gc.shared.*;
|
||||||
import sun.jvm.hotspot.debugger.JVMDebugger;
|
import sun.jvm.hotspot.debugger.JVMDebugger;
|
||||||
import sun.jvm.hotspot.memory.*;
|
import sun.jvm.hotspot.memory.*;
|
||||||
import sun.jvm.hotspot.oops.*;
|
import sun.jvm.hotspot.oops.*;
|
||||||
@ -85,7 +85,7 @@ public class HeapSummary extends Tool {
|
|||||||
GenCollectedHeap genHeap = (GenCollectedHeap) heap;
|
GenCollectedHeap genHeap = (GenCollectedHeap) heap;
|
||||||
for (int n = 0; n < genHeap.nGens(); n++) {
|
for (int n = 0; n < genHeap.nGens(); n++) {
|
||||||
Generation gen = genHeap.getGen(n);
|
Generation gen = genHeap.getGen(n);
|
||||||
if (gen instanceof sun.jvm.hotspot.memory.DefNewGeneration) {
|
if (gen instanceof DefNewGeneration) {
|
||||||
System.out.println("New Generation (Eden + 1 Survivor Space):");
|
System.out.println("New Generation (Eden + 1 Survivor Space):");
|
||||||
printGen(gen);
|
printGen(gen);
|
||||||
|
|
||||||
|
@ -1236,7 +1236,7 @@ public class HTMLGenerator implements /* imports */ ClassConstants {
|
|||||||
|
|
||||||
protected String genOopMapInfo(NMethod nmethod, PCDesc pcDesc) {
|
protected String genOopMapInfo(NMethod nmethod, PCDesc pcDesc) {
|
||||||
ImmutableOopMapSet mapSet = nmethod.getOopMaps();
|
ImmutableOopMapSet mapSet = nmethod.getOopMaps();
|
||||||
if (mapSet == null || (mapSet.getSize() <= 0))
|
if (mapSet == null || (mapSet.getCount() <= 0))
|
||||||
return "";
|
return "";
|
||||||
int pcOffset = pcDesc.getPCOffset();
|
int pcOffset = pcDesc.getPCOffset();
|
||||||
ImmutableOopMap map = mapSet.findMapAtOffset(pcOffset, VM.getVM().isDebugging());
|
ImmutableOopMap map = mapSet.findMapAtOffset(pcOffset, VM.getVM().isDebugging());
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2001, 2006, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2001, 2015, 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,7 +27,7 @@ package sun.jvm.hotspot.utilities;
|
|||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import sun.jvm.hotspot.debugger.*;
|
import sun.jvm.hotspot.debugger.*;
|
||||||
import sun.jvm.hotspot.gc_interface.*;
|
import sun.jvm.hotspot.gc.shared.*;
|
||||||
import sun.jvm.hotspot.memory.*;
|
import sun.jvm.hotspot.memory.*;
|
||||||
import sun.jvm.hotspot.oops.*;
|
import sun.jvm.hotspot.oops.*;
|
||||||
import sun.jvm.hotspot.runtime.*;
|
import sun.jvm.hotspot.runtime.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2001, 2003, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2001, 2015, 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
|
||||||
@ -25,7 +25,7 @@
|
|||||||
package sun.jvm.hotspot.utilities;
|
package sun.jvm.hotspot.utilities;
|
||||||
|
|
||||||
import sun.jvm.hotspot.debugger.*;
|
import sun.jvm.hotspot.debugger.*;
|
||||||
import sun.jvm.hotspot.gc_interface.*;
|
import sun.jvm.hotspot.gc.shared.*;
|
||||||
import sun.jvm.hotspot.memory.*;
|
import sun.jvm.hotspot.memory.*;
|
||||||
import sun.jvm.hotspot.oops.*;
|
import sun.jvm.hotspot.oops.*;
|
||||||
import sun.jvm.hotspot.runtime.*;
|
import sun.jvm.hotspot.runtime.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2000, 2015, 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
|
||||||
@ -26,7 +26,7 @@ package sun.jvm.hotspot.utilities;
|
|||||||
|
|
||||||
import sun.jvm.hotspot.code.*;
|
import sun.jvm.hotspot.code.*;
|
||||||
import sun.jvm.hotspot.debugger.*;
|
import sun.jvm.hotspot.debugger.*;
|
||||||
import sun.jvm.hotspot.gc_interface.*;
|
import sun.jvm.hotspot.gc.shared.*;
|
||||||
import sun.jvm.hotspot.interpreter.*;
|
import sun.jvm.hotspot.interpreter.*;
|
||||||
import sun.jvm.hotspot.runtime.*;
|
import sun.jvm.hotspot.runtime.*;
|
||||||
import sun.jvm.hotspot.memory.*;
|
import sun.jvm.hotspot.memory.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2000, 2015, 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,7 +27,7 @@ package sun.jvm.hotspot.utilities;
|
|||||||
import java.io.*;
|
import java.io.*;
|
||||||
import sun.jvm.hotspot.code.*;
|
import sun.jvm.hotspot.code.*;
|
||||||
import sun.jvm.hotspot.debugger.*;
|
import sun.jvm.hotspot.debugger.*;
|
||||||
import sun.jvm.hotspot.gc_interface.*;
|
import sun.jvm.hotspot.gc.shared.*;
|
||||||
import sun.jvm.hotspot.interpreter.*;
|
import sun.jvm.hotspot.interpreter.*;
|
||||||
import sun.jvm.hotspot.runtime.*;
|
import sun.jvm.hotspot.runtime.*;
|
||||||
import sun.jvm.hotspot.memory.*;
|
import sun.jvm.hotspot.memory.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2002, 2015, 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,7 +27,7 @@ package sun.jvm.hotspot.utilities;
|
|||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import sun.jvm.hotspot.debugger.*;
|
import sun.jvm.hotspot.debugger.*;
|
||||||
import sun.jvm.hotspot.gc_interface.*;
|
import sun.jvm.hotspot.gc.shared.*;
|
||||||
import sun.jvm.hotspot.memory.*;
|
import sun.jvm.hotspot.memory.*;
|
||||||
import sun.jvm.hotspot.oops.*;
|
import sun.jvm.hotspot.oops.*;
|
||||||
import sun.jvm.hotspot.runtime.*;
|
import sun.jvm.hotspot.runtime.*;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||||
# Copyright 2012, 2013 SAP AG. All rights reserved.
|
# Copyright 2012, 2013 SAP AG. 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.
|
||||||
#
|
#
|
||||||
@ -137,7 +137,7 @@ LIBJVM = lib$(JVM).so
|
|||||||
LIBJVM_DEBUGINFO = lib$(JVM).debuginfo
|
LIBJVM_DEBUGINFO = lib$(JVM).debuginfo
|
||||||
LIBJVM_DIZ = lib$(JVM).diz
|
LIBJVM_DIZ = lib$(JVM).diz
|
||||||
|
|
||||||
SPECIAL_PATHS:=adlc c1 gc_implementation opto shark libadt
|
SPECIAL_PATHS:=adlc c1 gc opto shark libadt
|
||||||
|
|
||||||
SOURCE_PATHS=\
|
SOURCE_PATHS=\
|
||||||
$(shell find $(HS_COMMON_SRC)/share/vm/* -type d \! \
|
$(shell find $(HS_COMMON_SRC)/share/vm/* -type d \! \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 1999, 2015, 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
|
||||||
@ -154,7 +154,7 @@ else
|
|||||||
LIBJVM_DIZ = lib$(JVM).diz
|
LIBJVM_DIZ = lib$(JVM).diz
|
||||||
endif
|
endif
|
||||||
|
|
||||||
SPECIAL_PATHS:=adlc c1 gc_implementation opto shark libadt
|
SPECIAL_PATHS:=adlc c1 gc opto shark libadt
|
||||||
|
|
||||||
SOURCE_PATHS=\
|
SOURCE_PATHS=\
|
||||||
$(shell find $(HS_COMMON_SRC)/share/vm/* -type d \! \
|
$(shell find $(HS_COMMON_SRC)/share/vm/* -type d \! \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2014, 2015, 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
|
||||||
@ -81,36 +81,15 @@ ifeq ($(INCLUDE_ALL_GCS), false)
|
|||||||
CXXFLAGS += -DINCLUDE_ALL_GCS=0
|
CXXFLAGS += -DINCLUDE_ALL_GCS=0
|
||||||
CFLAGS += -DINCLUDE_ALL_GCS=0
|
CFLAGS += -DINCLUDE_ALL_GCS=0
|
||||||
|
|
||||||
gc_impl := $(HS_COMMON_SRC)/share/vm/gc_implementation
|
gc_dir := $(HS_COMMON_SRC)/share/vm/gc
|
||||||
gc_impl_alt := $(HS_ALT_SRC)/share/vm/gc_implementation
|
gc_dir_alt := $(HS_ALT_SRC)/share/vm/gc
|
||||||
gc_subdirs := concurrentMarkSweep g1 parallelScavenge parNew
|
gc_subdirs := cms g1 parallel
|
||||||
gc_exclude := $(foreach gc,$(gc_subdirs), \
|
gc_exclude := $(foreach gc,$(gc_subdirs), \
|
||||||
$(notdir $(wildcard $(gc_impl)/$(gc)/*.cpp)) \
|
$(notdir $(wildcard $(gc_dir)/$(gc)/*.cpp)) \
|
||||||
$(notdir $(wildcard $(gc_impl_alt)/$(gc)/*.cpp)))
|
$(notdir $(wildcard $(gc_dir_alt)/$(gc)/*.cpp)))
|
||||||
Src_Files_EXCLUDE += $(gc_exclude)
|
Src_Files_EXCLUDE += $(gc_exclude) \
|
||||||
|
concurrentGCThread.cpp \
|
||||||
# Exclude everything in $(gc_impl)/shared except the files listed
|
plab.cpp
|
||||||
# in $(gc_shared_keep).
|
|
||||||
gc_shared_all := $(notdir $(wildcard $(gc_impl)/shared/*.cpp))
|
|
||||||
gc_shared_keep := \
|
|
||||||
adaptiveSizePolicy.cpp \
|
|
||||||
ageTable.cpp \
|
|
||||||
collectorCounters.cpp \
|
|
||||||
cSpaceCounters.cpp \
|
|
||||||
gcId.cpp \
|
|
||||||
gcPolicyCounters.cpp \
|
|
||||||
gcStats.cpp \
|
|
||||||
gcTimer.cpp \
|
|
||||||
gcTrace.cpp \
|
|
||||||
gcTraceSend.cpp \
|
|
||||||
gcTraceTime.cpp \
|
|
||||||
gcUtil.cpp \
|
|
||||||
generationCounters.cpp \
|
|
||||||
markSweep.cpp \
|
|
||||||
objectCountEventSender.cpp \
|
|
||||||
spaceDecorator.cpp \
|
|
||||||
vmGCOperations.cpp
|
|
||||||
Src_Files_EXCLUDE += $(filter-out $(gc_shared_keep),$(gc_shared_all))
|
|
||||||
|
|
||||||
# src/share/vm/services
|
# src/share/vm/services
|
||||||
Src_Files_EXCLUDE += \
|
Src_Files_EXCLUDE += \
|
||||||
|
@ -142,7 +142,7 @@ LIBJVM = lib$(JVM).so
|
|||||||
LIBJVM_DEBUGINFO = lib$(JVM).debuginfo
|
LIBJVM_DEBUGINFO = lib$(JVM).debuginfo
|
||||||
LIBJVM_DIZ = lib$(JVM).diz
|
LIBJVM_DIZ = lib$(JVM).diz
|
||||||
|
|
||||||
SPECIAL_PATHS:=adlc c1 gc_implementation opto shark libadt
|
SPECIAL_PATHS:=adlc c1 gc opto shark libadt
|
||||||
|
|
||||||
SOURCE_PATHS=\
|
SOURCE_PATHS=\
|
||||||
$(shell find $(HS_COMMON_SRC)/share/vm/* -type d \! \
|
$(shell find $(HS_COMMON_SRC)/share/vm/* -type d \! \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2006, 2015, 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
|
||||||
@ -37,7 +37,7 @@ ifneq ($(OSNAME), windows)
|
|||||||
PARTIAL_NONPIC=0
|
PARTIAL_NONPIC=0
|
||||||
endif
|
endif
|
||||||
ifeq ($(PARTIAL_NONPIC),1)
|
ifeq ($(PARTIAL_NONPIC),1)
|
||||||
NONPIC_DIRS = memory oops gc_implementation gc_interface
|
NONPIC_DIRS = memory oops gc
|
||||||
NONPIC_DIRS := $(foreach dir,$(NONPIC_DIRS), $(GAMMADIR)/src/share/vm/$(dir))
|
NONPIC_DIRS := $(foreach dir,$(NONPIC_DIRS), $(GAMMADIR)/src/share/vm/$(dir))
|
||||||
# Look for source files under NONPIC_DIRS
|
# Look for source files under NONPIC_DIRS
|
||||||
NONPIC_FILES := $(foreach dir,$(NONPIC_DIRS),\
|
NONPIC_FILES := $(foreach dir,$(NONPIC_DIRS),\
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2003, 2015, 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
|
||||||
@ -79,10 +79,9 @@ $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/windbg/x86/*.java \
|
|||||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/windows/x86/*.java \
|
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/windows/x86/*.java \
|
||||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/windows/amd64/*.java \
|
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/windows/amd64/*.java \
|
||||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/x86/*.java \
|
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/x86/*.java \
|
||||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/gc_implementation/g1/*.java \
|
$(AGENT_SRC_DIR)/sun/jvm/hotspot/gc/g1/*.java \
|
||||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/gc_implementation/parallelScavenge/*.java \
|
$(AGENT_SRC_DIR)/sun/jvm/hotspot/gc/parallel/*.java \
|
||||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/gc_implementation/shared/*.java \
|
$(AGENT_SRC_DIR)/sun/jvm/hotspot/gc/shared/*.java \
|
||||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/gc_interface/*.java \
|
|
||||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/interpreter/*.java \
|
$(AGENT_SRC_DIR)/sun/jvm/hotspot/interpreter/*.java \
|
||||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/jdi/*.java \
|
$(AGENT_SRC_DIR)/sun/jvm/hotspot/jdi/*.java \
|
||||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/memory/*.java \
|
$(AGENT_SRC_DIR)/sun/jvm/hotspot/memory/*.java \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 1998, 2015, 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
|
||||||
@ -163,7 +163,7 @@ LIBJVM = lib$(JVM).so
|
|||||||
LIBJVM_DEBUGINFO = lib$(JVM).debuginfo
|
LIBJVM_DEBUGINFO = lib$(JVM).debuginfo
|
||||||
LIBJVM_DIZ = lib$(JVM).diz
|
LIBJVM_DIZ = lib$(JVM).diz
|
||||||
|
|
||||||
SPECIAL_PATHS:=adlc c1 dist gc_implementation opto shark libadt
|
SPECIAL_PATHS:=adlc c1 dist gc opto shark libadt
|
||||||
|
|
||||||
SOURCE_PATHS=\
|
SOURCE_PATHS=\
|
||||||
$(shell find $(HS_COMMON_SRC)/share/vm/* -type d \! \
|
$(shell find $(HS_COMMON_SRC)/share/vm/* -type d \! \
|
||||||
|
@ -42,6 +42,8 @@ include TestFilesCompilation.gmk
|
|||||||
# Add more directories here when needed.
|
# Add more directories here when needed.
|
||||||
BUILD_HOTSPOT_JTREG_NATIVE_SRC := \
|
BUILD_HOTSPOT_JTREG_NATIVE_SRC := \
|
||||||
$(HOTSPOT_TOPDIR)/test/native_sanity \
|
$(HOTSPOT_TOPDIR)/test/native_sanity \
|
||||||
|
$(HOTSPOT_TOPDIR)/test/runtime/jni/8025979 \
|
||||||
|
$(HOTSPOT_TOPDIR)/test/runtime/jni/8033445 \
|
||||||
#
|
#
|
||||||
|
|
||||||
BUILD_HOTSPOT_JTREG_OUTPUT_DIR := $(BUILD_OUTPUT)/support/test/hotspot/jtreg/native
|
BUILD_HOTSPOT_JTREG_OUTPUT_DIR := $(BUILD_OUTPUT)/support/test/hotspot/jtreg/native
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2010, 2015, 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
|
||||||
@ -57,11 +57,11 @@ ALTSRC_REL=src/closed # Change this to pick up alt sources from somewhere else
|
|||||||
COMMONSRC=${WorkSpace}/${COMMONSRC_REL}
|
COMMONSRC=${WorkSpace}/${COMMONSRC_REL}
|
||||||
ALTSRC=${WorkSpace}/${ALTSRC_REL}
|
ALTSRC=${WorkSpace}/${ALTSRC_REL}
|
||||||
|
|
||||||
BASE_PATHS="`if [ -d ${ALTSRC}/share/vm ]; then $FIND ${ALTSRC}/share/vm ! -name vm -prune -type d \! \( -name adlc -o -name c1 -o -name gc_implementation -o -name opto -o -name shark -o -name libadt \); fi`"
|
BASE_PATHS="`if [ -d ${ALTSRC}/share/vm ]; then $FIND ${ALTSRC}/share/vm ! -name vm -prune -type d \! \( -name adlc -o -name c1 -o -name gc -o -name opto -o -name shark -o -name libadt \); fi`"
|
||||||
BASE_PATHS="${BASE_PATHS} ` $FIND ${COMMONSRC}/share/vm ! -name vm -prune -type d \! \( -name adlc -o -name c1 -o -name gc_implementation -o -name opto -o -name shark -o -name libadt \)`"
|
BASE_PATHS="${BASE_PATHS} ` $FIND ${COMMONSRC}/share/vm ! -name vm -prune -type d \! \( -name adlc -o -name c1 -o -name gc -o -name opto -o -name shark -o -name libadt \)`"
|
||||||
|
|
||||||
for sd in \
|
for sd in \
|
||||||
share/vm/gc_implementation/shared \
|
share/vm/gc/shared \
|
||||||
os/${Platform_os_family}/vm \
|
os/${Platform_os_family}/vm \
|
||||||
cpu/${Platform_arch}/vm \
|
cpu/${Platform_arch}/vm \
|
||||||
os_cpu/${Platform_os_arch}/vm; do
|
os_cpu/${Platform_os_arch}/vm; do
|
||||||
@ -80,10 +80,10 @@ fi
|
|||||||
BASE_PATHS="${BASE_PATHS} ${COMMONSRC}/share/vm/prims/wbtestmethods"
|
BASE_PATHS="${BASE_PATHS} ${COMMONSRC}/share/vm/prims/wbtestmethods"
|
||||||
|
|
||||||
# shared is already in BASE_PATHS. Should add vm/memory but that one is also in BASE_PATHS.
|
# shared is already in BASE_PATHS. Should add vm/memory but that one is also in BASE_PATHS.
|
||||||
if [ -d "${ALTSRC}/share/vm/gc_implementation" ]; then
|
if [ -d "${ALTSRC}/share/vm/gc" ]; then
|
||||||
BASE_PATHS="${BASE_PATHS} `$FIND ${ALTSRC}/share/vm/gc_implementation ! -name gc_implementation -prune -type d \! -name shared`"
|
BASE_PATHS="${BASE_PATHS} `$FIND ${ALTSRC}/share/vm/gc ! -name gc -prune -type d \! -name shared`"
|
||||||
fi
|
fi
|
||||||
BASE_PATHS="${BASE_PATHS} `$FIND ${COMMONSRC}/share/vm/gc_implementation ! -name gc_implementation -prune -type d \! -name shared`"
|
BASE_PATHS="${BASE_PATHS} `$FIND ${COMMONSRC}/share/vm/gc ! -name gc -prune -type d \! -name shared`"
|
||||||
|
|
||||||
if [ -d "${ALTSRC}/share/vm/c1" ]; then
|
if [ -d "${ALTSRC}/share/vm/c1" ]; then
|
||||||
COMPILER1_PATHS="${ALTSRC}/share/vm/c1"
|
COMPILER1_PATHS="${ALTSRC}/share/vm/c1"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 1997, 2015, 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
|
||||||
@ -157,12 +157,11 @@ VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/code
|
|||||||
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/interpreter
|
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/interpreter
|
||||||
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/ci
|
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/ci
|
||||||
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/classfile
|
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/classfile
|
||||||
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/parallelScavenge
|
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc/parallel
|
||||||
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/shared
|
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc/shared
|
||||||
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/parNew
|
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc/serial
|
||||||
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/concurrentMarkSweep
|
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc/cms
|
||||||
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/g1
|
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc/g1
|
||||||
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_interface
|
|
||||||
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/asm
|
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/asm
|
||||||
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/memory
|
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/memory
|
||||||
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/oops
|
VM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/oops
|
||||||
@ -233,22 +232,19 @@ bytecodeInterpreterWithChecks.obj: ..\generated\jvmtifiles\bytecodeInterpreterWi
|
|||||||
{$(COMMONSRC)\share\vm\classfile}.cpp.obj::
|
{$(COMMONSRC)\share\vm\classfile}.cpp.obj::
|
||||||
$(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
|
$(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
|
||||||
|
|
||||||
{$(COMMONSRC)\share\vm\gc_implementation\parallelScavenge}.cpp.obj::
|
{$(COMMONSRC)\share\vm\gc\parallel}.cpp.obj::
|
||||||
$(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
|
$(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
|
||||||
|
|
||||||
{$(COMMONSRC)\share\vm\gc_implementation\shared}.cpp.obj::
|
{$(COMMONSRC)\share\vm\gc\shared}.cpp.obj::
|
||||||
$(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
|
$(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
|
||||||
|
|
||||||
{$(COMMONSRC)\share\vm\gc_implementation\parNew}.cpp.obj::
|
{$(COMMONSRC)\share\vm\gc\serial}.cpp.obj::
|
||||||
$(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
|
$(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
|
||||||
|
|
||||||
{$(COMMONSRC)\share\vm\gc_implementation\concurrentMarkSweep}.cpp.obj::
|
{$(COMMONSRC)\share\vm\gc\cms}.cpp.obj::
|
||||||
$(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
|
$(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
|
||||||
|
|
||||||
{$(COMMONSRC)\share\vm\gc_implementation\g1}.cpp.obj::
|
{$(COMMONSRC)\share\vm\gc\g1}.cpp.obj::
|
||||||
$(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
|
|
||||||
|
|
||||||
{$(COMMONSRC)\share\vm\gc_interface}.cpp.obj::
|
|
||||||
$(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
|
$(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
|
||||||
|
|
||||||
{$(COMMONSRC)\share\vm\asm}.cpp.obj::
|
{$(COMMONSRC)\share\vm\asm}.cpp.obj::
|
||||||
@ -316,22 +312,19 @@ bytecodeInterpreterWithChecks.obj: ..\generated\jvmtifiles\bytecodeInterpreterWi
|
|||||||
{$(ALTSRC)\share\vm\classfile}.cpp.obj::
|
{$(ALTSRC)\share\vm\classfile}.cpp.obj::
|
||||||
$(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
|
$(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
|
||||||
|
|
||||||
{$(ALTSRC)\share\vm\gc_implementation\parallelScavenge}.cpp.obj::
|
{$(ALTSRC)\share\vm\gc\parallel}.cpp.obj::
|
||||||
$(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
|
$(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
|
||||||
|
|
||||||
{$(ALTSRC)\share\vm\gc_implementation\shared}.cpp.obj::
|
{$(ALTSRC)\share\vm\gc\shared}.cpp.obj::
|
||||||
$(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
|
$(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
|
||||||
|
|
||||||
{$(ALTSRC)\share\vm\gc_implementation\parNew}.cpp.obj::
|
{$(ALTSRC)\share\vm\gc\serial}.cpp.obj::
|
||||||
$(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
|
$(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
|
||||||
|
|
||||||
{$(ALTSRC)\share\vm\gc_implementation\concurrentMarkSweep}.cpp.obj::
|
{$(ALTSRC)\share\vm\gc\cms}.cpp.obj::
|
||||||
$(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
|
$(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
|
||||||
|
|
||||||
{$(ALTSRC)\share\vm\gc_implementation\g1}.cpp.obj::
|
{$(ALTSRC)\share\vm\gc\g1}.cpp.obj::
|
||||||
$(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
|
|
||||||
|
|
||||||
{$(ALTSRC)\share\vm\gc_interface}.cpp.obj::
|
|
||||||
$(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
|
$(CXX) $(CXX_FLAGS) $(CXX_USE_PCH) /c $<
|
||||||
|
|
||||||
{$(ALTSRC)\share\vm\asm}.cpp.obj::
|
{$(ALTSRC)\share\vm\asm}.cpp.obj::
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
|
// Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||||
// Copyright (c) 2014, Red Hat Inc. All rights reserved.
|
// Copyright (c) 2014, Red Hat Inc. 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.
|
||||||
//
|
//
|
||||||
@ -421,7 +421,40 @@ reg_class any_reg(
|
|||||||
);
|
);
|
||||||
|
|
||||||
// Class for all non-special integer registers
|
// Class for all non-special integer registers
|
||||||
reg_class no_special_reg32(
|
reg_class no_special_reg32_no_fp(
|
||||||
|
R0,
|
||||||
|
R1,
|
||||||
|
R2,
|
||||||
|
R3,
|
||||||
|
R4,
|
||||||
|
R5,
|
||||||
|
R6,
|
||||||
|
R7,
|
||||||
|
R10,
|
||||||
|
R11,
|
||||||
|
R12, // rmethod
|
||||||
|
R13,
|
||||||
|
R14,
|
||||||
|
R15,
|
||||||
|
R16,
|
||||||
|
R17,
|
||||||
|
R18,
|
||||||
|
R19,
|
||||||
|
R20,
|
||||||
|
R21,
|
||||||
|
R22,
|
||||||
|
R23,
|
||||||
|
R24,
|
||||||
|
R25,
|
||||||
|
R26
|
||||||
|
/* R27, */ // heapbase
|
||||||
|
/* R28, */ // thread
|
||||||
|
/* R29, */ // fp
|
||||||
|
/* R30, */ // lr
|
||||||
|
/* R31 */ // sp
|
||||||
|
);
|
||||||
|
|
||||||
|
reg_class no_special_reg32_with_fp(
|
||||||
R0,
|
R0,
|
||||||
R1,
|
R1,
|
||||||
R2,
|
R2,
|
||||||
@ -454,8 +487,43 @@ reg_class no_special_reg32(
|
|||||||
/* R31 */ // sp
|
/* R31 */ // sp
|
||||||
);
|
);
|
||||||
|
|
||||||
|
reg_class_dynamic no_special_reg32(no_special_reg32_no_fp, no_special_reg32_with_fp, %{ PreserveFramePointer %});
|
||||||
|
|
||||||
// Class for all non-special long integer registers
|
// Class for all non-special long integer registers
|
||||||
reg_class no_special_reg(
|
reg_class no_special_reg_no_fp(
|
||||||
|
R0, R0_H,
|
||||||
|
R1, R1_H,
|
||||||
|
R2, R2_H,
|
||||||
|
R3, R3_H,
|
||||||
|
R4, R4_H,
|
||||||
|
R5, R5_H,
|
||||||
|
R6, R6_H,
|
||||||
|
R7, R7_H,
|
||||||
|
R10, R10_H,
|
||||||
|
R11, R11_H,
|
||||||
|
R12, R12_H, // rmethod
|
||||||
|
R13, R13_H,
|
||||||
|
R14, R14_H,
|
||||||
|
R15, R15_H,
|
||||||
|
R16, R16_H,
|
||||||
|
R17, R17_H,
|
||||||
|
R18, R18_H,
|
||||||
|
R19, R19_H,
|
||||||
|
R20, R20_H,
|
||||||
|
R21, R21_H,
|
||||||
|
R22, R22_H,
|
||||||
|
R23, R23_H,
|
||||||
|
R24, R24_H,
|
||||||
|
R25, R25_H,
|
||||||
|
R26, R26_H,
|
||||||
|
/* R27, R27_H, */ // heapbase
|
||||||
|
/* R28, R28_H, */ // thread
|
||||||
|
/* R29, R29_H, */ // fp
|
||||||
|
/* R30, R30_H, */ // lr
|
||||||
|
/* R31, R31_H */ // sp
|
||||||
|
);
|
||||||
|
|
||||||
|
reg_class no_special_reg_with_fp(
|
||||||
R0, R0_H,
|
R0, R0_H,
|
||||||
R1, R1_H,
|
R1, R1_H,
|
||||||
R2, R2_H,
|
R2, R2_H,
|
||||||
@ -488,6 +556,8 @@ reg_class no_special_reg(
|
|||||||
/* R31, R31_H */ // sp
|
/* R31, R31_H */ // sp
|
||||||
);
|
);
|
||||||
|
|
||||||
|
reg_class_dynamic no_special_reg(no_special_reg_no_fp, no_special_reg_with_fp, %{ PreserveFramePointer %});
|
||||||
|
|
||||||
// Class for 64 bit register r0
|
// Class for 64 bit register r0
|
||||||
reg_class r0_reg(
|
reg_class r0_reg(
|
||||||
R0, R0_H
|
R0, R0_H
|
||||||
@ -758,7 +828,7 @@ definitions %{
|
|||||||
|
|
||||||
source_hpp %{
|
source_hpp %{
|
||||||
|
|
||||||
#include "memory/cardTableModRefBS.hpp"
|
#include "gc/shared/cardTableModRefBS.hpp"
|
||||||
|
|
||||||
class CallStubImpl {
|
class CallStubImpl {
|
||||||
|
|
||||||
@ -1637,12 +1707,7 @@ bool needs_releasing_store(const Node *n)
|
|||||||
int MachCallStaticJavaNode::ret_addr_offset()
|
int MachCallStaticJavaNode::ret_addr_offset()
|
||||||
{
|
{
|
||||||
// call should be a simple bl
|
// call should be a simple bl
|
||||||
// unless this is a method handle invoke in which case it is
|
|
||||||
// mov(rfp, sp), bl, mov(sp, rfp)
|
|
||||||
int off = 4;
|
int off = 4;
|
||||||
if (_method_handle_invoke) {
|
|
||||||
off += 4;
|
|
||||||
}
|
|
||||||
return off;
|
return off;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1753,14 +1818,13 @@ void MachPrologNode::format(PhaseRegAlloc *ra_, outputStream *st) const {
|
|||||||
if (C->need_stack_bang(framesize))
|
if (C->need_stack_bang(framesize))
|
||||||
st->print("# stack bang size=%d\n\t", framesize);
|
st->print("# stack bang size=%d\n\t", framesize);
|
||||||
|
|
||||||
if (framesize == 0) {
|
if (framesize < ((1 << 9) + 2 * wordSize)) {
|
||||||
// Is this even possible?
|
|
||||||
st->print("stp lr, rfp, [sp, #%d]!", -(2 * wordSize));
|
|
||||||
} else if (framesize < ((1 << 9) + 2 * wordSize)) {
|
|
||||||
st->print("sub sp, sp, #%d\n\t", framesize);
|
st->print("sub sp, sp, #%d\n\t", framesize);
|
||||||
st->print("stp rfp, lr, [sp, #%d]", framesize - 2 * wordSize);
|
st->print("stp rfp, lr, [sp, #%d]", framesize - 2 * wordSize);
|
||||||
|
if (PreserveFramePointer) st->print("\n\tadd rfp, sp, #%d", framesize - 2 * wordSize);
|
||||||
} else {
|
} else {
|
||||||
st->print("stp lr, rfp, [sp, #%d]!\n\t", -(2 * wordSize));
|
st->print("stp lr, rfp, [sp, #%d]!\n\t", -(2 * wordSize));
|
||||||
|
if (PreserveFramePointer) st->print("mov rfp, sp\n\t");
|
||||||
st->print("mov rscratch1, #%d\n\t", framesize - 2 * wordSize);
|
st->print("mov rscratch1, #%d\n\t", framesize - 2 * wordSize);
|
||||||
st->print("sub sp, sp, rscratch1");
|
st->print("sub sp, sp, rscratch1");
|
||||||
}
|
}
|
||||||
@ -3517,34 +3581,6 @@ encode %{
|
|||||||
}
|
}
|
||||||
%}
|
%}
|
||||||
|
|
||||||
enc_class aarch64_enc_java_handle_call(method meth) %{
|
|
||||||
MacroAssembler _masm(&cbuf);
|
|
||||||
relocInfo::relocType reloc;
|
|
||||||
|
|
||||||
// RFP is preserved across all calls, even compiled calls.
|
|
||||||
// Use it to preserve SP.
|
|
||||||
__ mov(rfp, sp);
|
|
||||||
|
|
||||||
const int start_offset = __ offset();
|
|
||||||
address addr = (address)$meth$$method;
|
|
||||||
if (!_method) {
|
|
||||||
// A call to a runtime wrapper, e.g. new, new_typeArray_Java, uncommon_trap.
|
|
||||||
__ trampoline_call(Address(addr, relocInfo::runtime_call_type), &cbuf);
|
|
||||||
} else if (_optimized_virtual) {
|
|
||||||
__ trampoline_call(Address(addr, relocInfo::opt_virtual_call_type), &cbuf);
|
|
||||||
} else {
|
|
||||||
__ trampoline_call(Address(addr, relocInfo::static_call_type), &cbuf);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (_method) {
|
|
||||||
// Emit stub for static call
|
|
||||||
CompiledStaticCall::emit_to_interp_stub(cbuf);
|
|
||||||
}
|
|
||||||
|
|
||||||
// now restore sp
|
|
||||||
__ mov(sp, rfp);
|
|
||||||
%}
|
|
||||||
|
|
||||||
enc_class aarch64_enc_java_dynamic_call(method meth) %{
|
enc_class aarch64_enc_java_dynamic_call(method meth) %{
|
||||||
MacroAssembler _masm(&cbuf);
|
MacroAssembler _masm(&cbuf);
|
||||||
__ ic_call((address)$meth$$method);
|
__ ic_call((address)$meth$$method);
|
||||||
@ -12561,8 +12597,6 @@ instruct CallStaticJavaDirect(method meth)
|
|||||||
|
|
||||||
effect(USE meth);
|
effect(USE meth);
|
||||||
|
|
||||||
predicate(!((CallStaticJavaNode*)n)->is_method_handle_invoke());
|
|
||||||
|
|
||||||
ins_cost(CALL_COST);
|
ins_cost(CALL_COST);
|
||||||
|
|
||||||
format %{ "call,static $meth \t// ==> " %}
|
format %{ "call,static $meth \t// ==> " %}
|
||||||
@ -12575,26 +12609,6 @@ instruct CallStaticJavaDirect(method meth)
|
|||||||
|
|
||||||
// TO HERE
|
// TO HERE
|
||||||
|
|
||||||
// Call Java Static Instruction (method handle version)
|
|
||||||
|
|
||||||
instruct CallStaticJavaDirectHandle(method meth, iRegP_FP reg_mh_save)
|
|
||||||
%{
|
|
||||||
match(CallStaticJava);
|
|
||||||
|
|
||||||
effect(USE meth);
|
|
||||||
|
|
||||||
predicate(((CallStaticJavaNode*)n)->is_method_handle_invoke());
|
|
||||||
|
|
||||||
ins_cost(CALL_COST);
|
|
||||||
|
|
||||||
format %{ "call,static $meth \t// (methodhandle) ==> " %}
|
|
||||||
|
|
||||||
ins_encode( aarch64_enc_java_handle_call(meth),
|
|
||||||
aarch64_enc_call_epilog );
|
|
||||||
|
|
||||||
ins_pipe(pipe_class_call);
|
|
||||||
%}
|
|
||||||
|
|
||||||
// Call Java Dynamic Instruction
|
// Call Java Dynamic Instruction
|
||||||
instruct CallDynamicJavaDirect(method meth)
|
instruct CallDynamicJavaDirect(method meth)
|
||||||
%{
|
%{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||||
* Copyright (c) 2014, Red Hat Inc. All rights reserved.
|
* Copyright (c) 2014, Red Hat Inc. 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.
|
||||||
*
|
*
|
||||||
@ -33,7 +33,7 @@
|
|||||||
#include "runtime/sharedRuntime.hpp"
|
#include "runtime/sharedRuntime.hpp"
|
||||||
#include "vmreg_aarch64.inline.hpp"
|
#include "vmreg_aarch64.inline.hpp"
|
||||||
#if INCLUDE_ALL_GCS
|
#if INCLUDE_ALL_GCS
|
||||||
#include "gc_implementation/g1/g1SATBCardTableModRefBS.hpp"
|
#include "gc/g1/g1SATBCardTableModRefBS.hpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -346,8 +346,7 @@ LIR_Opr FrameMap::stack_pointer() {
|
|||||||
|
|
||||||
// JSR 292
|
// JSR 292
|
||||||
LIR_Opr FrameMap::method_handle_invoke_SP_save_opr() {
|
LIR_Opr FrameMap::method_handle_invoke_SP_save_opr() {
|
||||||
// assert(rfp == rbp_mh_SP_save, "must be same register");
|
return LIR_OprFact::illegalOpr; // Not needed on aarch64
|
||||||
return rfp_opr;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||||
* Copyright (c) 2014, Red Hat Inc. All rights reserved.
|
* Copyright (c) 2014, Red Hat Inc. 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.
|
||||||
*
|
*
|
||||||
@ -33,9 +33,9 @@
|
|||||||
#include "c1/c1_ValueStack.hpp"
|
#include "c1/c1_ValueStack.hpp"
|
||||||
#include "ci/ciArrayKlass.hpp"
|
#include "ci/ciArrayKlass.hpp"
|
||||||
#include "ci/ciInstance.hpp"
|
#include "ci/ciInstance.hpp"
|
||||||
#include "gc_interface/collectedHeap.hpp"
|
#include "gc/shared/barrierSet.hpp"
|
||||||
#include "memory/barrierSet.hpp"
|
#include "gc/shared/cardTableModRefBS.hpp"
|
||||||
#include "memory/cardTableModRefBS.hpp"
|
#include "gc/shared/collectedHeap.hpp"
|
||||||
#include "nativeInst_aarch64.hpp"
|
#include "nativeInst_aarch64.hpp"
|
||||||
#include "oops/objArrayKlass.hpp"
|
#include "oops/objArrayKlass.hpp"
|
||||||
#include "runtime/sharedRuntime.hpp"
|
#include "runtime/sharedRuntime.hpp"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||||
* Copyright (c) 2014, Red Hat Inc. All rights reserved.
|
* Copyright (c) 2014, Red Hat Inc. 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.
|
||||||
*
|
*
|
||||||
@ -27,7 +27,7 @@
|
|||||||
#include "c1/c1_MacroAssembler.hpp"
|
#include "c1/c1_MacroAssembler.hpp"
|
||||||
#include "c1/c1_Runtime1.hpp"
|
#include "c1/c1_Runtime1.hpp"
|
||||||
#include "classfile/systemDictionary.hpp"
|
#include "classfile/systemDictionary.hpp"
|
||||||
#include "gc_interface/collectedHeap.hpp"
|
#include "gc/shared/collectedHeap.hpp"
|
||||||
#include "interpreter/interpreter.hpp"
|
#include "interpreter/interpreter.hpp"
|
||||||
#include "oops/arrayOop.hpp"
|
#include "oops/arrayOop.hpp"
|
||||||
#include "oops/markOop.hpp"
|
#include "oops/markOop.hpp"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||||
* Copyright (c) 2014, Red Hat Inc. All rights reserved.
|
* Copyright (c) 2014, Red Hat Inc. 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.
|
||||||
*
|
*
|
||||||
@ -42,7 +42,7 @@
|
|||||||
#include "runtime/vframeArray.hpp"
|
#include "runtime/vframeArray.hpp"
|
||||||
#include "vmreg_aarch64.inline.hpp"
|
#include "vmreg_aarch64.inline.hpp"
|
||||||
#if INCLUDE_ALL_GCS
|
#if INCLUDE_ALL_GCS
|
||||||
#include "gc_implementation/g1/g1SATBCardTableModRefBS.hpp"
|
#include "gc/g1/g1SATBCardTableModRefBS.hpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
@ -443,18 +443,8 @@ OopMapSet* Runtime1::generate_handle_exception(StubID id, StubAssembler *sasm) {
|
|||||||
restore_live_registers(sasm, id != handle_exception_nofpu_id);
|
restore_live_registers(sasm, id != handle_exception_nofpu_id);
|
||||||
break;
|
break;
|
||||||
case handle_exception_from_callee_id:
|
case handle_exception_from_callee_id:
|
||||||
// Pop the return address since we are possibly changing SP (restoring from BP).
|
// Pop the return address.
|
||||||
__ leave();
|
__ leave();
|
||||||
|
|
||||||
// Restore SP from FP if the exception PC is a method handle call site.
|
|
||||||
{
|
|
||||||
Label nope;
|
|
||||||
__ ldrw(rscratch1, Address(rthread, JavaThread::is_method_handle_return_offset()));
|
|
||||||
__ cbzw(rscratch1, nope);
|
|
||||||
__ mov(sp, rfp);
|
|
||||||
__ bind(nope);
|
|
||||||
}
|
|
||||||
|
|
||||||
__ ret(lr); // jump to exception handler
|
__ ret(lr); // jump to exception handler
|
||||||
break;
|
break;
|
||||||
default: ShouldNotReachHere();
|
default: ShouldNotReachHere();
|
||||||
@ -514,14 +504,6 @@ void Runtime1::generate_unwind_exception(StubAssembler *sasm) {
|
|||||||
|
|
||||||
__ verify_not_null_oop(exception_oop);
|
__ verify_not_null_oop(exception_oop);
|
||||||
|
|
||||||
{
|
|
||||||
Label foo;
|
|
||||||
__ ldrw(rscratch1, Address(rthread, JavaThread::is_method_handle_return_offset()));
|
|
||||||
__ cbzw(rscratch1, foo);
|
|
||||||
__ mov(sp, rfp);
|
|
||||||
__ bind(foo);
|
|
||||||
}
|
|
||||||
|
|
||||||
// continue at exception handler (return address removed)
|
// continue at exception handler (return address removed)
|
||||||
// note: do *not* remove arguments when unwinding the
|
// note: do *not* remove arguments when unwinding the
|
||||||
// activation since the caller assumes having
|
// activation since the caller assumes having
|
||||||
|
@ -223,7 +223,8 @@ bool frame::safe_for_sender(JavaThread *thread) {
|
|||||||
if (sender_blob->is_nmethod()) {
|
if (sender_blob->is_nmethod()) {
|
||||||
nmethod* nm = sender_blob->as_nmethod_or_null();
|
nmethod* nm = sender_blob->as_nmethod_or_null();
|
||||||
if (nm != NULL) {
|
if (nm != NULL) {
|
||||||
if (nm->is_deopt_mh_entry(sender_pc) || nm->is_deopt_entry(sender_pc)) {
|
if (nm->is_deopt_mh_entry(sender_pc) || nm->is_deopt_entry(sender_pc) ||
|
||||||
|
nm->method()->is_method_handle_intrinsic()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -389,10 +390,9 @@ frame frame::sender_for_entry_frame(RegisterMap* map) const {
|
|||||||
// frame::verify_deopt_original_pc
|
// frame::verify_deopt_original_pc
|
||||||
//
|
//
|
||||||
// Verifies the calculated original PC of a deoptimization PC for the
|
// Verifies the calculated original PC of a deoptimization PC for the
|
||||||
// given unextended SP. The unextended SP might also be the saved SP
|
// given unextended SP.
|
||||||
// for MethodHandle call sites.
|
|
||||||
#ifdef ASSERT
|
#ifdef ASSERT
|
||||||
void frame::verify_deopt_original_pc(nmethod* nm, intptr_t* unextended_sp, bool is_method_handle_return) {
|
void frame::verify_deopt_original_pc(nmethod* nm, intptr_t* unextended_sp) {
|
||||||
frame fr;
|
frame fr;
|
||||||
|
|
||||||
// This is ugly but it's better than to change {get,set}_original_pc
|
// This is ugly but it's better than to change {get,set}_original_pc
|
||||||
@ -402,33 +402,23 @@ void frame::verify_deopt_original_pc(nmethod* nm, intptr_t* unextended_sp, bool
|
|||||||
|
|
||||||
address original_pc = nm->get_original_pc(&fr);
|
address original_pc = nm->get_original_pc(&fr);
|
||||||
assert(nm->insts_contains(original_pc), "original PC must be in nmethod");
|
assert(nm->insts_contains(original_pc), "original PC must be in nmethod");
|
||||||
assert(nm->is_method_handle_return(original_pc) == is_method_handle_return, "must be");
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// frame::adjust_unextended_sp
|
// frame::adjust_unextended_sp
|
||||||
void frame::adjust_unextended_sp() {
|
void frame::adjust_unextended_sp() {
|
||||||
// If we are returning to a compiled MethodHandle call site, the
|
// On aarch64, sites calling method handle intrinsics and lambda forms are treated
|
||||||
// saved_fp will in fact be a saved value of the unextended SP. The
|
// as any other call site. Therefore, no special action is needed when we are
|
||||||
// simplest way to tell whether we are returning to such a call site
|
// returning to any of these call sites.
|
||||||
// is as follows:
|
|
||||||
|
|
||||||
nmethod* sender_nm = (_cb == NULL) ? NULL : _cb->as_nmethod_or_null();
|
nmethod* sender_nm = (_cb == NULL) ? NULL : _cb->as_nmethod_or_null();
|
||||||
if (sender_nm != NULL) {
|
if (sender_nm != NULL) {
|
||||||
// If the sender PC is a deoptimization point, get the original
|
// If the sender PC is a deoptimization point, get the original PC.
|
||||||
// PC. For MethodHandle call site the unextended_sp is stored in
|
if (sender_nm->is_deopt_entry(_pc) ||
|
||||||
// saved_fp.
|
sender_nm->is_deopt_mh_entry(_pc)) {
|
||||||
if (sender_nm->is_deopt_mh_entry(_pc)) {
|
|
||||||
DEBUG_ONLY(verify_deopt_mh_original_pc(sender_nm, _fp));
|
|
||||||
_unextended_sp = _fp;
|
|
||||||
}
|
|
||||||
else if (sender_nm->is_deopt_entry(_pc)) {
|
|
||||||
DEBUG_ONLY(verify_deopt_original_pc(sender_nm, _unextended_sp));
|
DEBUG_ONLY(verify_deopt_original_pc(sender_nm, _unextended_sp));
|
||||||
}
|
}
|
||||||
else if (sender_nm->is_method_handle_return(_pc)) {
|
|
||||||
_unextended_sp = _fp;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -167,10 +167,7 @@
|
|||||||
|
|
||||||
#ifdef ASSERT
|
#ifdef ASSERT
|
||||||
// Used in frame::sender_for_{interpreter,compiled}_frame
|
// Used in frame::sender_for_{interpreter,compiled}_frame
|
||||||
static void verify_deopt_original_pc( nmethod* nm, intptr_t* unextended_sp, bool is_method_handle_return = false);
|
static void verify_deopt_original_pc( nmethod* nm, intptr_t* unextended_sp);
|
||||||
static void verify_deopt_mh_original_pc(nmethod* nm, intptr_t* unextended_sp) {
|
|
||||||
verify_deopt_original_pc(nm, unextended_sp, true);
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -47,12 +47,6 @@ static int spin;
|
|||||||
inline void frame::init(intptr_t* sp, intptr_t* fp, address pc) {
|
inline void frame::init(intptr_t* sp, intptr_t* fp, address pc) {
|
||||||
intptr_t a = intptr_t(sp);
|
intptr_t a = intptr_t(sp);
|
||||||
intptr_t b = intptr_t(fp);
|
intptr_t b = intptr_t(fp);
|
||||||
#ifndef PRODUCT
|
|
||||||
if (fp)
|
|
||||||
if (sp > fp || (fp - sp > 0x100000))
|
|
||||||
for(;;)
|
|
||||||
asm("nop");
|
|
||||||
#endif
|
|
||||||
_sp = sp;
|
_sp = sp;
|
||||||
_unextended_sp = sp;
|
_unextended_sp = sp;
|
||||||
_fp = fp;
|
_fp = fp;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||||
* Copyright (c) 2014, Red Hat Inc. All rights reserved.
|
* Copyright (c) 2014, Red Hat Inc. 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.
|
||||||
*
|
*
|
||||||
@ -27,7 +27,7 @@
|
|||||||
#include "asm/macroAssembler.hpp"
|
#include "asm/macroAssembler.hpp"
|
||||||
#include "asm/macroAssembler.inline.hpp"
|
#include "asm/macroAssembler.inline.hpp"
|
||||||
#include "code/icBuffer.hpp"
|
#include "code/icBuffer.hpp"
|
||||||
#include "gc_interface/collectedHeap.inline.hpp"
|
#include "gc/shared/collectedHeap.inline.hpp"
|
||||||
#include "interpreter/bytecodes.hpp"
|
#include "interpreter/bytecodes.hpp"
|
||||||
#include "memory/resourceArea.hpp"
|
#include "memory/resourceArea.hpp"
|
||||||
#include "nativeInst_aarch64.hpp"
|
#include "nativeInst_aarch64.hpp"
|
||||||
|
@ -41,9 +41,9 @@
|
|||||||
#include "runtime/sharedRuntime.hpp"
|
#include "runtime/sharedRuntime.hpp"
|
||||||
|
|
||||||
#if INCLUDE_ALL_GCS
|
#if INCLUDE_ALL_GCS
|
||||||
#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
|
#include "gc/g1/g1CollectedHeap.inline.hpp"
|
||||||
#include "gc_implementation/g1/g1SATBCardTableModRefBS.hpp"
|
#include "gc/g1/g1SATBCardTableModRefBS.hpp"
|
||||||
#include "gc_implementation/g1/heapRegion.hpp"
|
#include "gc/g1/heapRegion.hpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef PRODUCT
|
#ifdef PRODUCT
|
||||||
@ -3788,14 +3788,14 @@ void MacroAssembler::adrp(Register reg1, const Address &dest, unsigned long &byt
|
|||||||
}
|
}
|
||||||
|
|
||||||
void MacroAssembler::build_frame(int framesize) {
|
void MacroAssembler::build_frame(int framesize) {
|
||||||
if (framesize == 0) {
|
assert(framesize > 0, "framesize must be > 0");
|
||||||
// Is this even possible?
|
if (framesize < ((1 << 9) + 2 * wordSize)) {
|
||||||
stp(rfp, lr, Address(pre(sp, -2 * wordSize)));
|
|
||||||
} else if (framesize < ((1 << 9) + 2 * wordSize)) {
|
|
||||||
sub(sp, sp, framesize);
|
sub(sp, sp, framesize);
|
||||||
stp(rfp, lr, Address(sp, framesize - 2 * wordSize));
|
stp(rfp, lr, Address(sp, framesize - 2 * wordSize));
|
||||||
|
if (PreserveFramePointer) add(rfp, sp, framesize - 2 * wordSize);
|
||||||
} else {
|
} else {
|
||||||
stp(rfp, lr, Address(pre(sp, -2 * wordSize)));
|
stp(rfp, lr, Address(pre(sp, -2 * wordSize)));
|
||||||
|
if (PreserveFramePointer) mov(rfp, sp);
|
||||||
if (framesize < ((1 << 12) + 2 * wordSize))
|
if (framesize < ((1 << 12) + 2 * wordSize))
|
||||||
sub(sp, sp, framesize - 2 * wordSize);
|
sub(sp, sp, framesize - 2 * wordSize);
|
||||||
else {
|
else {
|
||||||
@ -3806,9 +3806,8 @@ void MacroAssembler::build_frame(int framesize) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void MacroAssembler::remove_frame(int framesize) {
|
void MacroAssembler::remove_frame(int framesize) {
|
||||||
if (framesize == 0) {
|
assert(framesize > 0, "framesize must be > 0");
|
||||||
ldp(rfp, lr, Address(post(sp, 2 * wordSize)));
|
if (framesize < ((1 << 9) + 2 * wordSize)) {
|
||||||
} else if (framesize < ((1 << 9) + 2 * wordSize)) {
|
|
||||||
ldp(rfp, lr, Address(sp, framesize - 2 * wordSize));
|
ldp(rfp, lr, Address(sp, framesize - 2 * wordSize));
|
||||||
add(sp, sp, framesize);
|
add(sp, sp, framesize);
|
||||||
} else {
|
} else {
|
||||||
|
@ -149,7 +149,3 @@ REGISTER_DEFINITION(Register, rthread);
|
|||||||
REGISTER_DEFINITION(Register, rheapbase);
|
REGISTER_DEFINITION(Register, rheapbase);
|
||||||
|
|
||||||
REGISTER_DEFINITION(Register, r31_sp);
|
REGISTER_DEFINITION(Register, r31_sp);
|
||||||
|
|
||||||
// TODO : x86 uses rbp to save SP in method handle code
|
|
||||||
// we may need to do the same with fp
|
|
||||||
// REGISTER_DEFINITION(Register, rbp_mh_SP_save)
|
|
||||||
|
@ -2995,21 +2995,6 @@ void OptoRuntime::generate_exception_blob() {
|
|||||||
|
|
||||||
// r0: exception handler
|
// r0: exception handler
|
||||||
|
|
||||||
// Restore SP from BP if the exception PC is a MethodHandle call site.
|
|
||||||
__ ldrw(rscratch1, Address(rthread, JavaThread::is_method_handle_return_offset()));
|
|
||||||
// n.b. Intel uses special register rbp_mh_SP_save here but we will
|
|
||||||
// just hard wire rfp
|
|
||||||
__ cmpw(rscratch1, zr);
|
|
||||||
// the obvious way to conditionally copy rfp to sp if NE
|
|
||||||
// Label skip;
|
|
||||||
// __ br(Assembler::EQ, skip);
|
|
||||||
// __ mov(sp, rfp);
|
|
||||||
// __ bind(skip);
|
|
||||||
// same but branchless
|
|
||||||
__ mov(rscratch1, sp);
|
|
||||||
__ csel(rscratch1, rfp, rscratch1, Assembler::NE);
|
|
||||||
__ mov(sp, rscratch1);
|
|
||||||
|
|
||||||
// We have a handler in r0 (could be deopt blob).
|
// We have a handler in r0 (could be deopt blob).
|
||||||
__ mov(r8, r0);
|
__ mov(r8, r0);
|
||||||
|
|
||||||
|
@ -1891,7 +1891,7 @@ class StubGenerator: public StubCodeGenerator {
|
|||||||
address start = __ pc();
|
address start = __ pc();
|
||||||
__ enter();
|
__ enter();
|
||||||
|
|
||||||
__ mov(rscratch1, len_reg);
|
__ mov(rscratch2, len_reg);
|
||||||
__ ldrw(keylen, Address(key, arrayOopDesc::length_offset_in_bytes() - arrayOopDesc::base_offset_in_bytes(T_INT)));
|
__ ldrw(keylen, Address(key, arrayOopDesc::length_offset_in_bytes() - arrayOopDesc::base_offset_in_bytes(T_INT)));
|
||||||
|
|
||||||
__ ld1(v0, __ T16B, rvec);
|
__ ld1(v0, __ T16B, rvec);
|
||||||
|
@ -25,9 +25,9 @@
|
|||||||
|
|
||||||
#include "precompiled.hpp"
|
#include "precompiled.hpp"
|
||||||
#include "asm/assembler.inline.hpp"
|
#include "asm/assembler.inline.hpp"
|
||||||
#include "gc_interface/collectedHeap.inline.hpp"
|
#include "gc/shared/cardTableModRefBS.hpp"
|
||||||
|
#include "gc/shared/collectedHeap.inline.hpp"
|
||||||
#include "interpreter/interpreter.hpp"
|
#include "interpreter/interpreter.hpp"
|
||||||
#include "memory/cardTableModRefBS.hpp"
|
|
||||||
#include "memory/resourceArea.hpp"
|
#include "memory/resourceArea.hpp"
|
||||||
#include "prims/methodHandles.hpp"
|
#include "prims/methodHandles.hpp"
|
||||||
#include "runtime/biasedLocking.hpp"
|
#include "runtime/biasedLocking.hpp"
|
||||||
@ -38,9 +38,9 @@
|
|||||||
#include "runtime/stubRoutines.hpp"
|
#include "runtime/stubRoutines.hpp"
|
||||||
#include "utilities/macros.hpp"
|
#include "utilities/macros.hpp"
|
||||||
#if INCLUDE_ALL_GCS
|
#if INCLUDE_ALL_GCS
|
||||||
#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
|
#include "gc/g1/g1CollectedHeap.inline.hpp"
|
||||||
#include "gc_implementation/g1/g1SATBCardTableModRefBS.hpp"
|
#include "gc/g1/g1SATBCardTableModRefBS.hpp"
|
||||||
#include "gc_implementation/g1/heapRegion.hpp"
|
#include "gc/g1/heapRegion.hpp"
|
||||||
#endif // INCLUDE_ALL_GCS
|
#endif // INCLUDE_ALL_GCS
|
||||||
|
|
||||||
#ifdef PRODUCT
|
#ifdef PRODUCT
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#include "asm/assembler.hpp"
|
#include "asm/assembler.hpp"
|
||||||
#include "assembler_ppc.inline.hpp"
|
#include "assembler_ppc.inline.hpp"
|
||||||
#include "code/icBuffer.hpp"
|
#include "code/icBuffer.hpp"
|
||||||
#include "gc_interface/collectedHeap.inline.hpp"
|
#include "gc/shared/collectedHeap.inline.hpp"
|
||||||
#include "interpreter/bytecodes.hpp"
|
#include "interpreter/bytecodes.hpp"
|
||||||
#include "memory/resourceArea.hpp"
|
#include "memory/resourceArea.hpp"
|
||||||
#include "nativeInst_ppc.hpp"
|
#include "nativeInst_ppc.hpp"
|
||||||
|
@ -26,9 +26,9 @@
|
|||||||
#include "precompiled.hpp"
|
#include "precompiled.hpp"
|
||||||
#include "asm/macroAssembler.inline.hpp"
|
#include "asm/macroAssembler.inline.hpp"
|
||||||
#include "compiler/disassembler.hpp"
|
#include "compiler/disassembler.hpp"
|
||||||
#include "gc_interface/collectedHeap.inline.hpp"
|
#include "gc/shared/cardTableModRefBS.hpp"
|
||||||
|
#include "gc/shared/collectedHeap.inline.hpp"
|
||||||
#include "interpreter/interpreter.hpp"
|
#include "interpreter/interpreter.hpp"
|
||||||
#include "memory/cardTableModRefBS.hpp"
|
|
||||||
#include "memory/resourceArea.hpp"
|
#include "memory/resourceArea.hpp"
|
||||||
#include "prims/methodHandles.hpp"
|
#include "prims/methodHandles.hpp"
|
||||||
#include "runtime/biasedLocking.hpp"
|
#include "runtime/biasedLocking.hpp"
|
||||||
@ -40,9 +40,9 @@
|
|||||||
#include "runtime/stubRoutines.hpp"
|
#include "runtime/stubRoutines.hpp"
|
||||||
#include "utilities/macros.hpp"
|
#include "utilities/macros.hpp"
|
||||||
#if INCLUDE_ALL_GCS
|
#if INCLUDE_ALL_GCS
|
||||||
#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
|
#include "gc/g1/g1CollectedHeap.inline.hpp"
|
||||||
#include "gc_implementation/g1/g1SATBCardTableModRefBS.hpp"
|
#include "gc/g1/g1SATBCardTableModRefBS.hpp"
|
||||||
#include "gc_implementation/g1/heapRegion.hpp"
|
#include "gc/g1/heapRegion.hpp"
|
||||||
#endif // INCLUDE_ALL_GCS
|
#endif // INCLUDE_ALL_GCS
|
||||||
|
|
||||||
#ifdef PRODUCT
|
#ifdef PRODUCT
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
#include "utilities/macros.hpp"
|
#include "utilities/macros.hpp"
|
||||||
#include "vmreg_sparc.inline.hpp"
|
#include "vmreg_sparc.inline.hpp"
|
||||||
#if INCLUDE_ALL_GCS
|
#if INCLUDE_ALL_GCS
|
||||||
#include "gc_implementation/g1/g1SATBCardTableModRefBS.hpp"
|
#include "gc/g1/g1SATBCardTableModRefBS.hpp"
|
||||||
#endif // INCLUDE_ALL_GCS
|
#endif // INCLUDE_ALL_GCS
|
||||||
|
|
||||||
#define __ ce->masm()->
|
#define __ ce->masm()->
|
||||||
|
@ -30,9 +30,9 @@
|
|||||||
#include "c1/c1_ValueStack.hpp"
|
#include "c1/c1_ValueStack.hpp"
|
||||||
#include "ci/ciArrayKlass.hpp"
|
#include "ci/ciArrayKlass.hpp"
|
||||||
#include "ci/ciInstance.hpp"
|
#include "ci/ciInstance.hpp"
|
||||||
#include "gc_interface/collectedHeap.hpp"
|
#include "gc/shared/barrierSet.hpp"
|
||||||
#include "memory/barrierSet.hpp"
|
#include "gc/shared/cardTableModRefBS.hpp"
|
||||||
#include "memory/cardTableModRefBS.hpp"
|
#include "gc/shared/collectedHeap.hpp"
|
||||||
#include "nativeInst_sparc.hpp"
|
#include "nativeInst_sparc.hpp"
|
||||||
#include "oops/objArrayKlass.hpp"
|
#include "oops/objArrayKlass.hpp"
|
||||||
#include "runtime/sharedRuntime.hpp"
|
#include "runtime/sharedRuntime.hpp"
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
#include "c1/c1_MacroAssembler.hpp"
|
#include "c1/c1_MacroAssembler.hpp"
|
||||||
#include "c1/c1_Runtime1.hpp"
|
#include "c1/c1_Runtime1.hpp"
|
||||||
#include "classfile/systemDictionary.hpp"
|
#include "classfile/systemDictionary.hpp"
|
||||||
#include "gc_interface/collectedHeap.hpp"
|
#include "gc/shared/collectedHeap.hpp"
|
||||||
#include "interpreter/interpreter.hpp"
|
#include "interpreter/interpreter.hpp"
|
||||||
#include "oops/arrayOop.hpp"
|
#include "oops/arrayOop.hpp"
|
||||||
#include "oops/markOop.hpp"
|
#include "oops/markOop.hpp"
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
#include "utilities/macros.hpp"
|
#include "utilities/macros.hpp"
|
||||||
#include "vmreg_sparc.inline.hpp"
|
#include "vmreg_sparc.inline.hpp"
|
||||||
#if INCLUDE_ALL_GCS
|
#if INCLUDE_ALL_GCS
|
||||||
#include "gc_implementation/g1/g1SATBCardTableModRefBS.hpp"
|
#include "gc/g1/g1SATBCardTableModRefBS.hpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Implementation of StubAssembler
|
// Implementation of StubAssembler
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#include "precompiled.hpp"
|
#include "precompiled.hpp"
|
||||||
#include "asm/macroAssembler.inline.hpp"
|
#include "asm/macroAssembler.inline.hpp"
|
||||||
#include "code/icBuffer.hpp"
|
#include "code/icBuffer.hpp"
|
||||||
#include "gc_interface/collectedHeap.inline.hpp"
|
#include "gc/shared/collectedHeap.inline.hpp"
|
||||||
#include "interpreter/bytecodes.hpp"
|
#include "interpreter/bytecodes.hpp"
|
||||||
#include "memory/resourceArea.hpp"
|
#include "memory/resourceArea.hpp"
|
||||||
#include "nativeInst_sparc.hpp"
|
#include "nativeInst_sparc.hpp"
|
||||||
|
@ -25,9 +25,9 @@
|
|||||||
#include "precompiled.hpp"
|
#include "precompiled.hpp"
|
||||||
#include "asm/macroAssembler.inline.hpp"
|
#include "asm/macroAssembler.inline.hpp"
|
||||||
#include "compiler/disassembler.hpp"
|
#include "compiler/disassembler.hpp"
|
||||||
#include "gc_interface/collectedHeap.inline.hpp"
|
#include "gc/shared/cardTableModRefBS.hpp"
|
||||||
|
#include "gc/shared/collectedHeap.inline.hpp"
|
||||||
#include "interpreter/interpreter.hpp"
|
#include "interpreter/interpreter.hpp"
|
||||||
#include "memory/cardTableModRefBS.hpp"
|
|
||||||
#include "memory/resourceArea.hpp"
|
#include "memory/resourceArea.hpp"
|
||||||
#include "memory/universe.hpp"
|
#include "memory/universe.hpp"
|
||||||
#include "prims/methodHandles.hpp"
|
#include "prims/methodHandles.hpp"
|
||||||
@ -39,9 +39,9 @@
|
|||||||
#include "runtime/stubRoutines.hpp"
|
#include "runtime/stubRoutines.hpp"
|
||||||
#include "utilities/macros.hpp"
|
#include "utilities/macros.hpp"
|
||||||
#if INCLUDE_ALL_GCS
|
#if INCLUDE_ALL_GCS
|
||||||
#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
|
#include "gc/g1/g1CollectedHeap.inline.hpp"
|
||||||
#include "gc_implementation/g1/g1SATBCardTableModRefBS.hpp"
|
#include "gc/g1/g1SATBCardTableModRefBS.hpp"
|
||||||
#include "gc_implementation/g1/heapRegion.hpp"
|
#include "gc/g1/heapRegion.hpp"
|
||||||
#endif // INCLUDE_ALL_GCS
|
#endif // INCLUDE_ALL_GCS
|
||||||
|
|
||||||
#ifdef PRODUCT
|
#ifdef PRODUCT
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 1997, 2015, 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
|
||||||
@ -25,9 +25,9 @@
|
|||||||
#include "precompiled.hpp"
|
#include "precompiled.hpp"
|
||||||
#include "asm/assembler.hpp"
|
#include "asm/assembler.hpp"
|
||||||
#include "asm/assembler.inline.hpp"
|
#include "asm/assembler.inline.hpp"
|
||||||
#include "gc_interface/collectedHeap.inline.hpp"
|
#include "gc/shared/cardTableModRefBS.hpp"
|
||||||
|
#include "gc/shared/collectedHeap.inline.hpp"
|
||||||
#include "interpreter/interpreter.hpp"
|
#include "interpreter/interpreter.hpp"
|
||||||
#include "memory/cardTableModRefBS.hpp"
|
|
||||||
#include "memory/resourceArea.hpp"
|
#include "memory/resourceArea.hpp"
|
||||||
#include "prims/methodHandles.hpp"
|
#include "prims/methodHandles.hpp"
|
||||||
#include "runtime/biasedLocking.hpp"
|
#include "runtime/biasedLocking.hpp"
|
||||||
@ -38,9 +38,9 @@
|
|||||||
#include "runtime/stubRoutines.hpp"
|
#include "runtime/stubRoutines.hpp"
|
||||||
#include "utilities/macros.hpp"
|
#include "utilities/macros.hpp"
|
||||||
#if INCLUDE_ALL_GCS
|
#if INCLUDE_ALL_GCS
|
||||||
#include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
|
#include "gc/g1/g1CollectedHeap.inline.hpp"
|
||||||
#include "gc_implementation/g1/g1SATBCardTableModRefBS.hpp"
|
#include "gc/g1/g1SATBCardTableModRefBS.hpp"
|
||||||
#include "gc_implementation/g1/heapRegion.hpp"
|
#include "gc/g1/heapRegion.hpp"
|
||||||
#endif // INCLUDE_ALL_GCS
|
#endif // INCLUDE_ALL_GCS
|
||||||
|
|
||||||
#ifdef PRODUCT
|
#ifdef PRODUCT
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
#include "utilities/macros.hpp"
|
#include "utilities/macros.hpp"
|
||||||
#include "vmreg_x86.inline.hpp"
|
#include "vmreg_x86.inline.hpp"
|
||||||
#if INCLUDE_ALL_GCS
|
#if INCLUDE_ALL_GCS
|
||||||
#include "gc_implementation/g1/g1SATBCardTableModRefBS.hpp"
|
#include "gc/g1/g1SATBCardTableModRefBS.hpp"
|
||||||
#endif // INCLUDE_ALL_GCS
|
#endif // INCLUDE_ALL_GCS
|
||||||
|
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user