openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fernando Padilla <>
Subject Re: slices hangs if run with Multithreaded=true
Date Sat, 13 Dec 2008 01:12:59 GMT
So, do you want me to supply a patch, or will you make the quick code 
changes to turn off ParallelExecutor ( or at least make it configurable ).

Pinaki Poddar wrote:
>> Since behind the scenes you are executing various different queries using
> multiple 
>> threads, and they might be touching/using shared resources lower down. 
> Good point, and most probably you are right.
>> which is to fix up QueryImpl, not to do aggressive locking (at least in
>> the isUnique method), and I 
>> think it will at least remove the current blocking issue.
> So far, Slice has imposed almost no demand on existing kernel -- which is
> battle hardened code. So naturally, I am apprehensive of change in threading
> logic in kernel.QueryImpl. Any change of this nature *must* validate itself
> against a set of multithreaded tests (with or without Slice).

View raw message