Project

General

Profile

Bug #939

SUNWdtrt needs to be willing to use 64bit java

Added by Rich Lowe almost 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Start date:
2011-04-21
Due date:
% Done:

100%

Estimated time:
Difficulty:
Tags:

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).

History

#1

Updated by Rich Lowe almost 9 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.

#2

Updated by Rich Lowe almost 9 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Resolved in r13351 commit:b27fbdda9454

Also available in: Atom PDF