Reputation: 564
And a second question that follows if method writer (MW) can be shared:
Is it advised from performance reasons ? (or it is better to have a single MW per thread ?)
Upvotes: 1
Views: 88
Reputation: 533482
Currently, it is advised to avoid sharing the method writer between threads as this is not well tested. It should work, but might not. You should have one per thread ideally as this is how it is generally used.
Upvotes: 1