Open eric-milles opened 6 months ago
@eric-milles : instead of pasting source, could you please push your change as PR, so we can see test results etc and can discuss on the code? Also if possible, check if you can add a test case, or at least provide steps to reproduce with a code snippet that can trigger the error.
I am getting this error intermittently from the reconciler thread. I'm guessing there is a synchronization issue between
types
andtypeid
.I'm not too sure about the
synchronized
andvolatile
modifiers, but I did think it was simpler to read with the array growth in a single spot. ~I have some error in there, but~ this does demonstrate my approach. I think this also displays that the tricky slot assignment code is best done once.