[v8-users] Problem linking when implementing V8InspectorClient

2024-09-26 Thread alex...@gmail.com
We have code that implements v8_inspector::V8InspectorClient and when we upgraded to V8 13.1.36 (thought he problem looks like it's there up to 13.1.99) we get the following when we try to link: ld64.lld: error: undefined symbol: typeinfo for v8_inspector::V8InspectorClient >>> referenced by /U

[v8-users] Re: Problem linking when implementing V8InspectorClient

2024-09-29 Thread alex...@gmail.com
but this is a bit of a hassle for us, currently. Thanks On Thursday, September 26, 2024 at 12:25:53 PM UTC-4 alex...@gmail.com wrote: > We have code that implements v8_inspector::V8InspectorClient and when we > upgraded to V8 13.1.36 (thought he problem looks like it's there up t

Re: [v8-users] Re: Problem linking when implementing V8InspectorClient

2024-09-30 Thread alex...@gmail.com
t; On Mon, Sep 30, 2024 at 10:42 AM Jakob Kummerow > wrote: > >> +Benedikt Meurer who made these changes and might have an opinion. >> >> >> On Sun, Sep 29, 2024 at 12:55 PM alex...@gmail.com >> wrote: >> >>> FWIW, I rebuilt V8 after I made th

Re: [v8-users] When is an internal field destroyed?

2021-04-19 Thread alex...@gmail.com
To flesh out Ben's answer a bit, you'd want a Persistent reference to obj which you could SetWeak. I guess maybe that's obvious but never hurts to state the obvious. The Persistent reference could be inside Point or a base class of Point (and others) if you have a menagerie of object types to m

[v8-users] Re: a question about Isolate RequestInterrupt

2022-01-12 Thread alex...@gmail.com
I think it means that JavaScript code should not be called and maybe even messing with data in the heap is a bad idea. Not sure about the latter. I think the heap and JS stack are in indeterminate or at least intermediate states that wouldn't tolerate interlopers when you enter the callback so

Re: [v8-users] Problem with ScopeInfo when used codeCache

2025-04-09 Thread alex...@gmail.com
ponent > "Chromium > Blink > JavaScript > Runtime" and assign it to me. > > Thanks, > - Victor > > On Wed, Apr 9, 2025 at 6:14 AM alex...@gmail.com > wrote: > >> Hey folks, >> >> I have a class with many private functions/properties

[v8-users] Problem with ScopeInfo when used codeCache

2025-04-08 Thread alex...@gmail.com
Hey folks, I have a class with many private functions/properties (77 in the most recent incarnation). When I get a stack trace (say to create an Error object) when I'm inside a function in this class, we end up in ClassScope::ClassScope in scopes.cc: ``` if (scope_info->HasSavedClassVariable(

[v8-users] Re: Problem with ScopeInfo when used codeCache

2025-04-09 Thread alex...@gmail.com
ocal names hash table. But this is just kibitzing. On Wednesday, April 9, 2025 at 12:14:53 AM UTC-4 alex...@gmail.com wrote: > Hey folks, > > I have a class with many private functions/properties (77 in the most > recent incarnation). When I get a stack trace (say to create an Err

Re: [v8-users] Re: Problem with ScopeInfo when used codeCache

2025-04-10 Thread alex...@gmail.com
from the ScopeInfo. Care to file > a bug? > > On Wed, Apr 9, 2025 at 1:32 PM alex...@gmail.com > wrote: > >> FWIW, one "thought" I had on this was that if saved_class_variable_info >> were an Smi if the local names are inlined and a String reference, if no