Hi, I have a 2 part (but semi-related question) here.
1) I am looking at being able to generate specific runtime calls during the execution of certain JS functions. This can be thought of as having V8 insert calls (annotating function entry/exit points) with calls to an external system library/call (e.g. Calling "ls"). I see there are ways of doing the opposite: invoking v8 from within C++ code: https://bungeeconnect.wordpress.com/2008/10/09/connecting-c-to-javascript-via-googles-v8/ But I am sort of looking for the opposite. Is something like the following possible: Runtime.getRuntime().exec("ls"); // example invoking runtime from android / Java 2) My end goal here is to have the code-generator generate additional calls (at the prologue/epilogue) to this external function / library) for functions deemed to be "hot" by crankshaft. For this I presume, Would I need to edit the code-generator part (full-codegen.cc) to generate these extra calls inside these functions, or should it be done elsewhere, perhaps in the lithium generator part? I should note that I have been able to compile this external library within v8 as a third party tool, and I verified invoking it within v8 works. Malek -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.