----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50856/#review144941 -----------------------------------------------------------
how about keeping ObjectMapper in threadLocal? - Hitesh Khamesra On Aug. 5, 2016, 4:14 p.m., Bruce Schuchardt wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/50856/ > ----------------------------------------------------------- > > (Updated Aug. 5, 2016, 4:14 p.m.) > > > Review request for geode, Hitesh Khamesra, Jianxia Chen, and Udo Kohlmeyer. > > > Bugs: GEODE-225 > https://issues.apache.org/jira/browse/GEODE-225 > > > Repository: geode > > > Description > ------- > > Use of a static ObjectMapper can be enabled by setting the system property > > PdxInstance.use-static-mapper=true > > We can switch to always using a static ObjectMapper once multithreaded > performance is determined to not be affected. > > > Diffs > ----- > > > geode-core/src/main/java/com/gemstone/gemfire/pdx/internal/PdxInstanceImpl.java > d759c49155f2c098b0d7ad48129045c4eb819ea8 > > Diff: https://reviews.apache.org/r/50856/diff/ > > > Testing > ------- > > precheckin > > > Thanks, > > Bruce Schuchardt > >