-
Bug
-
Resolution: Fixed
-
P4
-
8, 11, 12, 13
-
b11
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8243358 | 11.0.8-oracle | Jie Fu | P4 | Resolved | Fixed | b04 |
JDK-8228882 | 11.0.5 | Jie Fu | P4 | Resolved | Fixed | b02 |
JDK-8252491 | openjdk8u272 | Jie Fu | P4 | Resolved | Fixed | b06 |
The RuntimeStub's name is lost when dumping C2's runtime stub with -XX:+PrintFrameConverterAssembly.
However, it do exist when dumping with -XX:+PrintStubCode.
It would be more friendly if the stub's name was dumped as well for JVM debuggers with -XX:+PrintFrameConverterAssembly.
It can be fixed by
---------------------------------------
diff -r 56089cf6152c src/hotspot/share/opto/output.cpp
--- a/src/hotspot/share/opto/output.cpp Tue Feb 26 05:46:02 2019 -0800
+++ b/src/hotspot/share/opto/output.cpp Thu Feb 28 19:52:40 2019 +0800
@@ -1556,6 +1556,8 @@
}
if (method() != NULL) {
method()->print_metadata();
+ } else if (stub_name() != NULL) {
+ tty->print_cr("Generating RuntimeStub - %s", stub_name());
}
dump_asm(node_offsets, node_offset_limit);
if (xtty != NULL) {
---------------------------------------
However, it do exist when dumping with -XX:+PrintStubCode.
It would be more friendly if the stub's name was dumped as well for JVM debuggers with -XX:+PrintFrameConverterAssembly.
It can be fixed by
---------------------------------------
diff -r 56089cf6152c src/hotspot/share/opto/output.cpp
--- a/src/hotspot/share/opto/output.cpp Tue Feb 26 05:46:02 2019 -0800
+++ b/src/hotspot/share/opto/output.cpp Thu Feb 28 19:52:40 2019 +0800
@@ -1556,6 +1556,8 @@
}
if (method() != NULL) {
method()->print_metadata();
+ } else if (stub_name() != NULL) {
+ tty->print_cr("Generating RuntimeStub - %s", stub_name());
}
dump_asm(node_offsets, node_offset_limit);
if (xtty != NULL) {
---------------------------------------
- backported by
-
JDK-8228882 RuntimeStub's name lost with PrintFrameConverterAssembly
-
- Resolved
-
-
JDK-8243358 RuntimeStub's name lost with PrintFrameConverterAssembly
-
- Resolved
-
-
JDK-8252491 RuntimeStub's name lost with PrintFrameConverterAssembly
-
- Resolved
-