|
GC/DOM integration
|
| |
I had some time today while waiting for all my try runs to turn orange, so I wrote up a wiki article about how we expect new GC features to affect the rest of the browser code. It has details about when write barriers are needed and how things will change for moving GC. Hopefully this will be useful to some of the DOM people.... more »
|
|
Filename and line numbers in JSScript
|
| |
Hi,
JSScript::NewScriptFromEmitter () has this code:
const char *filename = bce->parser->tokenStream.getFi lename();
if (filename) {
script->filename = SaveScriptFilename(cx, filename);
if (!script->filename)
return false;
}
script->lineno = bce->firstLine;... more »
|
|
Update on triage tags
|
| |
We've been using the new triage tags for a few weeks now. So far, we've mostly just been tagging things and getting experience with the new system. Already, a few new needs have popped up. I put a description of the tags at [link] so we can update them as they change. The most important new tags are:... more »
|
|
Native vs Interpreted
|
| |
Hi,
We currently have two kinds of scripts: "native" and "interpreted".
"Native" is fine, but "interpreted" is sounding wrong these days. And
lazy bytecode generation
([link]) is going to
split the "interpreted" scripts into two groups -- those that have... more »
|
|
Debugger API feedback
|
| |
Hi,
I've been playing with the new Debugger API and I'd like to provide some
feedback and ask questions.
The first piece of feedback is that overall, the API is excellent. I
particularly love the idea of the Debugger.DebuggeeWouldRun Exception.
Having a mirror-like API with 1:1 correspondance between a debuggee... more »
|
|
Deleting properties while iterating over them?
|
| |
Hi,
The following code snippet iterates over the properties of an object,
and deletes some of them on the way.
----
o = {a:1, b:2, c:3, d:4, e:5, f:6};
function isEven(x) { return x % 2 == 0; }
print(JSON.stringify(o));
for (let p in o) {
if (isEven(o[p])) {
print(o[p]);... more »
|
|
Inconsistent Interpretation of JSClass.name
|
| |
This looks like a bug but I am not able to confirm it. I describe
what I saw here and let other experts to comment on it:
Currently, after defining JS_C_STRINGS_ARE_UTF8 or calling
JS_SetCStringsAreUTF8 (), strings (char* ) are considered as UTF8
encoded values. The JSClass.name is const char* type, and the way to... more »
|
|
Proposal for new JS bug triage tags
|
| |
Background: JS team bug wrangling currently works like this: I look at all incoming bugs, triage them, record triage notes in a text file, and mark k9o+ or tracking-fxN+ if applicable. Sometimes it's hard to tell how serious a bug is when it comes in, and in that case, if no one else grabs it, I do an initial investigation, and then triage it. I also have a script that merges the triage file with Bugzilla data, producing a report showing important bugs, how urgent they are, and what next steps are needed, and I use that to follow up on bugs and keep them moving. I try to do both triage and followup daily; in practice it's usually every 1-3 days.... more »
|
|
GSoC Proposal - Range Analysis
|
| |
Hello guys,
I am currently a second year MsC Computer Science student at UFMG, the
same university of Rodrigo Sol, who have done Summer of Code project
in TraceMonkey. I am also working with Péricles Alves, who just have
sent a GSoC proposal to IonMonkey. We have been working in IonMonkey
for the last three months writing some optimization passes and... more »
|
|
|