Extend locking of GCInfo table to include slot allocation.

To prevent threads from allocating duplicate slots for a GCInfo 
descriptor, impose a lock on slot allocation. With the lock held,
avoid duplicates by re-checking if the slot hasn't been initialized.

R=haraken
BUG=357427

Review URL: https://codereview.chromium.org/834673008

git-svn-id: svn://svn.chromium.org/blink/trunk@188184 bbb929c8-8fbe-4397-9dbb-9b2b20218538
2 files changed
tree: 81dba0a2c70e424fbe9101485115dbfd55f5af63
  1. third_party/