Bug 230377

Summary: Avoid emitting unnecessary write barriers for PutByVal and PutPrivateName
Product: WebKit Reporter: Justin Michaud <justin_michaud>
Component: JavaScriptCoreAssignee: Justin Michaud <justin_michaud>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: bfulgham, mark.lam, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 230378    
Bug Blocks:    

Description Justin Michaud 2021-09-16 15:37:53 PDT
This bug would disclose a security issue, and so I chose to also categorize it as security.

We should avoid emitting write barriers when they are not needed, for example when we do not touch the butterfly. An example of this is a PutPrivateName that is not a define and has a non-cell value.

See DFGStoreBarrierInsertionPhase FIXMEs for PutByVal and PutPrivateName.
Comment 1 Radar WebKit Bug Importer 2021-09-16 15:38:07 PDT
<rdar://problem/83216483>
Comment 2 Justin Michaud 2024-04-08 13:37:30 PDT
Closing old bugs assigned to me