Merge
This commit is contained in:
commit
39fb9aa7c2
@ -308,3 +308,4 @@ ea38728b4f4bdd8fd0d7a89b18069f521cf05013 jdk9-b61
|
|||||||
0b32ed628fa60e4ab99fb0b5866d648e16231f17 jdk9-b63
|
0b32ed628fa60e4ab99fb0b5866d648e16231f17 jdk9-b63
|
||||||
82cf9aab9a83e41c8194ba01af9666afdb856cbe jdk9-b64
|
82cf9aab9a83e41c8194ba01af9666afdb856cbe jdk9-b64
|
||||||
7c31f9d7b932f7924f1258d52885b1c7c3e078c2 jdk9-b65
|
7c31f9d7b932f7924f1258d52885b1c7c3e078c2 jdk9-b65
|
||||||
|
dc6e8336f51bb6b67b7245766179eab5ca7720b4 jdk9-b66
|
||||||
|
@ -559,6 +559,7 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK],
|
|||||||
-Zi -MD -Zc:wchar_t- -W3 -wd4800 \
|
-Zi -MD -Zc:wchar_t- -W3 -wd4800 \
|
||||||
-DWIN32_LEAN_AND_MEAN \
|
-DWIN32_LEAN_AND_MEAN \
|
||||||
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE \
|
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE \
|
||||||
|
-D_WINSOCK_DEPRECATED_NO_WARNINGS \
|
||||||
-DWIN32 -DIAL"
|
-DWIN32 -DIAL"
|
||||||
if test "x$OPENJDK_TARGET_CPU" = xx86_64; then
|
if test "x$OPENJDK_TARGET_CPU" = xx86_64; then
|
||||||
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS_JDK -D_AMD64_ -Damd64"
|
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS_JDK -D_AMD64_ -Damd64"
|
||||||
|
@ -4366,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=1431429776
|
DATE_WHEN_GENERATED=1432629750
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
#
|
#
|
||||||
@ -42071,6 +42071,7 @@ fi
|
|||||||
-Zi -MD -Zc:wchar_t- -W3 -wd4800 \
|
-Zi -MD -Zc:wchar_t- -W3 -wd4800 \
|
||||||
-DWIN32_LEAN_AND_MEAN \
|
-DWIN32_LEAN_AND_MEAN \
|
||||||
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE \
|
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE \
|
||||||
|
-D_WINSOCK_DEPRECATED_NO_WARNINGS \
|
||||||
-DWIN32 -DIAL"
|
-DWIN32 -DIAL"
|
||||||
if test "x$OPENJDK_TARGET_CPU" = xx86_64; then
|
if test "x$OPENJDK_TARGET_CPU" = xx86_64; then
|
||||||
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS_JDK -D_AMD64_ -Damd64"
|
COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS_JDK -D_AMD64_ -Damd64"
|
||||||
|
@ -94,7 +94,6 @@ ACCEPTED_BIN_DIFF="
|
|||||||
./bin/jstat
|
./bin/jstat
|
||||||
./bin/jstatd
|
./bin/jstatd
|
||||||
./bin/keytool
|
./bin/keytool
|
||||||
./bin/native2ascii
|
|
||||||
./bin/orbd
|
./bin/orbd
|
||||||
./bin/pack200
|
./bin/pack200
|
||||||
./bin/policytool
|
./bin/policytool
|
||||||
@ -173,7 +172,6 @@ ACCEPTED_BIN_DIFF="
|
|||||||
./bin/jstat
|
./bin/jstat
|
||||||
./bin/jstatd
|
./bin/jstatd
|
||||||
./bin/keytool
|
./bin/keytool
|
||||||
./bin/native2ascii
|
|
||||||
./bin/orbd
|
./bin/orbd
|
||||||
./bin/pack200
|
./bin/pack200
|
||||||
./bin/policytool
|
./bin/policytool
|
||||||
@ -293,7 +291,6 @@ ACCEPTED_SMALL_SIZE_DIFF="
|
|||||||
./bin/jstat
|
./bin/jstat
|
||||||
./bin/jstatd
|
./bin/jstatd
|
||||||
./bin/keytool
|
./bin/keytool
|
||||||
./bin/native2ascii
|
|
||||||
./bin/orbd
|
./bin/orbd
|
||||||
./bin/pack200
|
./bin/pack200
|
||||||
./bin/policytool
|
./bin/policytool
|
||||||
@ -428,7 +425,6 @@ ACCEPTED_SMALL_SIZE_DIFF="
|
|||||||
./bin/jstat
|
./bin/jstat
|
||||||
./bin/jstatd
|
./bin/jstatd
|
||||||
./bin/keytool
|
./bin/keytool
|
||||||
./bin/native2ascii
|
|
||||||
./bin/orbd
|
./bin/orbd
|
||||||
./bin/pack200
|
./bin/pack200
|
||||||
./bin/policytool
|
./bin/policytool
|
||||||
@ -509,7 +505,6 @@ ACCEPTED_SMALL_SIZE_DIFF="
|
|||||||
./bin/kinit.exe
|
./bin/kinit.exe
|
||||||
./bin/klist.exe
|
./bin/klist.exe
|
||||||
./bin/ktab.exe
|
./bin/ktab.exe
|
||||||
./bin/native2ascii.exe
|
|
||||||
./bin/orbd.exe
|
./bin/orbd.exe
|
||||||
./bin/pack200.exe
|
./bin/pack200.exe
|
||||||
./bin/policytool.exe
|
./bin/policytool.exe
|
||||||
@ -585,7 +580,6 @@ ACCEPTED_BIN_DIFF="
|
|||||||
./bin/jstat
|
./bin/jstat
|
||||||
./bin/jstatd
|
./bin/jstatd
|
||||||
./bin/keytool
|
./bin/keytool
|
||||||
./bin/native2ascii
|
|
||||||
./bin/orbd
|
./bin/orbd
|
||||||
./bin/pack200
|
./bin/pack200
|
||||||
./bin/policytool
|
./bin/policytool
|
||||||
|
@ -1301,8 +1301,6 @@ jdk/src/jdk.deploy.osx/macosx/native/libosx/CFileManager.m : jdk/src/macosx/nati
|
|||||||
jdk/src/jdk.deploy.osx/macosx/native/libosx/Dispatch.m : jdk/src/macosx/native/com/apple/concurrent/Dispatch.m
|
jdk/src/jdk.deploy.osx/macosx/native/libosx/Dispatch.m : jdk/src/macosx/native/com/apple/concurrent/Dispatch.m
|
||||||
jdk/src/jdk.deploy.osx/macosx/native/libosx/JavaAppLauncher.m : jdk/src/macosx/native/apple/launcher/JavaAppLauncher.m
|
jdk/src/jdk.deploy.osx/macosx/native/libosx/JavaAppLauncher.m : jdk/src/macosx/native/apple/launcher/JavaAppLauncher.m
|
||||||
jdk/src/jdk.deploy.osx/macosx/native/libosx/KeystoreImpl.m : jdk/src/macosx/native/apple/security/KeystoreImpl.m
|
jdk/src/jdk.deploy.osx/macosx/native/libosx/KeystoreImpl.m : jdk/src/macosx/native/apple/security/KeystoreImpl.m
|
||||||
jdk/src/jdk.dev/share/classes/com/sun/tools/hat : jdk/src/share/classes/com/sun/tools/hat
|
|
||||||
jdk/src/jdk.dev/share/classes/sun/tools/native2ascii : jdk/src/share/classes/sun/tools/native2ascii
|
|
||||||
jdk/src/jdk.hprof.agent/share/classes/com/sun/demo/jvmti/hprof : jdk/src/share/classes/com/sun/demo/jvmti/hprof
|
jdk/src/jdk.hprof.agent/share/classes/com/sun/demo/jvmti/hprof : jdk/src/share/classes/com/sun/demo/jvmti/hprof
|
||||||
jdk/src/jdk.httpserver/share/classes/com/sun/net/httpserver : jdk/src/share/classes/com/sun/net/httpserver
|
jdk/src/jdk.httpserver/share/classes/com/sun/net/httpserver : jdk/src/share/classes/com/sun/net/httpserver
|
||||||
jdk/src/jdk.httpserver/share/classes/sun/net/httpserver : jdk/src/share/classes/sun/net/httpserver
|
jdk/src/jdk.httpserver/share/classes/sun/net/httpserver : jdk/src/share/classes/sun/net/httpserver
|
||||||
@ -1487,16 +1485,16 @@ langtools/src/java.compiler/share/classes/javax/annotation/processing : langtool
|
|||||||
langtools/src/java.compiler/share/classes/javax/lang/model : langtools/src/share/classes/javax/lang/model
|
langtools/src/java.compiler/share/classes/javax/lang/model : langtools/src/share/classes/javax/lang/model
|
||||||
langtools/src/java.compiler/share/classes/javax/tools : langtools/src/share/classes/javax/tools
|
langtools/src/java.compiler/share/classes/javax/tools : langtools/src/share/classes/javax/tools
|
||||||
langtools/src/jdk.compiler/share/classes/com/sun/source : langtools/src/share/classes/com/sun/source
|
langtools/src/jdk.compiler/share/classes/com/sun/source : langtools/src/share/classes/com/sun/source
|
||||||
langtools/src/jdk.compiler/share/classes/com/sun/tools/classfile : langtools/src/share/classes/com/sun/tools/classfile
|
|
||||||
langtools/src/jdk.compiler/share/classes/com/sun/tools/doclint : langtools/src/share/classes/com/sun/tools/doclint
|
langtools/src/jdk.compiler/share/classes/com/sun/tools/doclint : langtools/src/share/classes/com/sun/tools/doclint
|
||||||
langtools/src/jdk.compiler/share/classes/com/sun/tools/doclint/resources : langtools/src/share/classes/com/sun/tools/doclint/resources
|
langtools/src/jdk.compiler/share/classes/com/sun/tools/doclint/resources : langtools/src/share/classes/com/sun/tools/doclint/resources
|
||||||
langtools/src/jdk.compiler/share/classes/com/sun/tools/javac : langtools/src/share/classes/com/sun/tools/javac
|
langtools/src/jdk.compiler/share/classes/com/sun/tools/javac : langtools/src/share/classes/com/sun/tools/javac
|
||||||
langtools/src/jdk.compiler/share/classes/com/sun/tools/javah : langtools/src/share/classes/com/sun/tools/javah
|
langtools/src/jdk.compiler/share/classes/com/sun/tools/javah : langtools/src/share/classes/com/sun/tools/javah
|
||||||
langtools/src/jdk.compiler/share/classes/com/sun/tools/javap : langtools/src/share/classes/com/sun/tools/javap
|
|
||||||
langtools/src/jdk.compiler/share/classes/com/sun/tools/sjavac : langtools/src/share/classes/com/sun/tools/sjavac
|
langtools/src/jdk.compiler/share/classes/com/sun/tools/sjavac : langtools/src/share/classes/com/sun/tools/sjavac
|
||||||
langtools/src/jdk.dev/share/classes/com/sun/tools/jdeps : langtools/src/share/classes/com/sun/tools/jdeps
|
|
||||||
langtools/src/jdk.dev/share/classes/com/sun/tools/jdeps/resources : langtools/src/share/classes/com/sun/tools/jdeps/resources
|
|
||||||
langtools/src/jdk.javadoc/share/classes/com/sun/javadoc : langtools/src/share/classes/com/sun/javadoc
|
langtools/src/jdk.javadoc/share/classes/com/sun/javadoc : langtools/src/share/classes/com/sun/javadoc
|
||||||
langtools/src/jdk.javadoc/share/classes/com/sun/tools/doclets : langtools/src/share/classes/com/sun/tools/doclets
|
langtools/src/jdk.javadoc/share/classes/com/sun/tools/doclets : langtools/src/share/classes/com/sun/tools/doclets
|
||||||
langtools/src/jdk.javadoc/share/classes/com/sun/tools/javadoc : langtools/src/share/classes/com/sun/tools/javadoc
|
langtools/src/jdk.javadoc/share/classes/com/sun/tools/javadoc : langtools/src/share/classes/com/sun/tools/javadoc
|
||||||
|
langtools/src/jdk.jdeps/share/classes/com/sun/tools/classfile : langtools/src/share/classes/com/sun/tools/classfile
|
||||||
|
langtools/src/jdk.jdeps/share/classes/com/sun/tools/javap : langtools/src/share/classes/com/sun/tools/javap
|
||||||
|
langtools/src/jdk.jdeps/share/classes/com/sun/tools/jdeps : langtools/src/share/classes/com/sun/tools/jdeps
|
||||||
|
langtools/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources : langtools/src/share/classes/com/sun/tools/jdeps/resources
|
||||||
nashorn/src/jdk.scripting.nashorn/share/classes : nashorn/src
|
nashorn/src/jdk.scripting.nashorn/share/classes : nashorn/src
|
||||||
|
@ -308,3 +308,4 @@ d27f7e0a7aca129969de23e9934408a31b4abf4c jdk9-b62
|
|||||||
0acac6937de7a0868f8c6f88b7d036d780abeee6 jdk9-b63
|
0acac6937de7a0868f8c6f88b7d036d780abeee6 jdk9-b63
|
||||||
0a5e5a7c3539e8bde73d9fe55750e49a49cb8dac jdk9-b64
|
0a5e5a7c3539e8bde73d9fe55750e49a49cb8dac jdk9-b64
|
||||||
afc1e295c4bf83f9a5dd539c29914edd4a754a3f jdk9-b65
|
afc1e295c4bf83f9a5dd539c29914edd4a754a3f jdk9-b65
|
||||||
|
44ee68f7dbacab24a45115fd6a8ccdc7eb6e8f0b jdk9-b66
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||||
or visit www.oracle.com if you need additional information or have any
|
or visit www.oracle.com if you need additional information or have any
|
||||||
questions.
|
questions.
|
||||||
|
|
||||||
-->
|
-->
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
@ -40,97 +40,97 @@ for the type of the <code>any</code> (code generated for the type by an IDL comp
|
|||||||
been compiled with the object implementation). As a result, the object receiving the
|
been compiled with the object implementation). As a result, the object receiving the
|
||||||
<code>any</code> does not have a portable method of using it.
|
<code>any</code> does not have a portable method of using it.
|
||||||
|
|
||||||
<P><code>DynAny</code>s enable traversal of the data value associated with an
|
<P><code>DynAny</code>s enable traversal of the data value associated with an
|
||||||
<code>any</code> at runtime, and extraction of the primitive constituents of the data value.
|
<code>any</code> at runtime, and extraction of the primitive constituents of the data value.
|
||||||
This is especially helpful for writing powerful generic servers (bridges, event channels
|
This is especially helpful for writing powerful generic servers (bridges, event channels
|
||||||
supporting filtering). Similarly, this facility enables the construction of an
|
supporting filtering). Similarly, this facility enables the construction of an
|
||||||
<code>any</code> at runtime, without having static knowledge of its type. This is especially
|
<code>any</code> at runtime, without having static knowledge of its type. This is especially
|
||||||
helpful for writing generic clients (bridges, browsers, debuggers, user interface tools).
|
helpful for writing generic clients (bridges, browsers, debuggers, user interface tools).
|
||||||
|
|
||||||
<P><code>Any</code> values can be dynamically interpreted (traversed) and constructed through
|
<P><code>Any</code> values can be dynamically interpreted (traversed) and constructed through
|
||||||
<tt>DynAny</tt> objects. A <tt>DynAny</tt> object is associated with a data
|
<tt>DynAny</tt> objects. A <tt>DynAny</tt> object is associated with a data
|
||||||
value which corresponds to a copy of the value inserted into an <tt>Any</tt>. A
|
value which corresponds to a copy of the value inserted into an <tt>Any</tt>. A
|
||||||
<tt>DynAny</tt> object may be viewed as an ordered collection of component
|
<tt>DynAny</tt> object may be viewed as an ordered collection of component
|
||||||
<tt>DynAny</tt>s. For <tt>DynAny</tt>s representing a basic type, such as <code>long</code>,
|
<tt>DynAny</tt>s. For <tt>DynAny</tt>s representing a basic type, such as <code>long</code>,
|
||||||
or a type without components, such as an empty exception, the ordered collection of
|
or a type without components, such as an empty exception, the ordered collection of
|
||||||
components is empty.
|
components is empty.
|
||||||
|
|
||||||
<P>Each <tt>DynAny</tt> object maintains the notion of a current position into its collection
|
<P>Each <tt>DynAny</tt> object maintains the notion of a current position into its collection
|
||||||
of component <tt>DynAny</tt>s. The current position is identified by an index value that runs
|
of component <tt>DynAny</tt>s. The current position is identified by an index value that runs
|
||||||
from 0 to n-1, where <em>n</em> is the number of components. The special index value -1
|
from 0 to n-1, where <em>n</em> is the number of components. The special index value -1
|
||||||
indicates a current position that points nowhere.
|
indicates a current position that points nowhere.
|
||||||
For values that cannot have a current position (such as an empty exception),
|
For values that cannot have a current position (such as an empty exception),
|
||||||
the index value is fixed at -1.
|
the index value is fixed at -1.
|
||||||
If a <code>DynAny</code> is initialized with a value that has components, the index is
|
If a <code>DynAny</code> is initialized with a value that has components, the index is
|
||||||
initialized to 0.
|
initialized to 0.
|
||||||
After creation of an uninitialized <code>DynAny</code> (that is, a <code>DynAny</code> that
|
After creation of an uninitialized <code>DynAny</code> (that is, a <code>DynAny</code> that
|
||||||
has no value but a <code>TypeCode</code>
|
has no value but a <code>TypeCode</code>
|
||||||
that permits components), the current position depends on the type of value represented by
|
that permits components), the current position depends on the type of value represented by
|
||||||
the <code>DynAny</code>. (The current position is set to 0 or -1, depending on whether the
|
the <code>DynAny</code>. (The current position is set to 0 or -1, depending on whether the
|
||||||
new <code>DynAny</code>
|
new <code>DynAny</code>
|
||||||
gets default values for its components.)
|
gets default values for its components.)
|
||||||
|
|
||||||
|
|
||||||
<P>The iteration operations <code>rewind</code>, <code>seek</code>, and <code>next</code>
|
<P>The iteration operations <code>rewind</code>, <code>seek</code>, and <code>next</code>
|
||||||
can be used to change the current position
|
can be used to change the current position
|
||||||
and the <code>current_component</code> operation returns the component at the current
|
and the <code>current_component</code> operation returns the component at the current
|
||||||
position.
|
position.
|
||||||
The <code>component_count</code> operation returns the number of components of a
|
The <code>component_count</code> operation returns the number of components of a
|
||||||
<code>DynAny</code>.
|
<code>DynAny</code>.
|
||||||
Collectively, these operations enable iteration over the components of a
|
Collectively, these operations enable iteration over the components of a
|
||||||
<code>DynAny</code>, for example,
|
<code>DynAny</code>, for example,
|
||||||
to (recursively) examine its contents.
|
to (recursively) examine its contents.
|
||||||
|
|
||||||
|
|
||||||
<P>A constructed <code>DynAny</code> object is a <code>DynAny</code> object associated with
|
<P>A constructed <code>DynAny</code> object is a <code>DynAny</code> object associated with
|
||||||
a constructed type.
|
a constructed type.
|
||||||
There is a different interface, inheriting from the <code>DynAny</code> interface,
|
There is a different interface, inheriting from the <code>DynAny</code> interface,
|
||||||
associated with
|
associated with
|
||||||
each kind of constructed type in IDL (fixed, enum, struct, sequence, union, array,
|
each kind of constructed type in IDL (fixed, enum, struct, sequence, union, array,
|
||||||
exception, and value type). A constructed <code>DynAny</code> object exports operations
|
exception, and value type). A constructed <code>DynAny</code> object exports operations
|
||||||
that enable the creation of new <code>DynAny</code> objects,
|
that enable the creation of new <code>DynAny</code> objects,
|
||||||
each of them associated with a component of the constructed data value.
|
each of them associated with a component of the constructed data value.
|
||||||
As an example, a <code>DynStruct</code> is associated with a <code>struct</code> value. This
|
As an example, a <code>DynStruct</code> is associated with a <code>struct</code> value. This
|
||||||
means that the <code>DynStruct</code>
|
means that the <code>DynStruct</code>
|
||||||
may be seen as owning an ordered collection of components, one for each structure member.
|
may be seen as owning an ordered collection of components, one for each structure member.
|
||||||
The <code>DynStruct</code> object exports operations that enable the creation of new
|
The <code>DynStruct</code> object exports operations that enable the creation of new
|
||||||
<code>DynAny</code> objects,
|
<code>DynAny</code> objects,
|
||||||
each of them associated with a member of the <code>struct</code>.
|
each of them associated with a member of the <code>struct</code>.
|
||||||
|
|
||||||
|
|
||||||
<P>If a <code>DynAny</code> object has been obtained from another (constructed)
|
<P>If a <code>DynAny</code> object has been obtained from another (constructed)
|
||||||
<code>DynAny</code> object,
|
<code>DynAny</code> object,
|
||||||
such as a <code>DynAny</code> representing a structure member that was created from a
|
such as a <code>DynAny</code> representing a structure member that was created from a
|
||||||
<code>DynStruct</code>,
|
<code>DynStruct</code>,
|
||||||
the member <code>DynAny</code> is logically contained in the <code>DynStruct</code>.
|
the member <code>DynAny</code> is logically contained in the <code>DynStruct</code>.
|
||||||
Calling an <code>insert</code> or <code>get</code> operation leaves the current position
|
Calling an <code>insert</code> or <code>get</code> operation leaves the current position
|
||||||
unchanged.
|
unchanged.
|
||||||
Destroying a top-level <code>DynAny</code> object (one that was not obtained as a component
|
Destroying a top-level <code>DynAny</code> object (one that was not obtained as a component
|
||||||
of another <code>DynAny</code>)
|
of another <code>DynAny</code>)
|
||||||
also destroys any component <code>DynAny</code> objects obtained from it.
|
also destroys any component <code>DynAny</code> objects obtained from it.
|
||||||
Destroying a non-top level <code>DynAny</code> object does nothing.
|
Destroying a non-top level <code>DynAny</code> object does nothing.
|
||||||
Invoking operations on a destroyed top-level <code>DynAny</code> or any of its descendants
|
Invoking operations on a destroyed top-level <code>DynAny</code> or any of its descendants
|
||||||
raises OBJECT_NOT_EXIST.
|
raises OBJECT_NOT_EXIST.
|
||||||
If the programmer wants to destroy a <code>DynAny</code> object but still wants to
|
If the programmer wants to destroy a <code>DynAny</code> object but still wants to
|
||||||
manipulate some component
|
manipulate some component
|
||||||
of the data value associated with it, then he or she should first create a
|
of the data value associated with it, then he or she should first create a
|
||||||
<code>DynAny</code> for the component
|
<code>DynAny</code> for the component
|
||||||
and, after that, make a copy of the created <code>DynAny</code> object.
|
and, after that, make a copy of the created <code>DynAny</code> object.
|
||||||
|
|
||||||
|
|
||||||
<P>The behavior of <code>DynAny</code> objects has been defined in order to enable efficient
|
<P>The behavior of <code>DynAny</code> objects has been defined in order to enable efficient
|
||||||
implementations
|
implementations
|
||||||
in terms of allocated memory space and speed of access. <code>DynAny</code> objects are
|
in terms of allocated memory space and speed of access. <code>DynAny</code> objects are
|
||||||
intended to be used
|
intended to be used
|
||||||
for traversing values extracted from <code>any</code>s or constructing values of
|
for traversing values extracted from <code>any</code>s or constructing values of
|
||||||
<code>any</code>s at runtime.
|
<code>any</code>s at runtime.
|
||||||
Their use for other purposes is not recommended.
|
Their use for other purposes is not recommended.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<H2>Handling DynAny objects</H2>
|
<H2>Handling DynAny objects</H2>
|
||||||
|
|
||||||
<P><code>Insert</code> and <code>get</code> operations are necessary to handle basic
|
<P><code>Insert</code> and <code>get</code> operations are necessary to handle basic
|
||||||
<code>DynAny</code> objects
|
<code>DynAny</code> objects
|
||||||
but are also helpful to handle constructed <code>DynAny</code> objects.
|
but are also helpful to handle constructed <code>DynAny</code> objects.
|
||||||
Inserting a basic data type value into a constructed <code>DynAny</code> object
|
Inserting a basic data type value into a constructed <code>DynAny</code> object
|
||||||
@ -145,9 +145,8 @@ equivalent to
|
|||||||
the <code>TypeCode</code> contained in the <code>DynAny</code> or, if the
|
the <code>TypeCode</code> contained in the <code>DynAny</code> or, if the
|
||||||
<code>DynAny</code> has components, is equivalent to the <code>TypeCode</code>
|
<code>DynAny</code> has components, is equivalent to the <code>TypeCode</code>
|
||||||
of the <code>DynAny</code> at the current position.
|
of the <code>DynAny</code> at the current position.
|
||||||
|
|
||||||
<P>Basic operations include:
|
<P>Basic operations include:
|
||||||
<P>
|
|
||||||
<UL>
|
<UL>
|
||||||
<LI>insert_boolean, get_boolean
|
<LI>insert_boolean, get_boolean
|
||||||
<LI>insert_char, get_char
|
<LI>insert_char, get_char
|
||||||
@ -181,28 +180,28 @@ equivalent to
|
|||||||
<LI>get_boxed_value
|
<LI>get_boxed_value
|
||||||
<LI>get_boxed_value_as_dyn_any
|
<LI>get_boxed_value_as_dyn_any
|
||||||
</UL>
|
</UL>
|
||||||
|
|
||||||
|
|
||||||
<P><code>DynAny</code> and <code>DynAnyFactory</code> objects are intended to be local to
|
<P><code>DynAny</code> and <code>DynAnyFactory</code> objects are intended to be local to
|
||||||
the process in which they are
|
the process in which they are
|
||||||
created and used. This means that references to <code>DynAny</code> and
|
created and used. This means that references to <code>DynAny</code> and
|
||||||
<code>DynAnyFactory</code> objects cannot be exported
|
<code>DynAnyFactory</code> objects cannot be exported
|
||||||
to other processes, or externalized with <code>ORB.object_to_string()</code>.
|
to other processes, or externalized with <code>ORB.object_to_string()</code>.
|
||||||
If any attempt is made to do so, the offending operation will raise a MARSHAL system
|
If any attempt is made to do so, the offending operation will raise a MARSHAL system
|
||||||
exception.
|
exception.
|
||||||
Since their interfaces are specified in IDL, <code>DynAny</code> objects export operations
|
Since their interfaces are specified in IDL, <code>DynAny</code> objects export operations
|
||||||
defined in the standard
|
defined in the standard
|
||||||
<code>org.omg.CORBA.Object</code> interface. However, any attempt to invoke operations
|
<code>org.omg.CORBA.Object</code> interface. However, any attempt to invoke operations
|
||||||
exported through the <code>Object</code>
|
exported through the <code>Object</code>
|
||||||
interface may raise the standard NO_IMPLEMENT exception.
|
interface may raise the standard NO_IMPLEMENT exception.
|
||||||
An attempt to use a <code>DynAny</code> object with the DII may raise the NO_IMPLEMENT
|
An attempt to use a <code>DynAny</code> object with the DII may raise the NO_IMPLEMENT
|
||||||
exception.
|
exception.
|
||||||
|
|
||||||
<H3>Package Specification</H3>
|
<H3>Package Specification</H3>
|
||||||
|
|
||||||
<P>For a precise list of supported sections of official specifications with which
|
<P>For a precise list of supported sections of official specifications with which
|
||||||
the Java[tm] Platform, Standard Edition 6 ORB complies, see <A
|
the Java[tm] Platform, Standard Edition 6 ORB complies, see <A
|
||||||
HREF="../CORBA/doc-files/compliance.html">Official Specifications for CORBA
|
HREF="../CORBA/doc-files/compliance.html">Official Specifications for CORBA
|
||||||
support in Java[tm] SE 6</A>.
|
support in Java[tm] SE 6</A>.
|
||||||
|
|
||||||
@since 1.4
|
@since 1.4
|
||||||
|
@ -468,3 +468,4 @@ ee878f3d6732856f7725c590312bfbe2ffa52cc7 jdk9-b58
|
|||||||
2ac9b6b36689b50d1562627067c92d51781b5684 jdk9-b63
|
2ac9b6b36689b50d1562627067c92d51781b5684 jdk9-b63
|
||||||
bf92b8db249cdfa5651ef954b6c0743a7e0ea4cd jdk9-b64
|
bf92b8db249cdfa5651ef954b6c0743a7e0ea4cd jdk9-b64
|
||||||
e7ae94c4f35e940ea423fc1dd260435df34a77c0 jdk9-b65
|
e7ae94c4f35e940ea423fc1dd260435df34a77c0 jdk9-b65
|
||||||
|
197e94e0dacddd16816f101d24fc0442ab518326 jdk9-b66
|
||||||
|
@ -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,11 @@ $(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/cms/*.java \
|
||||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/gc_implementation/parallelScavenge/*.java \
|
$(AGENT_SRC_DIR)/sun/jvm/hotspot/gc/g1/*.java \
|
||||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/gc_implementation/shared/*.java \
|
$(AGENT_SRC_DIR)/sun/jvm/hotspot/gc/parallel/*.java \
|
||||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/gc_interface/*.java \
|
$(AGENT_SRC_DIR)/sun/jvm/hotspot/gc/serial/*.java \
|
||||||
|
$(AGENT_SRC_DIR)/sun/jvm/hotspot/gc/shared/*.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.
|
||||||
//
|
//
|
||||||
@ -828,7 +828,7 @@ definitions %{
|
|||||||
|
|
||||||
source_hpp %{
|
source_hpp %{
|
||||||
|
|
||||||
#include "memory/cardTableModRefBS.hpp"
|
#include "gc/shared/cardTableModRefBS.hpp"
|
||||||
|
|
||||||
class CallStubImpl {
|
class CallStubImpl {
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -2173,9 +2173,8 @@ const bool Matcher::clone_shift_expressions = false;
|
|||||||
|
|
||||||
// Do we need to mask the count passed to shift instructions or does
|
// Do we need to mask the count passed to shift instructions or does
|
||||||
// the cpu only look at the lower 5/6 bits anyway?
|
// the cpu only look at the lower 5/6 bits anyway?
|
||||||
// Off, as masks are generated in expand rules where required.
|
// PowerPC requires masked shift counts.
|
||||||
// Constant shift counts are handled in Ideal phase.
|
const bool Matcher::need_masked_shift_count = true;
|
||||||
const bool Matcher::need_masked_shift_count = false;
|
|
||||||
|
|
||||||
// This affects two different things:
|
// This affects two different things:
|
||||||
// - how Decode nodes are matched
|
// - how Decode nodes are matched
|
||||||
|
@ -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
|
||||||
|
@ -79,7 +79,7 @@ define_pd_global(bool, PreserveFramePointer, false);
|
|||||||
// GC Ergo Flags
|
// GC Ergo Flags
|
||||||
define_pd_global(size_t, CMSYoungGenPerWorker, 16*M); // default max size of CMS young gen, per GC worker thread
|
define_pd_global(size_t, CMSYoungGenPerWorker, 16*M); // default max size of CMS young gen, per GC worker thread
|
||||||
|
|
||||||
define_pd_global(uintx, TypeProfileLevel, 0);
|
define_pd_global(uintx, TypeProfileLevel, 111);
|
||||||
|
|
||||||
#define ARCH_FLAGS(develop, product, diagnostic, experimental, notproduct) \
|
#define ARCH_FLAGS(develop, product, diagnostic, experimental, notproduct) \
|
||||||
\
|
\
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
@ -32,9 +32,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_x86.hpp"
|
#include "nativeInst_x86.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"
|
||||||
|
@ -39,7 +39,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
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -26,7 +26,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_x86.hpp"
|
#include "nativeInst_x86.hpp"
|
||||||
|
@ -1035,8 +1035,7 @@ void InterpreterMacroAssembler::get_method_counters(Register method,
|
|||||||
// rdx, c_rarg1: BasicObjectLock to be used for locking
|
// rdx, c_rarg1: BasicObjectLock to be used for locking
|
||||||
//
|
//
|
||||||
// Kills:
|
// Kills:
|
||||||
// rax
|
// rax, rbx
|
||||||
// rscratch1 (scratch regs)
|
|
||||||
void InterpreterMacroAssembler::lock_object(Register lock_reg) {
|
void InterpreterMacroAssembler::lock_object(Register lock_reg) {
|
||||||
assert(lock_reg == LP64_ONLY(c_rarg1) NOT_LP64(rdx),
|
assert(lock_reg == LP64_ONLY(c_rarg1) NOT_LP64(rdx),
|
||||||
"The argument is only for looks. It must be c_rarg1");
|
"The argument is only for looks. It must be c_rarg1");
|
||||||
@ -1049,6 +1048,8 @@ void InterpreterMacroAssembler::lock_object(Register lock_reg) {
|
|||||||
Label done;
|
Label done;
|
||||||
|
|
||||||
const Register swap_reg = rax; // Must use rax for cmpxchg instruction
|
const Register swap_reg = rax; // Must use rax for cmpxchg instruction
|
||||||
|
const Register tmp_reg = rbx; // Will be passed to biased_locking_enter to avoid a
|
||||||
|
// problematic case where tmp_reg = no_reg.
|
||||||
const Register obj_reg = LP64_ONLY(c_rarg3) NOT_LP64(rcx); // Will contain the oop
|
const Register obj_reg = LP64_ONLY(c_rarg3) NOT_LP64(rcx); // Will contain the oop
|
||||||
|
|
||||||
const int obj_offset = BasicObjectLock::obj_offset_in_bytes();
|
const int obj_offset = BasicObjectLock::obj_offset_in_bytes();
|
||||||
@ -1062,7 +1063,7 @@ void InterpreterMacroAssembler::lock_object(Register lock_reg) {
|
|||||||
movptr(obj_reg, Address(lock_reg, obj_offset));
|
movptr(obj_reg, Address(lock_reg, obj_offset));
|
||||||
|
|
||||||
if (UseBiasedLocking) {
|
if (UseBiasedLocking) {
|
||||||
biased_locking_enter(lock_reg, obj_reg, swap_reg, rscratch1, false, done, &slow_case);
|
biased_locking_enter(lock_reg, obj_reg, swap_reg, tmp_reg, false, done, &slow_case);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load immediate 1 into swap_reg %rax
|
// Load immediate 1 into swap_reg %rax
|
||||||
|
@ -26,9 +26,9 @@
|
|||||||
#include "asm/assembler.hpp"
|
#include "asm/assembler.hpp"
|
||||||
#include "asm/assembler.inline.hpp"
|
#include "asm/assembler.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"
|
||||||
@ -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
|
||||||
@ -1069,15 +1069,8 @@ int MacroAssembler::biased_locking_enter(Register lock_reg,
|
|||||||
BiasedLockingCounters* counters) {
|
BiasedLockingCounters* counters) {
|
||||||
assert(UseBiasedLocking, "why call this otherwise?");
|
assert(UseBiasedLocking, "why call this otherwise?");
|
||||||
assert(swap_reg == rax, "swap_reg must be rax for cmpxchgq");
|
assert(swap_reg == rax, "swap_reg must be rax for cmpxchgq");
|
||||||
LP64_ONLY( assert(tmp_reg != noreg, "tmp_reg must be supplied"); )
|
assert(tmp_reg != noreg, "tmp_reg must be supplied");
|
||||||
bool need_tmp_reg = false;
|
assert_different_registers(lock_reg, obj_reg, swap_reg, tmp_reg);
|
||||||
if (tmp_reg == noreg) {
|
|
||||||
need_tmp_reg = true;
|
|
||||||
tmp_reg = lock_reg;
|
|
||||||
assert_different_registers(lock_reg, obj_reg, swap_reg);
|
|
||||||
} else {
|
|
||||||
assert_different_registers(lock_reg, obj_reg, swap_reg, tmp_reg);
|
|
||||||
}
|
|
||||||
assert(markOopDesc::age_shift == markOopDesc::lock_bits + markOopDesc::biased_lock_bits, "biased locking makes assumptions about bit layout");
|
assert(markOopDesc::age_shift == markOopDesc::lock_bits + markOopDesc::biased_lock_bits, "biased locking makes assumptions about bit layout");
|
||||||
Address mark_addr (obj_reg, oopDesc::mark_offset_in_bytes());
|
Address mark_addr (obj_reg, oopDesc::mark_offset_in_bytes());
|
||||||
Address saved_mark_addr(lock_reg, 0);
|
Address saved_mark_addr(lock_reg, 0);
|
||||||
@ -1097,15 +1090,9 @@ int MacroAssembler::biased_locking_enter(Register lock_reg,
|
|||||||
null_check_offset = offset();
|
null_check_offset = offset();
|
||||||
movptr(swap_reg, mark_addr);
|
movptr(swap_reg, mark_addr);
|
||||||
}
|
}
|
||||||
if (need_tmp_reg) {
|
|
||||||
push(tmp_reg);
|
|
||||||
}
|
|
||||||
movptr(tmp_reg, swap_reg);
|
movptr(tmp_reg, swap_reg);
|
||||||
andptr(tmp_reg, markOopDesc::biased_lock_mask_in_place);
|
andptr(tmp_reg, markOopDesc::biased_lock_mask_in_place);
|
||||||
cmpptr(tmp_reg, markOopDesc::biased_lock_pattern);
|
cmpptr(tmp_reg, markOopDesc::biased_lock_pattern);
|
||||||
if (need_tmp_reg) {
|
|
||||||
pop(tmp_reg);
|
|
||||||
}
|
|
||||||
jcc(Assembler::notEqual, cas_label);
|
jcc(Assembler::notEqual, cas_label);
|
||||||
// The bias pattern is present in the object's header. Need to check
|
// The bias pattern is present in the object's header. Need to check
|
||||||
// whether the bias owner and the epoch are both still current.
|
// whether the bias owner and the epoch are both still current.
|
||||||
@ -1117,9 +1104,6 @@ int MacroAssembler::biased_locking_enter(Register lock_reg,
|
|||||||
// simpler.
|
// simpler.
|
||||||
movptr(saved_mark_addr, swap_reg);
|
movptr(saved_mark_addr, swap_reg);
|
||||||
#endif
|
#endif
|
||||||
if (need_tmp_reg) {
|
|
||||||
push(tmp_reg);
|
|
||||||
}
|
|
||||||
if (swap_reg_contains_mark) {
|
if (swap_reg_contains_mark) {
|
||||||
null_check_offset = offset();
|
null_check_offset = offset();
|
||||||
}
|
}
|
||||||
@ -1135,9 +1119,6 @@ int MacroAssembler::biased_locking_enter(Register lock_reg,
|
|||||||
Register header_reg = swap_reg;
|
Register header_reg = swap_reg;
|
||||||
#endif
|
#endif
|
||||||
andptr(header_reg, ~((int) markOopDesc::age_mask_in_place));
|
andptr(header_reg, ~((int) markOopDesc::age_mask_in_place));
|
||||||
if (need_tmp_reg) {
|
|
||||||
pop(tmp_reg);
|
|
||||||
}
|
|
||||||
if (counters != NULL) {
|
if (counters != NULL) {
|
||||||
cond_inc32(Assembler::zero,
|
cond_inc32(Assembler::zero,
|
||||||
ExternalAddress((address) counters->biased_lock_entry_count_addr()));
|
ExternalAddress((address) counters->biased_lock_entry_count_addr()));
|
||||||
@ -1180,9 +1161,6 @@ int MacroAssembler::biased_locking_enter(Register lock_reg,
|
|||||||
NOT_LP64( movptr(swap_reg, saved_mark_addr); )
|
NOT_LP64( movptr(swap_reg, saved_mark_addr); )
|
||||||
andptr(swap_reg,
|
andptr(swap_reg,
|
||||||
markOopDesc::biased_lock_mask_in_place | markOopDesc::age_mask_in_place | markOopDesc::epoch_mask_in_place);
|
markOopDesc::biased_lock_mask_in_place | markOopDesc::age_mask_in_place | markOopDesc::epoch_mask_in_place);
|
||||||
if (need_tmp_reg) {
|
|
||||||
push(tmp_reg);
|
|
||||||
}
|
|
||||||
#ifdef _LP64
|
#ifdef _LP64
|
||||||
movptr(tmp_reg, swap_reg);
|
movptr(tmp_reg, swap_reg);
|
||||||
orptr(tmp_reg, r15_thread);
|
orptr(tmp_reg, r15_thread);
|
||||||
@ -1194,9 +1172,6 @@ int MacroAssembler::biased_locking_enter(Register lock_reg,
|
|||||||
lock();
|
lock();
|
||||||
}
|
}
|
||||||
cmpxchgptr(tmp_reg, mark_addr); // compare tmp_reg and swap_reg
|
cmpxchgptr(tmp_reg, mark_addr); // compare tmp_reg and swap_reg
|
||||||
if (need_tmp_reg) {
|
|
||||||
pop(tmp_reg);
|
|
||||||
}
|
|
||||||
// If the biasing toward our thread failed, this means that
|
// If the biasing toward our thread failed, this means that
|
||||||
// another thread succeeded in biasing it toward itself and we
|
// another thread succeeded in biasing it toward itself and we
|
||||||
// need to revoke that bias. The revocation will occur in the
|
// need to revoke that bias. The revocation will occur in the
|
||||||
@ -1220,9 +1195,6 @@ int MacroAssembler::biased_locking_enter(Register lock_reg,
|
|||||||
//
|
//
|
||||||
// FIXME: due to a lack of registers we currently blow away the age
|
// FIXME: due to a lack of registers we currently blow away the age
|
||||||
// bits in this situation. Should attempt to preserve them.
|
// bits in this situation. Should attempt to preserve them.
|
||||||
if (need_tmp_reg) {
|
|
||||||
push(tmp_reg);
|
|
||||||
}
|
|
||||||
load_prototype_header(tmp_reg, obj_reg);
|
load_prototype_header(tmp_reg, obj_reg);
|
||||||
#ifdef _LP64
|
#ifdef _LP64
|
||||||
orptr(tmp_reg, r15_thread);
|
orptr(tmp_reg, r15_thread);
|
||||||
@ -1235,9 +1207,6 @@ int MacroAssembler::biased_locking_enter(Register lock_reg,
|
|||||||
lock();
|
lock();
|
||||||
}
|
}
|
||||||
cmpxchgptr(tmp_reg, mark_addr); // compare tmp_reg and swap_reg
|
cmpxchgptr(tmp_reg, mark_addr); // compare tmp_reg and swap_reg
|
||||||
if (need_tmp_reg) {
|
|
||||||
pop(tmp_reg);
|
|
||||||
}
|
|
||||||
// If the biasing toward our thread failed, then another thread
|
// If the biasing toward our thread failed, then another thread
|
||||||
// succeeded in biasing it toward itself and we need to revoke that
|
// succeeded in biasing it toward itself and we need to revoke that
|
||||||
// bias. The revocation will occur in the runtime in the slow case.
|
// bias. The revocation will occur in the runtime in the slow case.
|
||||||
@ -1263,17 +1232,11 @@ int MacroAssembler::biased_locking_enter(Register lock_reg,
|
|||||||
// FIXME: due to a lack of registers we currently blow away the age
|
// FIXME: due to a lack of registers we currently blow away the age
|
||||||
// bits in this situation. Should attempt to preserve them.
|
// bits in this situation. Should attempt to preserve them.
|
||||||
NOT_LP64( movptr(swap_reg, saved_mark_addr); )
|
NOT_LP64( movptr(swap_reg, saved_mark_addr); )
|
||||||
if (need_tmp_reg) {
|
|
||||||
push(tmp_reg);
|
|
||||||
}
|
|
||||||
load_prototype_header(tmp_reg, obj_reg);
|
load_prototype_header(tmp_reg, obj_reg);
|
||||||
if (os::is_MP()) {
|
if (os::is_MP()) {
|
||||||
lock();
|
lock();
|
||||||
}
|
}
|
||||||
cmpxchgptr(tmp_reg, mark_addr); // compare tmp_reg and swap_reg
|
cmpxchgptr(tmp_reg, mark_addr); // compare tmp_reg and swap_reg
|
||||||
if (need_tmp_reg) {
|
|
||||||
pop(tmp_reg);
|
|
||||||
}
|
|
||||||
// Fall through to the normal CAS-based lock, because no matter what
|
// Fall through to the normal CAS-based lock, because no matter what
|
||||||
// the result of the above CAS, some thread must have succeeded in
|
// the result of the above CAS, some thread must have succeeded in
|
||||||
// removing the bias bit from the object's header.
|
// removing the bias bit from the object's header.
|
||||||
|
@ -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.
|
||||||
* Copyright 2007, 2008, 2009 Red Hat, Inc.
|
* Copyright 2007, 2008, 2009 Red Hat, Inc.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
@ -25,9 +25,9 @@
|
|||||||
|
|
||||||
#include "precompiled.hpp"
|
#include "precompiled.hpp"
|
||||||
#include "assembler_zero.inline.hpp"
|
#include "assembler_zero.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
|
||||||
|
|
||||||
int AbstractAssembler::code_fill_byte() {
|
int AbstractAssembler::code_fill_byte() {
|
||||||
|
@ -61,6 +61,8 @@ define_pd_global(size_t, CMSYoungGenPerWorker, 16*M); // default max size of CM
|
|||||||
|
|
||||||
define_pd_global(uintx, TypeProfileLevel, 0);
|
define_pd_global(uintx, TypeProfileLevel, 0);
|
||||||
|
|
||||||
|
define_pd_global(bool, PreserveFramePointer, false);
|
||||||
|
|
||||||
#define ARCH_FLAGS(develop, product, diagnostic, experimental, notproduct) \
|
#define ARCH_FLAGS(develop, product, diagnostic, experimental, notproduct) \
|
||||||
product(bool, UseFastEmptyMethods, true, \
|
product(bool, UseFastEmptyMethods, true, \
|
||||||
"Use fast method entry code for empty methods") \
|
"Use fast method entry code for empty methods") \
|
||||||
|
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