Does v8_enable_fast_mksnapshot affect the output?

9 views
Skip to first unread message

Erik Corry

unread,
Oct 10, 2024, 8:38:52 AM10/10/24
to v8-...@googlegroups.com
Hi

Does v8_enable_fast_mksnapshot change the snapshot that is generated.

I ask because it sets "--no-turbo-verify-allocation" and "--no-turbo-rewrite-far-jumps".  They sound like they change the generated code in the snapshot.

It also sets "--no-enable-slow-asserts", which I don't think changes the generated code.

-- 
Erik Corry

Jakob Gruber

unread,
Oct 10, 2024, 9:16:10 AM10/10/24
to v8-...@googlegroups.com
On Thu, Oct 10, 2024 at 2:38 PM Erik Corry <erik...@chromium.org> wrote:
Hi

Does v8_enable_fast_mksnapshot change the snapshot that is generated. 

I ask because it sets "--no-turbo-verify-allocation" and "--no-turbo-rewrite-far-jumps".  They sound like they change the generated code in the snapshot.

Yes. 

It also sets "--no-enable-slow-asserts", which I don't think changes the generated code.

This also has significant effect on generated code, see for example the CSA_DCHECK macro. You also may want to look at --serialization-statistics output and out/foo/gen/embedded.S.


-- 
Erik Corry

--
--
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 on the web visit https://groups.google.com/d/msgid/v8-dev/CAHZxHpiqtJRawG4R_W1tXHxzjsSWs4mjEOh-vVrMjobvtrT2_Q%40mail.gmail.com.

Jakob Gruber

Software Engineer

jgr...@google.com

Google Germany GmbH

Erika-Mann-Straße 33

80636 München


Geschäftsführer: Paul Manicle, Halimah DeLaine Prado

Registergericht und -nummer: Hamburg, HRB 86891

Sitz der Gesellschaft: Hamburg


Diese E-Mail ist vertraulich. Falls sie diese fälschlicherweise erhalten haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen, dass die E-Mail an die falsche Person gesendet wurde.

    

This e-mail is confidential. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it has gone to the wrong person.
Reply all
Reply to author
Forward
0 new messages