[v8-dev] Design doc: Minor GC for ExternalPointerTable

2023-12-21 Thread Andy Wingo
Hello all, Please find below a link to a short design doc for adding a young generation to ExternalPointerTable. This work is intended to fix https://bugs.chromium.org/p/v8/issues/detail?id=13640#c31. https://docs.google.com/document/d/1Pvr4RbG_ZiaYZ-VkE22bSyCOiOntpbSBNJIhv45JTKk/edit

Re: [v8-dev] Re: 'use strict' in function bodies forbid 'yield' in param initializers (issue 1318253002 by wi...@igalia.com)

2015-08-28 Thread Andy Wingo
On Fri 28 Aug 2015 13:32, Caitlin Potter caitpotte...@gmail.com writes: The main reason was about backtracking token streams in the parser being the only viable strategy (this came up briefly in the last meeting). It’s covered in the notes at

[v8-dev] Overhead of AST visit

2014-10-10 Thread Andy Wingo
an email to v8-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. commit 14b8e45dae3528cfe9ce9c36d4a761aba62507fa Author: Andy Wingo wi...@igalia.com Date: Fri Oct 10 12:49:02 2014 +0200 tmp diff --git a/src/parser.cc b/src/parser.cc index a972a62

Re: [v8-dev] Possibly unsafe fork()

2014-08-21 Thread Andy Wingo
Hi! Good catch :) On Wed 20 Aug 2014 22:44, mick...@sagacify.com writes: I have a question about the fork() system call at /src/d8-posix.cc:481: - If fork() returns with an error code -1, wouldn't the kill() system call a few lines below at /src/d8-posix.cc:502 kill every process the user

[v8-dev] Test failure in master: EstimateMarkingStepSizeTest

2014-08-20 Thread Andy Wingo
Hi, I have updated my dependencies and am still seeing this error on master. $ /hack/v8/out/x64.release/heap-unittests --random-seed=-410980534 --nocrankshaft --gtest_filter=EstimateMarkingStepSizeTest.EstimateMarkingStepSizeOverflow1 --gtest_random_seed=-410980534 --gtest_print_time=0

[v8-dev] Test failure

2014-08-20 Thread Andy Wingo
Hi, The following test times out for me, since a couple weeks ago: $ /hack/v8/out/x64.release/d8 --test=-1910994869 --turbo-filter=* --always-opt --allow-natives-syntax --nohard-abort --nodead-code-elimination --nofold-constants /hack/v8/test/intl/assert.js /hack/v8/test/intl/utils.js

[v8-dev] Intl failures

2014-07-23 Thread Andy Wingo
Hi, I am seeing some failures in the intl tests. I have done a fresh clone and make dependencies. One of the failing tests is intl/number-format/parse-percent.js. It starts off like this: var nf = new Intl.NumberFormat(['en'], {style: 'percent'}); assertEquals(1.2343,

Re: [v8-dev] Constant pool / Code object

2014-05-07 Thread Andy Wingo
On Tue 06 May 2014 23:24, Hendrik Greving hendrik.greving@gmail.com writes: If I have a code object (or HandleCode), can I determine easily if a given pc in the code is part of a constant pool? Sorta. See

Re: [v8-dev] [v8] r20914 committed - Clean up some uses of Failures and MaybeObjects....

2014-04-23 Thread Andy Wingo
On Wed 23 Apr 2014 17:08, codesite-nore...@google.com via v8-dev v8-dev@googlegroups.com writes: Revision: 20914 Author: yang...@chromium.org Date: Wed Apr 23 15:08:03 2014 UTC Log: Clean up some uses of Failures and MaybeObjects. R=mstarzin...@chromium.org What's the logic

[v8-dev] Subversion snafu

2013-05-14 Thread Andy Wingo
Hi, Very embarrassingly I just did a git svn dcommit instead of git cl dcommit, and hit Ctrl-C halfway through. Thus bleeding_edge got two out of three commits of a CL. First of all, apologies for my mistake :/ Secondly, how do I revert to r14665? Andy -- -- v8-dev mailing list

Re: [v8-dev] Subversion snafu

2013-05-14 Thread Andy Wingo
On Tue 14 May 2013 18:06, Andy Wingo wi...@igalia.com writes: Secondly, how do I revert to r14665? r14668 contains the revert of r14667 and r14666 (verily, the number of the beast). I'll re-land the CL shortly. Sorry for the noise! Andy -- -- v8-dev mailing list v8-dev@googlegroups.com

[v8-dev] V8 distributed tests

2013-03-15 Thread Andy Wingo
Hi Jakob, I'm trying to get test-server.py running. It sounds like it could be quite useful for debug-mode tests. On my 192.168.0.0/24 network I have another host running a test server (tools/test-server.py start, after doing the setup), and I copied imported the remote server's .pem file into

Re: [v8-dev] V8 distributed tests

2013-03-15 Thread Andy Wingo
On Fri 15 Mar 2013 14:27, Andy Wingo wi...@igalia.com writes: How do I get my local machine to be aware of remote peers? For the record, it turns out you have to tools/test-server.py approve other-rsa.pem on both machines. Makes sense and works fine now. Thanks! Andy -- http://wingolog.org

[v8-dev] ES6 generators

2013-02-27 Thread Andy Wingo
Hi all, I would like to implement support for ES6 generators in V8, and I wanted to send an early mail to get some feedback. Firstly, I would be happy if eventually generators could land upstream. I don't know what the team's plans are in this regard -- is this a feature you would want in V8?

Re: [v8-dev] [v8] r10000 committed - Elide superfluous write barriers....

2011-11-15 Thread Andy Wingo
On Tue, 2011-11-15 at 15:03 +0100, Yang Guo wrote: Congrats to the 10k-th commit! Yeah, rock on! -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev

[v8-dev] Re: Fix GC unsafe place in JSProxy::DeletePropertyWithHandler. (issue7670023)

2011-08-17 Thread Andy Wingo
Hi Vyacheslav, On Wed, 2011-08-17 at 12:04 +0200, Vyacheslav Egorov wrote: Execution::Call(...) can trigger (moving) GC - 'this' variable might be invalid after it. Ah, this was the piece that I was missing. Thanks. I think that my mental model had too many fairies in it, busily patching up

Re: [v8-dev] Re: tighten invariants of HValue::InferRange (issue7514040)

2011-08-16 Thread Andy Wingo
On Wed, 2011-08-10 at 15:25 +0200, Florian Schneider wrote: There were two independent bugs exposed through the additional (correct) checks for minus zero. One on ARM and one on ia32/x64. r8878 includes the original fix and should fix all these as well. Thanks for following up on this,

Re: [v8-dev] Re: tighten invariants of HValue::InferRange (issue7514040)

2011-08-01 Thread Andy Wingo
Hi Florian, On Fri, 2011-07-29 at 10:52 +0200, Florian Schneider wrote: Den 28. jul. 2011 16.12 skrev Andy Wingo wi...@igalia.com: On Thu, 2011-07-28 at 13:52 +0200, Florian Schneider wrote: I didn't expect that, but it seems the additional allocation

Re: [v8-dev] Re: tighten invariants of HValue::InferRange (issue7514040)

2011-08-01 Thread Andy Wingo
Hi, On Mon, 2011-08-01 at 11:40 +0200, Andy Wingo wrote: I will add instrumentation to count -0 checks. I added counters at sites that did SetFlag(kBailoutOnMinusZero). I then ran each test in sunspider 100 times -- but via `load' instead of looping, so perhaps it was not a good crankshaft

Re: [v8-dev] Re: tighten invariants of HValue::InferRange (issue7514040)

2011-08-01 Thread Andy Wingo
On Mon, 2011-08-01 at 12:21 +0200, Andy Wingo wrote: The numbers do fluctuate a bit; the only real constant here is that with my patch we get minus zero bailouts being set for some unary math ops. I'm going to see if I can whittle this down to one test in particular. Got one

Re: [v8-dev] Re: tighten invariants of HValue::InferRange (issue7514040)

2011-07-28 Thread Andy Wingo
On Thu, 2011-07-28 at 13:52 +0200, Florian Schneider wrote: After this change I observed a spike in compilation time for certain large functions. I didn't expect that, but it seems the additional allocation of Range objects hurts performance considerably. I think it makes sense to

Re: [v8-dev] objdump of translated JS programs

2011-07-11 Thread Andy Wingo
On Wed, 2011-07-06 at 10:09 -0700, Albert wrote: I'm studying hardware performance of JS programs. I tried with --print- code switch with shell sample but the problem is I only got assembly code. What I would like to have is something like objdump result of C/C ++ program. Is there a way of

Re: [v8-dev] objdump of translated JS programs

2011-07-11 Thread Andy Wingo
On Mon, 2011-07-11 at 17:31 +0400, Mikhail Naganov wrote: Try running your JS scripts under Linux perf profiler (it uses hw counters), and process results using ll_prof.py script: http://code.google.com/p/v8/source/browse/branches/bleeding_edge/tools/ll_prof.py Hey thanks, that's very cool!

Re: [v8-dev] Re: Constant-fold !number (issue7044100)

2011-06-14 Thread Andy Wingo
On Fri, 2011-06-10 at 11:52 -0700, Stephen Adams wrote: Is there a document that would tell me what hydrogen and lithium are? These are the internal representations used by the Crankshaft compiler. I believe that their names are puns on high-level and low-level; this idea occurred to me when