RFR 8071667 : HashMap.computeIfAbsent() adds entry that HashMap.get() does not find.
Paul Sandoz
paul.sandoz at oracle.com
Mon Mar 23 11:35:46 UTC 2015
On Mar 23, 2015, at 12:16 PM, Chris Hegarty <chris.hegarty at oracle.com> wrote:
> I wonder if we, optionally, pass the exception type, either CME or IAE, could we add CHM to the DataProvider?
>
Possibly, but I suspect any tests for CHM will be more fragile and involved. My sense is it may be premature to do that right now.
To tickle the locations where ISEs are thrown the CHM compute functions probably need to perturb the bucket where the key computed on is, or is to be, located and tests might need to perform concurrent updates to induce resizes.
Paul.
More information about the core-libs-dev
mailing list