Won't get you very far as V8 now implements heuristic optimization, that's why bailouts are only shown with *--always-opt*; v8 tries to overcome its heuristics and fails — because it was forced to optimize (which was non-sense in this situation)
Am Mittwoch, 1. August 2012 20:37:17 UTC+2 schrieb Sławek Janecki: > > I found that if I use --always_opt with --trace_bailout I will get the > bailout info. > Is this is OK for testing only? > > On Sunday, July 29, 2012 2:09:34 AM UTC+2, Sławek Janecki wrote: >> >> Using Node.js up to version 0.7.6 (v8 3.9.17) when I use --trace-bailout >> flag i have output as expected (bailouts info) >> >> Using Node from version 0.7.7 (v8 3.9.24.7) up to latest release 0.8.4 >> --trace-bailout don't show any info. >> >> I've tried simple scripts with try/catch and 'with' (100% bailouts) >> >> Tracing hydrogen output on both node/v8 (0.7.6 and 0.7.7) versions tells >> that my test function (with try/catch and 'with') is'nt optimized (it's >> bailing-out) but I don't see any info on node >= 0.7.7 >> >> Something changed? In V8 sources bailout flag is in place. >> Do I need to turn other flag on to get bailouts or this is a bug? >> >> Thanks >> > -- -- v8-users mailing list [email protected] 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
