You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we do some thread local caching of buffers in order to reduce buffer copying when using the typical XContentFactory#jsonBuilder (for example). This can create dangerous bugs of overlapping buffers if the builder is not passed to the API right when its created. Remove this behavior, and optimize in other manners in order to reduce buffer copying.
Note, this means that the "safe" methods will be removed from the XContentFactory.
The text was updated successfully, but these errors were encountered:
Currently, we do some thread local caching of buffers in order to reduce buffer copying when using the typical
XContentFactory#jsonBuilder
(for example). This can create dangerous bugs of overlapping buffers if the builder is not passed to the API right when its created. Remove this behavior, and optimize in other manners in order to reduce buffer copying.Note, this means that the "safe" methods will be removed from the
XContentFactory
.The text was updated successfully, but these errors were encountered: