Re: Custom ClassLoader
Klaus Wuestefeld <[email protected]> Wed, 16 Oct 2013 18:13:48 -0300
| Newsgroups | gmane.comp.java.prevayler |
|---|---|
| Message-ID | <CAMAooZGxP4LWMGkuooD7_PkV+Uvy0zaa+BEVi8hW=4byG6G=FA@mail.gmail.com> |
The question is: Why does the classloader matter when running transient? Does the loader instrument the code? Cant you not load Prevayler itself using your classloader? Klaus On Wed, Oct 16, 2013 at 6:11 PM, Christian Stein <[email protected]> wrote: > On Wed, Oct 16, 2013 at 10:30 PM, Justin T. Sampson <[email protected]> > wrote: >> >> Interesting... Why does the classloader matter if you want a transient >> Prevayler? > > I wanted a transient Prevayler to speed up things in unit testing. And > didn't want to clean up test data... but as speed doesn't matter much, I'm > fine using a persisting Prevayler and my class loader with JUnit's > TemporyFolder rule support for auto clean up. (-: > > Cheers, > Christian > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk > _______________________________________________ > To unsubscribe go to the end of this page: > http://lists.sourceforge.net/lists/listinfo/prevayler-discussion > _______________________________________________ > "Databases in Memoriam" -- http://www.prevayler.org > -- Valeu, Klaus. ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion _______________________________________________ "Databases in Memoriam" -- http://www.prevayler.org