RFR: 8215206: VtableStubs::find_stub is not appropriately protected by VtableStubs_lock
tobias.hartmann at oracle.com
Tue Dec 11 11:55:16 UTC 2018
looks good to me too.
Any reason you are not using  for your webrevs? The sdiffs seem to be slightly different (worse).
On 11.12.18 12:10, Erik Österlund wrote:
> In VtableStubs::find_stub we first perform a lookup in the table to check for already created stubs
> under the VtableStubs_lock, then if not found we create a new stub without the lock held, and then
> insert it under the VtableStubs_lock without checking for entries inserted between the lookup and
> If the VtableStubs_lock is to protect the table (which is the intention), the lock should not be
> unlocked before lookup and insert.
More information about the hotspot-compiler-dev