Re: [Sablevm-developer] Java_java_lang_Runtime_totalMemory: Link Error
Brought to you by:
egagnon
From: Etienne M. G. <eti...@uq...> - 2003-01-08 18:27:20
|
On Tue, Jan 07, 2003 at 03:14:27PM -0700, Gunda Domlur wrote: > Hello, > > When I tried running a benchmark on sablevm-direct I got the following > error. > > *** Couldn't find native method Java_java_lang_runtime_totalMemory *** > *** or Java_java_lang_Runtime_totalMemory__ *** > >>>>benchmarkmain exited with exception: java.lang.UnsatisfiedLinkError <<<< > java.lang.UnsatisfiedLinkError > > I tried looking in the native-library. There is a declaration for this > function in the java_lang_Runtime.h file, but no definition. Is this just > missing or should look for the definition elsewhere ? It is currently missing. It should be fairly easy to implement, though. Just look at the data structure _svmt_JavaVM->heap. Etienne > > Thanks. > -Gunda > > > > > > _________________________________________________________________ > Protect your PC - get McAfee.com VirusScan Online > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Sablevm-developer mailing list > Sab...@li... > https://lists.sourceforge.net/lists/listinfo/sablevm-developer -- Etienne M. Gagnon http://www.info.uqam.ca/~egagnon/ SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/ |