tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rémy Maucherat <>
Subject Re: Context switch integration
Date Wed, 22 Jan 2014 22:03:24 GMT
2014/1/22 Mark Thomas <>

> I thought about that. There is some coupling between the entry and
> exit methods (the class loader) that the caller would need to retain
> and some standard try/finally plumbing.
> There is also an optimisation not to try to change the class loader if
> there is no need to do so.

That looks like a good summary !

> In an effort to reduce this common code for every caller, I started
> down a different route. I do wonder if the entry/exit approach might
> end up being cleaner as even with my approach, you end up with some
> not so nice exception handling.
> I'll see what folks think of the patch so far and maybe explore the
> entry/exit option as well.
> The first patch however looks more complicated than the "dumb" way IMO.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message