Play-In Agent

11 views
Skip to first unread message

Monica

unread,
Nov 11, 2014, 7:01:56 AM11/11/14
to tamiflex...@googlegroups.com
Hi,

I am running following command to run transformed class files with dacapo which are located in sootified/luindex folder. These transformed files are using some extra classes which
are not there in dacapo-9.12-bach.jar. 

Is there any way to provide those classes (eg., in classpath) to execute this command successfully.

java  -noverify -javaagent:pia.jar=sootified/luindex -jar dacapo-9.12-bach.jar luindex -s small

Eric Bodden

unread,
Nov 13, 2014, 7:19:31 AM11/13/14
to tamiflex...@googlegroups.com
Hi Monica.

> Is there any way to provide those classes (eg., in classpath) to execute this command successfully.
>
> java -noverify -javaagent:pia.jar=sootified/luindex -jar dacapo-9.12-bach.jar luindex -s small


I think the problem is as follows: PIA only replaces those classes from dacapo-9.12-bach.jar by those in sootified/luindex that the runtime asks it to replace. Additional classes, I think, would have to be provided on the VM's classpath.

Something like:

java -noverify -javaagent:pia.jar=sootified/luindex -cp dacapo-9.12-bach.jar:sootified/luindex luindex -s small dacapo.Main


(I think dacapo.Main is the Harness main class.)

Cheers,
Eric
signature.asc
Reply all
Reply to author
Forward
0 new messages