Where can I file a bug report. I've created a sample that repros the problem. It might be a useful sample to include in V8 showing how to use cppgc, snapshot and serialize/deserialize objects though may to be cleaned up a little.
On Wednesday, November 27, 2024 at 12:54:08 AM UTC+8 omer...@chromium.org wrote: > CppGC should not be calling a finalizer of an object that is still > reachable. > From your description it's hard to determine whether this is a bug in > CppGC or in your code. > Can you file a bug with all details and a repro? > > Thanks. > > On Mon, Nov 25, 2024 at 2:31 PM 'Ronald Fenner' via v8-dev < > v8-...@googlegroups.com> wrote: > >> I know I'm probably missing something but How to I prevent CppGC from >> calling the finalizer on a Object wrapped in a JS Object. >> >> The object I create through the Cpp Heap is set to one of the JS Object's >> internal fields for reference for normal method callback. >> >> When I go to create the snapshot blob the Cpp Heap calls the finalizer on >> the object however the JS object is still alive as the Internal field >> serializer gets called though the pointer to the cpp object has now been >> destroyed and the value was I was expecting to serialize is reset. >> >> Thanks >> >> >> -- >> -- >> v8-dev mailing list >> v8-...@googlegroups.com >> 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 v8-dev+un...@googlegroups.com. >> To view this discussion visit >> https://groups.google.com/d/msgid/v8-dev/104775f1-ee50-47cf-a5c3-7f0043eb8fe7n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/v8-dev/104775f1-ee50-47cf-a5c3-7f0043eb8fe7n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- -- v8-dev mailing list v8-dev@googlegroups.com 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 v8-dev+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/v8-dev/3c2bdcd5-ce7b-4e93-9aa3-a8602c49d0a7n%40googlegroups.com.