Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
First cut at storing state per-isolate (issue 11274014)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
ad...@chromium.org  
View profile  
 More options Nov 5 2012, 6:31 am
From: ad...@chromium.org
Date: Mon, 05 Nov 2012 11:31:36 +0000
Local: Mon, Nov 5 2012 6:31 am
Subject: Re: First cut at storing state per-isolate (issue 11274014)
+mstarzinger to comment on usage of per-isolate state. He suggested we need  
to
restructure this to create the WeakMaps in a way that doesn't tie them to a
context, but I'm not clear what the best way to do that will be.

https://codereview.chromium.org/11274014/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mstarzin...@chromium.org  
View profile  
 More options Nov 5 2012, 8:08 am
From: mstarzin...@chromium.org
Date: Mon, 05 Nov 2012 13:08:10 +0000
Local: Mon, Nov 5 2012 8:08 am
Subject: Re: First cut at storing state per-isolate (issue 11274014)
Drive-by-comments: As discussed offline with Andreas, I think we will need a
separate "InternalWeakMap" that builds on the same backing functionality as
WeakMaps but isn't bound to a specific context. Unfortunately I am not yet  
sure
about the specifics of that.

https://codereview.chromium.org/11274014/diff/14001/src/object-observ...
File src/object-observe.js (right):

https://codereview.chromium.org/11274014/diff/14001/src/object-observ...
src/object-observe.js:48: objectObservationState.observerInfoMap =
createInternalWeakMap();
This will make the WeakMap instantiated in this context globally
reachable from the whole isolate. Thereby the first context will be kept
alive indefinitely.

https://codereview.chromium.org/11274014/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ad...@chromium.org  
View profile  
 More options Nov 5 2012, 9:14 am
From: ad...@chromium.org
Date: Mon, 05 Nov 2012 14:14:48 +0000
Local: Mon, Nov 5 2012 9:14 am
Subject: Re: First cut at storing state per-isolate (issue 11274014)
Minimal approach: use ObjectHashTable directly from object-observe.js via a  
few
helper runtime functions. Pretty ugly, in that we're storing non-JS objects  
in
properties of a real JS object, but seems to work.

https://codereview.chromium.org/11274014/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »