Bug #939
closedSUNWdtrt needs to be willing to use 64bit java
100%
Description
At present, the tests for the DTrace java API use 'jdtrace', a clone of the command line interface implemented in Java atop libdtrace_jni. However, this is only ever run using the 32bit java, which causes problems if any target process is 64bit. This started to be true when ksh93 became something which we ran under isaexec.
Rather than adjusting the tests to be sure that the target process is always 32bit, to protect jdtrace, we should change jdtrace to be willing to use a 64bit JVM.
Since there is no real way to cause the the JVM to re-exec itself to accomodate the target, this will be independent of support for dtest -i, and just use the most bitted JVM available to us, via isaexec(3C).
Updated by Rich Lowe over 12 years ago
We can't use isaexec(3C) because there is no java binary in the 32bit ISA directory, given that the difference we care about is 64bit v. 32bit, I currently plan to use sysinfo() to get the 64bit platform name, and construct the path that way.
Updated by Rich Lowe over 12 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Resolved in r13351 commit:b27fbdda9454