StructureStubInfo and PolyMorphicAccess should account for their non-GC memory
Created attachment 427172 [details] Patch
Created attachment 427175 [details] Patch
Comment on attachment 427175 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=427175&action=review r=me > Source/JavaScriptCore/bytecode/PolymorphicAccess.cpp:389 > + size += sizeof(WatchpointsOnStructureStubInfo); m_watchpoints has a Bag of stuff. Do we need to add that size?
Comment on attachment 427175 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=427175&action=review >> Source/JavaScriptCore/bytecode/PolymorphicAccess.cpp:389 >> + size += sizeof(WatchpointsOnStructureStubInfo); > > m_watchpoints has a Bag of stuff. Do we need to add that size? Yeah, for some reason I thought the watchpoints were owned by the code block but that doesn't make sense since they are not references or pointers in the Bag.
Created attachment 427179 [details] Patch for landing
Committed r276655 (237082@main): <https://commits.webkit.org/237082@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 427179 [details].
<rdar://problem/77224968>
Re-opened since this is blocked by bug 225930