i have reported a bug at https://issues.chromium.org/issues/441679229

Michael Lippautz <[email protected]> 于2025年8月29日周五 16:26写道:

> Can you file a bug on crbug.com for Blink>JavaScript>GarbageCollection
> with a repro and hints to the missing hooks?
>
> This is probably a historic artifact of only using EPT in sandbox
> configurations. In order to avoid maintenance cost we have since made quite
> a few sandbox concepts also the default on non-sandbox builds. We should
> fix this.
>
> -Michael
>
> On Thu, Aug 28, 2025 at 5:42 PM xinwei tang <[email protected]> wrote:
>
>> I found that when compiling V8 with Pointer Compression enabled but
>> Sandbox disabled, the ExternalPointerTable only increases without
>> decreasing, causing a memory leak. After a detailed investigation, I
>> discovered that the garbage collection-related calls for the
>> ExternalPointerTable are shielded by Sandbox-related macros. After enabling
>> Sandbox, the leak is resolved, but the garbage collection of the
>> ExternalPointerTable introduces approximately 100MB of peak memory usage
>> and around 50MB of normal memory usage, which completely offsets the memory
>> reduction brought by Pointer Compression. Is there a way to reduce the
>> garbage collection overhead of the ExternalPointerTable or resolve the
>> memory leak issue without enabling Sandbox?
>>
>> --
>> --
>> 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 visit
>> https://groups.google.com/d/msgid/v8-dev/0aa213b4-38a6-459f-8302-563d69645374n%40googlegroups.com
>> <https://groups.google.com/d/msgid/v8-dev/0aa213b4-38a6-459f-8302-563d69645374n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> --
> 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 visit
> https://groups.google.com/d/msgid/v8-dev/CAH%2BmL5AqH9-_d1to5u9SrY89Z%2BczMXqt_8CKcXSr3RawUFT3xQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/v8-dev/CAH%2BmL5AqH9-_d1to5u9SrY89Z%2BczMXqt_8CKcXSr3RawUFT3xQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
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 visit 
https://groups.google.com/d/msgid/v8-dev/CANcKyFgvi6WdDg-J2xSSynzrLttzmvtxngiR5bzXE%3DuPjXdT4Q%40mail.gmail.com.

Reply via email to