Re: SableVM
"Gregory B. Prokopsky" <[email protected]> Mon, 30 Jan 2006 08:14:43 -0500
| Newsgroups | gmane.comp.java.vm.sablevm.devel |
|---|---|
| Organization | SableVM Project http://sablevm.org |
| Message-ID | <20060130131443.GB4083@gadek> |
Hi Nicoara,
It is usual to ask such questions on a public forum, so that others also
could benefit from the answers. I have not found anything personal in your
email and took the liberty to Cc: my reply to our public mailing list. I
hope you won't mind.
+++ Nicoara Angela [15/01/06 21:52 +0100]:
> My name is Angela Nicoara and I'm a Ph.D. student. I'm interested in the
> SableVM version enhanced with JVMDI and JDWP support. I find the SableVM
> project very interesting. Good luck with your project.
>
> I succeeded to install the SableVM version
> ("sablevm-nizar-debug+3895.tar.gz" and
> "sablevm-classpath-nizar-debug+3895") on Fedora Linux, i386 architecture.
>
> After I installed the SableVM, I tried to run an application. I got the
> following warnings and an error:
>
> =======
> Warning: -Xdebug option not implemented in java-sablevm wrapper.
> Warning: -Xnoclassgc option not implemented in java-sablevm wrapper.
> ....
> Caused by: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError:
> Could not load library /home/user/work/Test-SableVM/SableVM-debug/libtestvm
> ....
> =======
It seems to me that you might be trying to use different Eclipse version than
the one we recommended. Our 'java' command understands -Xrunjdwp:...
extension, but not -Xdebug. It might be a possible enhancement area. Look
into java-sablevm.tmpl in the root dir of SableVM sources.
> I also tried to set the "LD_LIBRARY_PATH" environment and used the "-Xrun"
> (e.g., "-Xruntestvm"), but the ".so" library still can not be loaded.
>
> In order to use the SableVM with JVMDI support, I have few questions and I
> will be happy to receive your feedback. Thank you very much!
>
> 1) I'm interested in the native part of the JVMDI and not the JDWP. Would
> you be so kind to tell me if the SableVM JVMDI version has Hotswap support?
> More exactly, if "RedefineClasses" is supported?
Not at the moment.
> 2) Does the SableVM debug version have support for the following VM options:
"-Xdebug", "-Xnoclassgc", "-Xrun"?
No.
> 3) Can I debug an application with SableVM using only the "-Xrunjdwp" option?
Yes, that is the current way. Note that 'java-sablevm' is a shell script
that can be easily adapted to understand different parameters. So adding
anything is fairly easy as long as the JVM itself can do it.
> 4) Is there a more recent version than "sablevm-nizar-debug+3895.tar.gz" that I can test it?
We want to merge debugging into the mainline and maintain it from there.
There's no 'standalone' releases of debug-enabled sablevm planned.
I hope you'll find the answers useful. In the future it would be advicable
if you decided to use our mailing lists for mutual benefit of yourself and
all users and developers. See http://sablevm.org/lists for subscription
options.
Bests,
Gregory
--
Gregory B. Prokopsky <[email protected]>
Debian GNU/Linux http://www.debian.org
SableVM - LGPL'ed Java VM http://sablevm.org
Why SableVM ?!? http://sablevm.org/wiki/Features