Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
f1d1e612
D
dragonwell8_hotspot
项目概览
openanolis
/
dragonwell8_hotspot
通知
2
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_hotspot
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
f1d1e612
编写于
9月 02, 2008
作者:
D
dcubed
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
9e3fa094
9aaa9b40
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
64 addition
and
43 deletion
+64
-43
agent/make/build-pkglist
agent/make/build-pkglist
+1
-1
make/linux/makefiles/sa.make
make/linux/makefiles/sa.make
+14
-4
make/sa.files
make/sa.files
+27
-32
make/solaris/makefiles/sa.make
make/solaris/makefiles/sa.make
+13
-4
make/windows/makefiles/sa.make
make/windows/makefiles/sa.make
+9
-2
未找到文件。
agent/make/build-pkglist
浏览文件 @
f1d1e612
...
...
@@ -8,4 +8,4 @@ FIND=$MKS_HOME/find
SED
=
$MKS_HOME
/sed
SORT
=
$MKS_HOME
/sort
$CD
../src/share/classes
;
$FIND
sun/jvm/hotspot
\(
-name
SCCS
-prune
\)
-o
-type
d
-print
|
$SED
-e
's/\//./g'
|
$SORT
>
../../../make/pkglist.txt
$CD
../src/share/classes
;
$FIND
sun/jvm/hotspot
com/sun/java/swing
-type
d
-print
|
$SED
-e
's/\//./g'
|
$SORT
>
../../../make/pkglist.txt
make/linux/makefiles/sa.make
浏览文件 @
f1d1e612
...
...
@@ -41,8 +41,9 @@ GENERATED = $(TOPDIR)/../generated
SA_CLASSPATH
=
$(BOOT_JAVA_HOME)
/lib/tools.jar
# gnumake 3.78.1 does not accept the *s that
# are in AGENT_ALLFILES, so use the shell to expand them
AGENT_ALLFILES
:=
$(
shell
/usr/bin/test
-d
$(AGENT_DIR)
&&
/bin/ls
$(AGENT_ALLFILES)
)
# are in AGENT_FILES1 and AGENT_FILES2, so use the shell to expand them
AGENT_FILES1
:=
$(
shell
/usr/bin/test
-d
$(AGENT_DIR)
&&
/bin/ls
$(AGENT_FILES1)
)
AGENT_FILES2
:=
$(
shell
/usr/bin/test
-d
$(AGENT_DIR)
&&
/bin/ls
$(AGENT_FILES2)
)
SA_CLASSDIR
=
$(GENERATED)
/saclasses
...
...
@@ -58,7 +59,7 @@ all:
$(MAKE)
-f
sa.make
$(GENERATED)
/sa-jdi.jar
;
\
fi
$(GENERATED)/sa-jdi.jar
:
$(AGENT_
ALLFILES
)
$(GENERATED)/sa-jdi.jar
:
$(AGENT_
FILES1) $(AGENT_FILES2
)
$(QUIETLY)
echo
"Making
$@
"
$(QUIETLY)
if
[
"
$(BOOT_JAVA_HOME)
"
=
""
]
;
then
\
echo
"ALT_BOOTDIR, BOOTDIR or JAVA_HOME needs to be defined to build SA"
;
\
...
...
@@ -72,9 +73,18 @@ $(GENERATED)/sa-jdi.jar: $(AGENT_ALLFILES)
$(QUIETLY)
if
[
!
-d
$(SA_CLASSDIR)
]
;
then
\
mkdir
-p
$(SA_CLASSDIR)
;
\
fi
$(QUIETLY)
$(REMOTE)
$(COMPILE.JAVAC)
-source
1.4
-classpath
$(SA_CLASSPATH)
-g
-d
$(SA_CLASSDIR)
$(AGENT_ALLFILES)
$(QUIETLY)
$(REMOTE)
$(COMPILE.JAVAC)
-source
1.4
-classpath
$(SA_CLASSPATH)
-sourcepath
$(AGENT_SRC_DIR)
-g
-d
$(SA_CLASSDIR)
$(AGENT_FILES1)
$(QUIETLY)
$(REMOTE)
$(COMPILE.JAVAC)
-source
1.4
-classpath
$(SA_CLASSPATH)
-sourcepath
$(AGENT_SRC_DIR)
-g
-d
$(SA_CLASSDIR)
$(AGENT_FILES2)
$(QUIETLY)
$(REMOTE)
$(COMPILE.RMIC)
-classpath
$(SA_CLASSDIR)
-d
$(SA_CLASSDIR)
sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
$(QUIETLY)
echo
"$(SA_BUILD_VERSION_PROP)"
>
$(SA_PROPERTIES)
$(QUIETLY)
rm
-f
$(SA_CLASSDIR)/sun/jvm/hotspot/utilities/soql/sa.js
$(QUIETLY)
cp
$(AGENT_SRC_DIR)/sun/jvm/hotspot/utilities/soql/sa.js
$(SA_CLASSDIR)/sun/jvm/hotspot/utilities/soql
$(QUIETLY)
mkdir
-p
$(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources
$(QUIETLY)
rm
-f
$(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources/*
$(QUIETLY)
cp
$(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/resources/*.png
$(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources/
$(QUIETLY)
cp
-r
$(AGENT_SRC_DIR)/images/*
$(SA_CLASSDIR)/
$(QUIETLY)
$(REMOTE)
$(RUN.JAR)
cf
$@
-C
$(SA_CLASSDIR)/
.
$(QUIETLY)
$(REMOTE)
$(RUN.JAR)
uf
$@
-C
$(AGENT_SRC_DIR)
META-INF/services/com.sun.jdi.connect.Connector
$(QUIETLY)
$(REMOTE)
$(RUN.JAVAH)
-classpath
$(SA_CLASSDIR)
-d
$(GENERATED)
-jni
sun.jvm.hotspot.debugger.x86.X86ThreadContext
...
...
make/sa.files
浏览文件 @
f1d1e612
...
...
@@ -33,40 +33,23 @@
AGENT_SRC_DIR = $(AGENT_DIR)/src/share/classes
AGENT_ALLFILES = \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/DebugServer.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/HelloWorld.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/HotSpotAgent.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/HotSpotSolarisVtblAccess.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/HotSpotTypeDataBase.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/LinuxVtblAccess.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/ObjectHistogram.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/RMIHelper.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/StackTrace.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/TestDebugger.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/Win32VtblAccess.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/Immediate.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/ImmediateOrRegister.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/Operand.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/Register.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/amd64/AMD64Register.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/amd64/AMD64Registers.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/ia64/IA64Register.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/ia64/IA64Registers.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/sparc/SPARCArgument.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/sparc/SPARCRegister.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/sparc/SPARCRegisterType.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/sparc/SPARCRegisters.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/x86/X86Register.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/x86/X86RegisterPart.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/x86/X86Registers.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/x86/X86SegmentRegister.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/x86/X86SegmentRegisters.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/bugspot/BugSpotAgent.java \
# Splitted the set of files into two sets because on linux plaform
# listing or compiling all the files results in 'Argument list too long' error.
AGENT_FILES1 = \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/amd64/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/ia64/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/sparc/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/x86/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/bugspot/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/bugspot/tree/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/c1/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/code/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/compiler/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/amd64/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/cdbg/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/cdbg/basic/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/cdbg/basic/x86/*.java \
...
...
@@ -75,7 +58,6 @@ $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/dbx/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/dbx/sparc/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/dbx/x86/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/dummy/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/amd64/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/ia64/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/linux/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/linux/amd64/*.java \
...
...
@@ -107,7 +89,10 @@ $(AGENT_SRC_DIR)/sun/jvm/hotspot/interpreter/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/jdi/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/livejvm/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/memory/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/oops/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/oops/*.java
AGENT_FILES2 = \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/amd64/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/ia64/*.java \
...
...
@@ -127,7 +112,17 @@ $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/win32_x86/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/x86/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/tools/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/tools/jcore/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/tools/soql/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/types/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/types/basic/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/utilities/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/utilities/memo/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/utilities/soql/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/action/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/classbrowser/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/table/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/tree/*.java \
$(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/treetable/*.java \
$(AGENT_SRC_DIR)/com/sun/java/swing/action/*.java \
$(AGENT_SRC_DIR)/com/sun/java/swing/ui/*.java
make/solaris/makefiles/sa.make
浏览文件 @
f1d1e612
...
...
@@ -37,8 +37,9 @@ GENERATED = ../generated
SA_CLASSPATH
=
$(BOOT_JAVA_HOME)
/lib/tools.jar
# gnumake 3.78.1 does not accept the *s that
# are in AGENT_ALLFILES, so use the shell to expand them
AGENT_ALLFILES
:=
$(
shell
/usr/bin/test
-d
$(AGENT_DIR)
&&
/bin/ls
$(AGENT_ALLFILES)
)
# are in AGENT_FILES1 and AGENT_FILES2, so use the shell to expand them
AGENT_FILES1
:=
$(
shell
/usr/bin/test
-d
$(AGENT_DIR)
&&
/bin/ls
$(AGENT_FILES1)
)
AGENT_FILES2
:=
$(
shell
/usr/bin/test
-d
$(AGENT_DIR)
&&
/bin/ls
$(AGENT_FILES2)
)
SA_CLASSDIR
=
$(GENERATED)
/saclasses
...
...
@@ -52,7 +53,7 @@ all:
$(MAKE)
-f
sa.make
$(GENERATED)
/sa-jdi.jar
;
\
fi
$(GENERATED)/sa-jdi.jar
:
$(AGENT_
ALLFILES
)
$(GENERATED)/sa-jdi.jar
:
$(AGENT_
FILES1) $(AGENT_FILES2
)
$(QUIETLY)
echo
"Making
$@
"
;
$(QUIETLY)
if
[
"
$(BOOT_JAVA_HOME)
"
=
""
]
;
then
\
echo
"ALT_BOOTDIR, BOOTDIR or JAVA_HOME needs to be defined to build SA"
;
\
...
...
@@ -66,9 +67,17 @@ $(GENERATED)/sa-jdi.jar: $(AGENT_ALLFILES)
$(QUIETLY)
if
[
!
-d
$(SA_CLASSDIR)
]
;
then
\
mkdir
-p
$(SA_CLASSDIR)
;
\
fi
$(QUIETLY)
$(COMPILE.JAVAC)
-source
1.4
-classpath
$(SA_CLASSPATH)
-g
-d
$(SA_CLASSDIR)
$(AGENT_ALLFILES)
$(QUIETLY)
$(COMPILE.JAVAC)
-source
1.4
-classpath
$(SA_CLASSPATH)
-sourcepath
$(AGENT_SRC_DIR)
-g
-d
$(SA_CLASSDIR)
$(AGENT_FILES1)
$(QUIETLY)
$(COMPILE.JAVAC)
-source
1.4
-classpath
$(SA_CLASSPATH)
-sourcepath
$(AGENT_SRC_DIR)
-g
-d
$(SA_CLASSDIR)
$(AGENT_FILES2)
$(QUIETLY)
$(COMPILE.RMIC)
-classpath
$(SA_CLASSDIR)
-d
$(SA_CLASSDIR)
sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
$(QUIETLY)
echo
"
$(SA_BUILD_VERSION_PROP)
"
>
$(SA_PROPERTIES)
$(QUIETLY)
rm
-f
$(SA_CLASSDIR)
/sun/jvm/hotspot/utilities/soql/sa.js
$(QUIETLY)
cp
$(AGENT_SRC_DIR)
/sun/jvm/hotspot/utilities/soql/sa.js
$(SA_CLASSDIR)
/sun/jvm/hotspot/utilities/soql
$(QUIETLY)
mkdir
-p
$(SA_CLASSDIR)
/sun/jvm/hotspot/ui/resources
$(QUIETLY)
rm
-f
$(SA_CLASSDIR)
/sun/jvm/hotspot/ui/resources/
*
$(QUIETLY)
cp
$(AGENT_SRC_DIR)
/sun/jvm/hotspot/ui/resources/
*
.png
$(SA_CLASSDIR)
/sun/jvm/hotspot/ui/resources/
$(QUIETLY)
cp
-r
$(AGENT_SRC_DIR)
/images/
*
$(SA_CLASSDIR)
/
$(QUIETLY)
$(RUN.JAR)
cf
$@
-C
$(SA_CLASSDIR)
/ .
$(QUIETLY)
$(RUN.JAR)
uf
$@
-C
$(AGENT_SRC_DIR)
META-INF/services/com.sun.jdi.connect.Connector
$(QUIETLY)
$(RUN.JAVAH)
-classpath
$(SA_CLASSDIR)
-d
$(GENERATED)
-jni
sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal
...
...
make/windows/makefiles/sa.make
浏览文件 @
f1d1e612
...
...
@@ -49,15 +49,22 @@ SA_PROPERTIES = $(SA_CLASSDIR)\sa.properties
default
::
$(GENERATED)
\s
a-jdi.jar
$(GENERATED)\sa-jdi.jar
:
$(AGENT_
ALLFILES:/=
\)
$(GENERATED)\sa-jdi.jar
:
$(AGENT_
FILES1:/=
\)
$(AGENT_FILES2:/=
\)
@
if
not exist
$(SA_CLASSDIR)
mkdir
$(SA_CLASSDIR)
@
echo
...Building sa-jdi.jar
@
echo
...
$(COMPILE_JAVAC)
-source
1.4
-classpath
$(SA_CLASSPATH)
-g
-d
$(SA_CLASSDIR)
....
@
$(COMPILE_JAVAC)
-source
1.4
-classpath
$(SA_CLASSPATH)
-g
-d
$(SA_CLASSDIR)
$
(
AGENT_ALLFILES:/
=
\)
@
$(COMPILE_JAVAC)
-source
1.4
-classpath
$(SA_CLASSPATH)
-sourcepath
$(AGENT_SRC_DIR)
-g
-d
$(SA_CLASSDIR)
$
(
AGENT_FILES1:/
=
\)
@
$(COMPILE_JAVAC)
-source
1.4
-classpath
$(SA_CLASSPATH)
-sourcepath
$(AGENT_SRC_DIR)
-g
-d
$(SA_CLASSDIR)
$
(
AGENT_FILES2:/
=
\)
$(COMPILE_RMIC)
-classpath
$(SA_CLASSDIR)
-d
$(SA_CLASSDIR)
sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
$(QUIETLY)
echo
$(SA_BUILD_VERSION_PROP)
>
$(SA_PROPERTIES)
$(RUN_JAR)
cf
$@
-C
saclasses
.
$(RUN_JAR)
uf
$@
-C
$
(
AGENT_SRC_DIR:/
=
\)
META-INF
\s
ervices
\c
om.sun.jdi.connect.Connector
$(QUIETLY)
rm
-f
$(SA_CLASSDIR)
/sun/jvm/hotspot/utilities/soql/sa.js
$(QUIETLY)
cp
$(AGENT_SRC_DIR)
/sun/jvm/hotspot/utilities/soql/sa.js
$(SA_CLASSDIR)
/sun/jvm/hotspot/utilities/soql
$(QUIETLY)
mkdir
-p
$(SA_CLASSDIR)
/sun/jvm/hotspot/ui/resources
$(QUIETLY)
rm
-f
$(SA_CLASSDIR)
/sun/jvm/hotspot/ui/resources/
*
$(QUIETLY)
cp
$(AGENT_SRC_DIR)
/sun/jvm/hotspot/ui/resources/
*
.png
$(SA_CLASSDIR)
/sun/jvm/hotspot/ui/resources/
$(QUIETLY)
cp
-r
$(AGENT_SRC_DIR)
/images/
*
$(SA_CLASSDIR)
/
$(RUN_JAVAH)
-classpath
$(SA_CLASSDIR)
-jni
sun.jvm.hotspot.debugger.windbg.WindbgDebuggerLocal
$(RUN_JAVAH)
-classpath
$(SA_CLASSDIR)
-jni
sun.jvm.hotspot.debugger.x86.X86ThreadContext
$(RUN_JAVAH)
-classpath
$(SA_CLASSDIR)
-jni
sun.jvm.hotspot.debugger.ia64.IA64ThreadContext
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录