[java-dev] Re: Crash in JitterMatrix.copyMatrixToArray() ?
Joshua Kit Clayton
jkc at musork.com
Tue Feb 5 13:52:01 MST 2008
- Previous message: [java-dev] Re: Crash in JitterMatrix.copyMatrixToArray() ?
- Next message: [java-dev] Re: Re: Crash in JitterMatrix.copyMatrixToArray() ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Feb 5, 2008, at 11:55 AM, Peter Castine wrote: > > I'll get you a copy of the app we've built around my mxj Object. I > need to get a current version from John Dekron. It'll probably be > tomorrow. > > Thanks for taking the time to look at what I posted so far. > > FWIW, I was originally using getCell2d() calls, but they ate up > CPU pretty seriously. As mentioned before, you might try copyVectorToArray(). This row by row copy is way faster than getCell2d() approach, and shouldn't be so much slower than a copyMatrixToArray() approach. On first glance the copyMatrixToArray() JNI code looks fine to me, but given your crashlog, maybe there's some problems for some cases in this function. I'm pretty sure that the copyVectorToArray() method is stable. That is unless this whole thing is the result of something else trashing memory. -Joshua
- Previous message: [java-dev] Re: Crash in JitterMatrix.copyMatrixToArray() ?
- Next message: [java-dev] Re: Re: Crash in JitterMatrix.copyMatrixToArray() ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
