[Soot-list] It takes so much time and space to perform a points-to analysis using SPARK

jnuzhjp jnuzhjp at 163.com
Sat Sep 5 15:51:47 EDT 2009


Hi
I wanted to perform a points-to analysis using SPARK two hours ago, but it took me so long, uh, at least 10 minutes and more than 800m memory yet ending with a situation like this:

The command was:  Soot>java -Xmx800m soot.Main --app -p cg.spark on-fly-cg:true -w Foo
I checked the task manager, the OS did allocate 850m memory to java process. 

And, the target source class file Foo.java was as simple as this:
public class Foo
{
public static void main(String[] args) 
{
Foo f = new Foo();
int a = 7;
int b = 14;
int x = (f.bar(21) + a) * b;
}
public int bar(int n) {
return n + 42;
}
}

I don't know wether it was because some missing parts of configuration on my machine or just the performance problem of Soot that led to this failure. If the latter case, then it would be prohibitive to use this tool to perform points-to analysis even on a fairly small application.

Is there anybody sharing the same experience?

Any help will be greatly appricated. Thank you!


Palmer
2009-09-06 



jnuzhjp 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20090906/5d102774/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 97414 bytes
Desc: not available
Url : http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20090906/5d102774/attachment-0001.jpe 


More information about the Soot-list mailing list