Bug 238823

Summary: Call Structure::get instead of Structure::getConcurrently on the mutator thread
Product: WebKit Reporter: Saam Barati <saam>
Component: JavaScriptCoreAssignee: Saam Barati <saam>
Status: RESOLVED FIXED    
Severity: Normal CC: ews-watchlist, keith_miller, mark.lam, msaboff, tzagallo, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch
ysuzuki: review+
patch for landing none

Description Saam Barati 2022-04-05 11:33:08 PDT
...
Comment 1 Saam Barati 2022-04-05 18:58:42 PDT
Created attachment 456774 [details]
patch
Comment 2 Yusuke Suzuki 2022-04-05 19:56:55 PDT
Comment on attachment 456774 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=456774&action=review

r=me

> Source/JavaScriptCore/runtime/JSObject.h:1418
> +    case Concurrency::MainThread:

Let's add `ASSERT(!isCompilationThread() && !Thread::mayBeGCThread());` assertion.

> Source/JavaScriptCore/runtime/Structure.h:520
> +        case Concurrency::MainThread:

Let's add `ASSERT(!isCompilationThread() && !Thread::mayBeGCThread());` assertion.

> Source/JavaScriptCore/runtime/Structure.h:530
> +        case Concurrency::MainThread:

Let's add `ASSERT(!isCompilationThread() && !Thread::mayBeGCThread());` assertion.
Comment 3 Saam Barati 2022-04-06 11:05:23 PDT
Created attachment 456839 [details]
patch for landing
Comment 4 EWS 2022-04-06 12:36:48 PDT
Committed r292493 (249341@main): <https://commits.webkit.org/249341@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 456839 [details].
Comment 5 Radar WebKit Bug Importer 2022-04-06 12:37:17 PDT
<rdar://problem/91370257>