ARM: thinko in disassembly
Andrew Haley
aph at redhat.com
Fri Jan 27 05:34:14 PST 2012
If you set T2EE_PRINT_DISASS in the environment and run java
you may get a segfault if hsdis-arm.so isn't found.
The fix is obvious/trivial, not release critical, but I'll
commit it to the branch too because it's very low risk.
Andrew.
2012-01-27 Andrew Haley <aph at redhat.com>
* arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp (class Hsdis): Set
decode_instructions = NULL.
diff -r 80c34531aba3 arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp
--- a/arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp Thu Jan 26 07:27:15 2012 -0500
+++ b/arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp Fri Jan 27 13:30:16 2012 +0000
@@ -736,6 +736,8 @@
// Load hsdis-arm.so lazily.
Hsdis()
{
+ decode_instructions = NULL;
+
if (PrintAssembly) {
if (lib = dlopen("hsdis-arm.so", RTLD_NOW)) {
decode_instructions
More information about the distro-pkg-dev
mailing list