mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
Merge
This commit is contained in:
commit
ee2ed13c5d
6 changed files with 26 additions and 22 deletions
|
@ -481,7 +481,7 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_OPTIMIZATION],
|
||||||
C_O_FLAG_HI="-O3 -qstrict"
|
C_O_FLAG_HI="-O3 -qstrict"
|
||||||
C_O_FLAG_NORM="-O2"
|
C_O_FLAG_NORM="-O2"
|
||||||
C_O_FLAG_DEBUG="-qnoopt"
|
C_O_FLAG_DEBUG="-qnoopt"
|
||||||
C_O_FLAG_NONE="-qnoop"
|
C_O_FLAG_NONE="-qnoopt"
|
||||||
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
|
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
|
||||||
C_O_FLAG_HIGHEST="-O2"
|
C_O_FLAG_HIGHEST="-O2"
|
||||||
C_O_FLAG_HI="-O1"
|
C_O_FLAG_HI="-O1"
|
||||||
|
|
|
@ -4801,7 +4801,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=1450343758
|
DATE_WHEN_GENERATED=1450400041
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
#
|
#
|
||||||
|
@ -46949,7 +46949,7 @@ $as_echo "$supports" >&6; }
|
||||||
C_O_FLAG_HI="-O3 -qstrict"
|
C_O_FLAG_HI="-O3 -qstrict"
|
||||||
C_O_FLAG_NORM="-O2"
|
C_O_FLAG_NORM="-O2"
|
||||||
C_O_FLAG_DEBUG="-qnoopt"
|
C_O_FLAG_DEBUG="-qnoopt"
|
||||||
C_O_FLAG_NONE="-qnoop"
|
C_O_FLAG_NONE="-qnoopt"
|
||||||
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
|
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
|
||||||
C_O_FLAG_HIGHEST="-O2"
|
C_O_FLAG_HIGHEST="-O2"
|
||||||
C_O_FLAG_HI="-O1"
|
C_O_FLAG_HI="-O1"
|
||||||
|
|
|
@ -367,10 +367,6 @@ jdk.compiler_CLEAN_FILES := $(wildcard \
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
jdk.hotspot.agent_SRC += \
|
|
||||||
$(SUPPORT_OUTPUTDIR)/gensrc/jdk.hotspot.agent \
|
|
||||||
$(HOTSPOT_TOPDIR)/agent/src/share/classes \
|
|
||||||
#
|
|
||||||
jdk.hotspot.agent_ADD_JAVAC_FLAGS := $(DISABLE_WARNINGS),-overrides
|
jdk.hotspot.agent_ADD_JAVAC_FLAGS := $(DISABLE_WARNINGS),-overrides
|
||||||
jdk.hotspot.agent_COPY := .png sa.js .properties
|
jdk.hotspot.agent_COPY := .png sa.js .properties
|
||||||
|
|
||||||
|
@ -381,9 +377,9 @@ ifeq ($(MODULE), jdk.hotspot.agent)
|
||||||
# These can't be handled by COPY to SetupJavaCompilation since they chop off
|
# These can't be handled by COPY to SetupJavaCompilation since they chop off
|
||||||
# one directory level.
|
# one directory level.
|
||||||
$(eval $(call SetupCopyFiles, COPY_SA_IMAGES, \
|
$(eval $(call SetupCopyFiles, COPY_SA_IMAGES, \
|
||||||
SRC := $(HOTSPOT_TOPDIR)/agent/src/share/classes/images, \
|
SRC := $(HOTSPOT_TOPDIR)/src/jdk.hotspot.agent/share/classes/images, \
|
||||||
DEST := $(JDK_OUTPUTDIR)/modules/$(MODULE), \
|
DEST := $(JDK_OUTPUTDIR)/modules/$(MODULE), \
|
||||||
FILES := $(wildcard $(HOTSPOT_TOPDIR)/agent/src/share/classes/images/*/*/*.gif), \
|
FILES := $(wildcard $(HOTSPOT_TOPDIR)/src/jdk.hotspot.agent/share/classes/images/*/*/*.gif), \
|
||||||
))
|
))
|
||||||
jdk.hotspot.agent: $(COPY_SA_IMAGES)
|
jdk.hotspot.agent: $(COPY_SA_IMAGES)
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -49,25 +49,21 @@ ALL_TOP_SRC_DIRS := \
|
||||||
#
|
#
|
||||||
|
|
||||||
# Find all modules with java sources by looking in the source dirs
|
# Find all modules with java sources by looking in the source dirs
|
||||||
# jdk.hotspot.agent currently doesn't comply with source dir policy.
|
|
||||||
define FindJavaModules
|
define FindJavaModules
|
||||||
$(filter-out $(MODULES_FILTER), $(sort $(notdir \
|
$(filter-out $(MODULES_FILTER), $(sort $(notdir \
|
||||||
$(patsubst %/,%, $(dir $(patsubst %/,%, $(dir $(patsubst %/,%, $(dir \
|
$(patsubst %/,%, $(dir $(patsubst %/,%, $(dir $(patsubst %/,%, $(dir \
|
||||||
$(wildcard $(patsubst %,%/*/share/classes/*, $(ALL_TOP_SRC_DIRS)) \
|
$(wildcard $(patsubst %,%/*/share/classes/*, $(ALL_TOP_SRC_DIRS)) \
|
||||||
$(patsubst %,%/*/$(OPENJDK_TARGET_OS)/classes/*, $(ALL_TOP_SRC_DIRS)) \
|
$(patsubst %,%/*/$(OPENJDK_TARGET_OS)/classes/*, $(ALL_TOP_SRC_DIRS)) \
|
||||||
$(patsubst %,%/*/$(OPENJDK_TARGET_OS_TYPE)/classes/*, $(ALL_TOP_SRC_DIRS))))))))))) \
|
$(patsubst %,%/*/$(OPENJDK_TARGET_OS_TYPE)/classes/*, $(ALL_TOP_SRC_DIRS))))))))))))
|
||||||
jdk.hotspot.agent)
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# Find all modules with source for the target platform.
|
# Find all modules with source for the target platform.
|
||||||
# jdk.hotspot.agent currently doesn't comply with source dir policy.
|
|
||||||
define FindAllModules
|
define FindAllModules
|
||||||
$(sort $(filter-out $(MODULES_FILTER) closed demo sample, \
|
$(sort $(filter-out $(MODULES_FILTER) closed demo sample, \
|
||||||
$(notdir $(patsubst %/,%, $(dir \
|
$(notdir $(patsubst %/,%, $(dir \
|
||||||
$(wildcard $(patsubst %, %/*/share, $(ALL_TOP_SRC_DIRS)) \
|
$(wildcard $(patsubst %, %/*/share, $(ALL_TOP_SRC_DIRS)) \
|
||||||
$(patsubst %, %/*/$(OPENJDK_TARGET_OS), $(ALL_TOP_SRC_DIRS)) \
|
$(patsubst %, %/*/$(OPENJDK_TARGET_OS), $(ALL_TOP_SRC_DIRS)) \
|
||||||
$(patsubst %, %/*/$(OPENJDK_TARGET_OS_TYPE), $(ALL_TOP_SRC_DIRS)))))) \
|
$(patsubst %, %/*/$(OPENJDK_TARGET_OS_TYPE), $(ALL_TOP_SRC_DIRS))))))))
|
||||||
jdk.hotspot.agent))
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
|
@ -34,13 +34,8 @@ jprt.selective.test.bundle.installation=true
|
||||||
# The current release name
|
# The current release name
|
||||||
jprt.tools.default.release=jdk9
|
jprt.tools.default.release=jdk9
|
||||||
|
|
||||||
# Check if this is the equivalent of a hotspot push job
|
# Allow concurrent changes to be merged in prior to pushing
|
||||||
# Interpret -testset hotspot to mean exactly that
|
jprt.sync.push=true
|
||||||
my.is.hotspot.job.hotspot=true
|
|
||||||
my.is.hotspot.job=${my.is.hotspot.job.${jprt.test.set}}
|
|
||||||
|
|
||||||
# Disable syncing the source after builds and tests are done
|
|
||||||
jprt.sync.push=${my.is.hotspot.job ? false : true}
|
|
||||||
|
|
||||||
# Directories to be excluded from the source bundles
|
# Directories to be excluded from the source bundles
|
||||||
jprt.bundle.exclude.src.dirs=build dist webrev
|
jprt.bundle.exclude.src.dirs=build dist webrev
|
||||||
|
|
|
@ -140,6 +140,23 @@ public class WhiteBox {
|
||||||
return g1IsHumongous0(o);
|
return g1IsHumongous0(o);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private native boolean g1BelongsToHumongousRegion0(long adr);
|
||||||
|
public boolean g1BelongsToHumongousRegion(long adr) {
|
||||||
|
if (adr == 0) {
|
||||||
|
throw new IllegalArgumentException("adr argument should not be null");
|
||||||
|
}
|
||||||
|
return g1BelongsToHumongousRegion0(adr);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private native boolean g1BelongsToFreeRegion0(long adr);
|
||||||
|
public boolean g1BelongsToFreeRegion(long adr) {
|
||||||
|
if (adr == 0) {
|
||||||
|
throw new IllegalArgumentException("adr argument should not be null");
|
||||||
|
}
|
||||||
|
return g1BelongsToFreeRegion0(adr);
|
||||||
|
}
|
||||||
|
|
||||||
public native long g1NumMaxRegions();
|
public native long g1NumMaxRegions();
|
||||||
public native long g1NumFreeRegions();
|
public native long g1NumFreeRegions();
|
||||||
public native int g1RegionSize();
|
public native int g1RegionSize();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue