commit | b629ec34d965567f12787f4c89360d8ecdcc0863 | [log] [tgz] |
---|---|---|
author | sigbjornf@opera.com <sigbjornf@opera.com> | Sat Jan 10 12:12:00 2015 |
committer | sigbjornf@opera.com <sigbjornf@opera.com> | Sat Jan 10 12:12:00 2015 |
tree | 81dba0a2c70e424fbe9101485115dbfd55f5af63 | |
parent | 910e0d00bb99fd0eaa74ae453b7b6a0ab00b0bfa [diff] |
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