Hi v8-dev,

I was debugging something that was causing me to place extra GCs and saw 
that it was causing a ton of spurious turbofan recompilation of functions 
and deopts referencing weak objects. After digging a bit it looks like v8 
only keeps a weak reference to optimized code in 
https://github.com/v8/v8/blame/main/src/objects/feedback-vector.cc#L368

It looks like it's done this from the beginning per 
https://github.com/v8/v8/commit/11a211ff1b81e8d83d1aa4898743c2efb89603bd#diff-cbddb8a6da7810e9fc3647c9cf4f511410c43d11da9f62873bc33dece03a31f5R305

I'm writing a CLI using node and I'm willing to trade memory for speed. Is 
this a contribution that makes sense behind an experimental flag?

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-dev/5136347a-c0f6-4bf1-b8dc-9ee596755441n%40googlegroups.com.

Reply via email to