On 12/1/2017 5:31 PM, Richard Eckart de Castilho wrote: > On 01.12.2017, at 22:16, Richard Eckart de Castilho <[email protected]> wrote: >> It looks to me that v3 is rather flexible with respect to assigning IDs to >> FSes (unlike >> v2 where this was bound to the heap organization). It would be great if this >> flexibility >> could be used in order to assign the IDs in the way that they are read from >> the serialized >> CAS (cf. CommonSerDesSequential.addr2fs). > I believe one way to address this without refactoring major parts of the JCas > code would > be to allow CommonSerDesSequential to set CASImpl.SharedViewData.reuseId to > the heapIndex > before instantiating the FS. More would be needed to insure the id's for subsequently created FSs were assigned starting above the highest one deserialized.
There might be other things to watch out for... -Marshall > > -- Richard
