From: Paul P. <bay...@gm...> - 2011-09-20 21:02:08
|
Hi Shai, Fortunately you're not alone in experiencing the XMLVM_MEMCPY issue. I am looking into this as well. Let me know if you find anything. Aside from enabling NullPointerException and ArrayIndexOutOfBoundsException checks, you can also enable stack traces: #define XMLVM_ENABLE_STACK_TRACES All 3 of those are handy, but keep in mind they significantly decrease performance, especially checking for NullPointerExceptions. Thanks, Paul On Tue, Sep 20, 2011 at 1:36 PM, Shai <sha...@ya...> wrote: > > I just committed support for array bounds check. You need to compile > > > your app with #define XMLVM_ENABLE_ARRAY_BOUNDS_CHECK to enable it. > > Thanks allot. I just updated to get this and unfortunately it doesn't solve > that issue. I'll try to dig in and figure this one out > > >> While we are on the subject are there other things from the JVM spec > that > > weren't implemented, off the top of my head I think we also depend on > > variables defaulting to 0/false especially in arrays. > > > > We do bzero arrays as well as initialize all variables. Can you send a > > specific example? > > I didn't run into a problem here. I was just trying to figure out if there > are other minor incompatibilities between XMLVM's C backend and the JVM > specification that you are aware of (I gave the zeroing of arrays as an > example). I can't really think of anything specific right now. > > Anyway, thanks again. I'll take another look at the code and try to figure > out why LLVM isn't working and the cause of this crash. > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Xmlvm-developers mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers > |