<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/node.git/src/timer_wrap.cc, branch move-debugger-tests</title>
<subtitle>github.com: joyent/node.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/'/>
<entry>
<title>src: fix Context::Scope usage</title>
<updated>2013-11-12T21:06:48+00:00</updated>
<author>
<name>Ben Noordhuis</name>
<email>info@bnoordhuis.nl</email>
</author>
<published>2013-11-11T09:53:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=27f115d715478b9a800927498ba606d4a62f927c'/>
<id>27f115d715478b9a800927498ba606d4a62f927c</id>
<content type='text'>
env-&gt;context() may or may not create a new Local.  It currently does
not but don't depend on that behavior, create a HandleScope first.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
env-&gt;context() may or may not create a new Local.  It currently does
not but don't depend on that behavior, create a HandleScope first.
</pre>
</div>
</content>
</entry>
<entry>
<title>src: fix Environment::GetCurrent() usage</title>
<updated>2013-11-11T09:40:28+00:00</updated>
<author>
<name>Ben Noordhuis</name>
<email>info@bnoordhuis.nl</email>
</author>
<published>2013-11-11T21:02:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=09724b311ee44e6c7998c7a5cb39e739609eba66'/>
<id>09724b311ee44e6c7998c7a5cb39e739609eba66</id>
<content type='text'>
Create a HandleScope before calling the Environment::GetCurrent() that
takes a v8::Isolate* as an argument because it creates a handle with
the call to v8::Isolate::CurrentContext().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Create a HandleScope before calling the Environment::GetCurrent() that
takes a v8::Isolate* as an argument because it creates a handle with
the call to v8::Isolate::CurrentContext().
</pre>
</div>
</content>
</entry>
<entry>
<title>node: add AsyncListener support</title>
<updated>2013-10-31T21:17:51+00:00</updated>
<author>
<name>Trevor Norris</name>
<email>trev.norris@gmail.com</email>
</author>
<published>2013-09-24T21:12:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=efa62fd9cc817434206d9fd8592b7bbeaa240e9c'/>
<id>efa62fd9cc817434206d9fd8592b7bbeaa240e9c</id>
<content type='text'>
AsyncListener is a JS API that works in tandem with the AsyncWrap class
to allow the user to be alerted to key events in the life cycle of an
asynchronous event. The AsyncWrap class has its own MakeCallback
implementation that core will be migrated to use, and uses state sharing
techniques to allow quicker communication between JS and C++ whether the
async event callbacks need to be called.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
AsyncListener is a JS API that works in tandem with the AsyncWrap class
to allow the user to be alerted to key events in the life cycle of an
asynchronous event. The AsyncWrap class has its own MakeCallback
implementation that core will be migrated to use, and uses state sharing
techniques to allow quicker communication between JS and C++ whether the
async event callbacks need to be called.
</pre>
</div>
</content>
</entry>
<entry>
<title>src: shorten Object{Wrap,Unwrap}</title>
<updated>2013-10-29T22:09:44+00:00</updated>
<author>
<name>Trevor Norris</name>
<email>trev.norris@gmail.com</email>
</author>
<published>2013-10-29T20:23:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=613d76ef6a00ec091367de1e63bc51e3ab672cbd'/>
<id>613d76ef6a00ec091367de1e63bc51e3ab672cbd</id>
<content type='text'>
Going back to the original names of Wrap/Unwrap now that most all the
class members that duplicate the name and functionality have been
removed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Going back to the original names of Wrap/Unwrap now that most all the
class members that duplicate the name and functionality have been
removed.
</pre>
</div>
</content>
</entry>
<entry>
<title>src: use function to get internal pointer</title>
<updated>2013-10-29T22:09:44+00:00</updated>
<author>
<name>Trevor Norris</name>
<email>trev.norris@gmail.com</email>
</author>
<published>2013-10-29T19:27:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=93f75a86bf6c87aa897312740aab61282b0eff1d'/>
<id>93f75a86bf6c87aa897312740aab61282b0eff1d</id>
<content type='text'>
Remove the NODE_{WRAP,UNWRAP} macros and instead use template functions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the NODE_{WRAP,UNWRAP} macros and instead use template functions.
</pre>
</div>
</content>
</entry>
<entry>
<title>src: add multi-context support</title>
<updated>2013-09-06T03:51:42+00:00</updated>
<author>
<name>Ben Noordhuis</name>
<email>info@bnoordhuis.nl</email>
</author>
<published>2013-08-10T22:26:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=756b6222956b5d25b2e7db81f4e79033a3a4d20e'/>
<id>756b6222956b5d25b2e7db81f4e79033a3a4d20e</id>
<content type='text'>
This commit makes it possible to use multiple V8 execution contexts
within a single event loop.  Put another way, handle and request wrap
objects now "remember" the context they belong to and switch back to
that context when the time comes to call into JS land.

This could have been done in a quick and hacky way by calling
v8::Object::GetCreationContext() on the wrap object right before
making a callback but that leaves a fairly wide margin for bugs.

Instead, we make the context explicit through a new Environment class
that encapsulates everything (or almost everything) that belongs to
the context.  Variables that used to be a static or a global are now
members of the aforementioned class.  An additional benefit is that
this approach should make it relatively straightforward to add full
isolate support in due course.

There is no JavaScript API yet but that will be added in the near
future.

This work was graciously sponsored by GitHub, Inc.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit makes it possible to use multiple V8 execution contexts
within a single event loop.  Put another way, handle and request wrap
objects now "remember" the context they belong to and switch back to
that context when the time comes to call into JS land.

This could have been done in a quick and hacky way by calling
v8::Object::GetCreationContext() on the wrap object right before
making a callback but that leaves a fairly wide margin for bugs.

Instead, we make the context explicit through a new Environment class
that encapsulates everything (or almost everything) that belongs to
the context.  Variables that used to be a static or a global are now
members of the aforementioned class.  An additional benefit is that
this approach should make it relatively straightforward to add full
isolate support in due course.

There is no JavaScript API yet but that will be added in the near
future.

This work was graciously sponsored by GitHub, Inc.
</pre>
</div>
</content>
</entry>
<entry>
<title>timer_wrap: Timer.now always update loop time</title>
<updated>2013-08-28T18:29:33+00:00</updated>
<author>
<name>Timothy J Fontaine</name>
<email>tjfontaine@gmail.com</email>
</author>
<published>2013-08-28T18:29:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=93b062468b2078de1b34e064a05fbeb1b4bd680a'/>
<id>93b062468b2078de1b34e064a05fbeb1b4bd680a</id>
<content type='text'>
In `Timer.now` always update the loop time by calling uv_update_time.
Previously we were trying to cache the loop time to prevent extra
syscalls. While a noble goal, it can cause timers to fire early in
certain circumstances. Especially seen in cpu bound work loads or work
loads with synchronous file operations.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In `Timer.now` always update the loop time by calling uv_update_time.
Previously we were trying to cache the loop time to prevent extra
syscalls. While a noble goal, it can cause timers to fire early in
certain circumstances. Especially seen in cpu bound work loads or work
loads with synchronous file operations.
</pre>
</div>
</content>
</entry>
<entry>
<title>src: fix up unused/unordered imports</title>
<updated>2013-08-26T22:13:50+00:00</updated>
<author>
<name>Ben Noordhuis</name>
<email>info@bnoordhuis.nl</email>
</author>
<published>2013-08-26T22:13:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=9fc006618fffdc377064531eb1e6793b6e8a4c0b'/>
<id>9fc006618fffdc377064531eb1e6793b6e8a4c0b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>timers: dispatch ontimeout callback by array index</title>
<updated>2013-08-15T17:33:34+00:00</updated>
<author>
<name>Ben Noordhuis</name>
<email>info@bnoordhuis.nl</email>
</author>
<published>2013-08-15T17:23:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=0aa13357d67be84ea9021be43497dca7c91cabee'/>
<id>0aa13357d67be84ea9021be43497dca7c91cabee</id>
<content type='text'>
Achieve a minor speed-up by looking up the timeout callback on the timer
object by using an array index rather than a named property.

Gives a performance boost of about 1% on the misc/timers benchmarks.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Achieve a minor speed-up by looking up the timeout callback on the timer
object by using an array index rather than a named property.

Gives a performance boost of about 1% on the misc/timers benchmarks.
</pre>
</div>
</content>
</entry>
<entry>
<title>src: fix build break from generic macro name</title>
<updated>2013-08-12T19:54:49+00:00</updated>
<author>
<name>Trevor Norris</name>
<email>trev.norris@gmail.com</email>
</author>
<published>2013-08-12T19:54:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=35f789b02795ed8dd177b65f80b53f408dc7fe09'/>
<id>35f789b02795ed8dd177b65f80b53f408dc7fe09</id>
<content type='text'>
WRAP is too generic a macro name and causes the build to fail from
conflicts. They have been prepended with NODE_.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
WRAP is too generic a macro name and causes the build to fail from
conflicts. They have been prepended with NODE_.
</pre>
</div>
</content>
</entry>
</feed>
