<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com/group/mozilla.dev.tech.js-engine</id>
  <title type="text">mozilla.dev.tech.js-engine Google Group</title>
  <subtitle type="text">
  </subtitle>
  <link href="/group/mozilla.dev.tech.js-engine/feed/atom_v1_0_msgs.xml" rel="self" title="mozilla.dev.tech.js-engine feed"/>
  <updated>2010-01-04T12:42:13Z</updated>
  <generator uri="http://groups.google.com" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Puneet Sharma</name>
  <email>punee...@huawei.com</email>
  </author>
  <updated>2010-01-04T12:42:13Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/900144e5fd46a955/42514445a3553b50?show_docid=42514445a3553b50</id>
  <link href="http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/900144e5fd46a955/42514445a3553b50?show_docid=42514445a3553b50"/>
  <title type="text">RE: JS Out of memory</title>
  <summary type="html" xml:space="preserve">
  Hi David, &lt;br&gt; This problem is consistently reproducible with Spidermonkey version of &lt;br&gt; JS 1.5, JS 1.6 and JS 1.7. The only variable is the loop count. &lt;br&gt; Platforms : Windows and Suse10Sp2 &lt;br&gt; Same is reproducible with only JS_CompileScript API also. &lt;br&gt; JS 1.8Rc1 does not seems to have this problem, but I am not able to
  </summary>
  </entry>
  <entry>
  <author>
  <name>sandeep</name>
  <email>sandeep.d...@gmail.com</email>
  </author>
  <updated>2010-01-04T07:12:56Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/7254aa0ad0dfb9eb/9a7e21550f6b0237?show_docid=9a7e21550f6b0237</id>
  <link href="http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/7254aa0ad0dfb9eb/9a7e21550f6b0237?show_docid=9a7e21550f6b0237"/>
  <title type="text">Re: out of memory error from spidermonkey 1.7 ( not seen on 1.5 )</title>
  <summary type="html" xml:space="preserve">
  Its implementation is simply this: &lt;br&gt; extern &amp;quot;C&amp;quot; &lt;br&gt; static JSBool &lt;br&gt; myExposedMethod (JSContext *cx, JSObject *obj, uintN argc, jsval &lt;br&gt; *argv, jsval *rval) &lt;br&gt; { &lt;br&gt; return JS_TRUE;
  </summary>
  </entry>
  <entry>
  <author>
  <name>John J. Barton</name>
  <email>johnjbar...@johnjbarton.com</email>
  </author>
  <updated>2010-01-02T18:17:31Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/ad2a49883036e204/3746eed98ff40c53?show_docid=3746eed98ff40c53</id>
  <link href="http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/ad2a49883036e204/3746eed98ff40c53?show_docid=3746eed98ff40c53"/>
  <title type="text">Re: Finding function calls in javascript source.</title>
  <summary type="html" xml:space="preserve">
  Unfortunately after reading more on this I think this may be the only &lt;br&gt; path. Given &lt;br&gt; Expression(arguments); &lt;br&gt; then Expression could result in a computed intermediate value. We can&#39;t &lt;br&gt; compute it again in the debugger since the computation could have side &lt;br&gt; effects. We can&#39;t access it in the debugger because we don&#39;t have access
  </summary>
  </entry>
  <entry>
  <author>
  <name>Donny Viszneki</name>
  <email>donny.viszn...@gmail.com</email>
  </author>
  <updated>2010-01-02T06:01:36Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/ad2a49883036e204/cc055be6e75c1a5b?show_docid=cc055be6e75c1a5b</id>
  <link href="http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/ad2a49883036e204/cc055be6e75c1a5b?show_docid=cc055be6e75c1a5b"/>
  <title type="text">Re: Finding function calls in javascript source.</title>
  <summary type="html" xml:space="preserve">
  On Fri, Jan 1, 2010 at 11:46 PM, John J. Barton &lt;br&gt; Sorry for being confusing. That&#39;s no special feature of the &lt;br&gt; command-line interface to the Spidermonkey interpreter: &lt;br&gt; js&amp;gt; try { ({}).x() } catch (e) { print(typeof e.message, e.message) } &lt;br&gt; string ({}).x is not a function &lt;br&gt; That should work as-is in Firefox.
  </summary>
  </entry>
  <entry>
  <author>
  <name>John J. Barton</name>
  <email>johnjbar...@johnjbarton.com</email>
  </author>
  <updated>2010-01-02T04:46:47Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/ad2a49883036e204/e4d59d582ea131be?show_docid=e4d59d582ea131be</id>
  <link href="http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/ad2a49883036e204/e4d59d582ea131be?show_docid=e4d59d582ea131be"/>
  <title type="text">Re: Finding function calls in javascript source.</title>
  <summary type="html" xml:space="preserve">
  I failed to also tell you I need this to be pure Javascript. So I don&#39;t &lt;br&gt; know what to do with the observation above. &lt;br&gt; Sorry, the example was copied from a test case for Named Function &lt;br&gt; Expressions, hence the _NFE. But the names are arbitrary in any case. &lt;br&gt; jjb
  </summary>
  </entry>
  <entry>
  <author>
  <name>Donny Viszneki</name>
  <email>donny.viszn...@gmail.com</email>
  </author>
  <updated>2010-01-01T16:07:46Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/ad2a49883036e204/a67b2932dc77e86e?show_docid=a67b2932dc77e86e</id>
  <link href="http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/ad2a49883036e204/a67b2932dc77e86e?show_docid=a67b2932dc77e86e"/>
  <title type="text">Re: Finding function calls in javascript source.</title>
  <summary type="html" xml:space="preserve">
  On Thu, Dec 31, 2009 at 4:53 PM, John J. Barton &lt;br&gt; Assuming I understand you correctly, there is already some support for &lt;br&gt; this sort of thing: &lt;br&gt; js&amp;gt; var foo = {} &lt;br&gt; js&amp;gt; function bar() { return foo } &lt;br&gt; js&amp;gt; function baz() { bar().x() } &lt;br&gt; js&amp;gt; baz() &lt;br&gt; typein:4: TypeError: bar().x is not a function &lt;br&gt; As you can see, the interpreter reports the error beautifully, giving
  </summary>
  </entry>
  <entry>
  <author>
  <name>John J. Barton</name>
  <email>johnjbar...@johnjbarton.com</email>
  </author>
  <updated>2009-12-31T21:53:16Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/ad2a49883036e204/736f78fa3ed3f345?show_docid=736f78fa3ed3f345</id>
  <link href="http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/ad2a49883036e204/736f78fa3ed3f345?show_docid=736f78fa3ed3f345"/>
  <title type="text">Finding function calls in javascript source.</title>
  <summary type="html" xml:space="preserve">
  I want to add a &amp;quot;dynamic call stack&amp;quot; feature to Firebug. Of course &lt;br&gt; &amp;quot;dynamic&amp;quot; and &amp;quot;call stack&amp;quot; are redundant, but Firebug&#39;s current call &lt;br&gt; stack representation is &amp;quot;lexical&amp;quot; and most developers expect it to be &lt;br&gt; lexical. &lt;br&gt; To implement a dynamic call stack I need the expression that selected &lt;br&gt; the function called. For example consider:
  </summary>
  </entry>
  <entry>
  <author>
  <name>Puneet Sharma</name>
  <email>punee...@huawei.com</email>
  </author>
  <updated>2009-12-31T08:13:14Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/900144e5fd46a955/cada99a846e99ab1?show_docid=cada99a846e99ab1</id>
  <link href="http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/900144e5fd46a955/cada99a846e99ab1?show_docid=cada99a846e99ab1"/>
  <title type="text">RE: JS Out of memory</title>
  <summary type="html" xml:space="preserve">
  Hi, &lt;br&gt; I would like to correct your testcase for required checks and have &lt;br&gt; corrected my mistake as well. &lt;br&gt; Void TestJSEngineEcmaErrorReporter &lt;br&gt; ( &lt;br&gt; JSContext * hdlCtx, &lt;br&gt; Const char * pszMessage, &lt;br&gt; JSErrorReport *pstReport &lt;br&gt; ) &lt;br&gt; { &lt;br&gt; Printf(&amp;quot;\r\n Error reported : %s&amp;quot;,pszMessage); &lt;br&gt; int main() &lt;br&gt; { &lt;br&gt; // puneet : it was typo const char *src = &amp;quot;function isnull{}()&amp;quot;;
  </summary>
  </entry>
  <entry>
  <author>
  <name>David Mandelin</name>
  <email>dmande...@mozilla.com</email>
  </author>
  <updated>2009-12-30T20:02:35Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/900144e5fd46a955/c4ffee2318139284?show_docid=c4ffee2318139284</id>
  <link href="http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/900144e5fd46a955/c4ffee2318139284?show_docid=c4ffee2318139284"/>
  <title type="text">Re: JS Out of memory</title>
  <summary type="html" xml:space="preserve">
  I tried JS 1.5 with this source code on a MacBook Pro: &lt;br&gt; ------------------------------ ------------------------------ ----- &lt;br&gt; int main() &lt;br&gt; { &lt;br&gt; const char *src = &amp;quot;function isnull{}()&amp;quot;; &lt;br&gt; int length = strlen(src); &lt;br&gt; JSRuntime *rt = JS_NewRuntime(16 &amp;lt;&amp;lt; 10); &lt;br&gt; JSContext *cx = JS_NewContext(rt, 4 &amp;lt;&amp;lt; 10); &lt;br&gt; JSObject *obj = JS_NewObject(cx, NULL, NULL, NULL);
  </summary>
  </entry>
  <entry>
  <author>
  <name>David Mandelin</name>
  <email>dmande...@mozilla.com</email>
  </author>
  <updated>2009-12-30T20:02:35Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/900144e5fd46a955/bd7c18f92f1d37a9?show_docid=bd7c18f92f1d37a9</id>
  <link href="http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/900144e5fd46a955/bd7c18f92f1d37a9?show_docid=bd7c18f92f1d37a9"/>
  <title type="text">Re: JS Out of memory</title>
  <summary type="html" xml:space="preserve">
  I tried JS 1.5 with this source code on a MacBook Pro: &lt;br&gt; ------------------------------ ------------------------------ ----- &lt;br&gt; int main() &lt;br&gt; { &lt;br&gt; const char *src = &amp;quot;function isnull{}()&amp;quot;; &lt;br&gt; int length = strlen(src); &lt;br&gt; JSRuntime *rt = JS_NewRuntime(16 &amp;lt;&amp;lt; 10); &lt;br&gt; JSContext *cx = JS_NewContext(rt, 4 &amp;lt;&amp;lt; 10); &lt;br&gt; JSObject *obj = JS_NewObject(cx, NULL, NULL, NULL);
  </summary>
  </entry>
  <entry>
  <author>
  <name>Puneet Sharma</name>
  <email>punee...@huawei.com</email>
  </author>
  <updated>2009-12-29T06:39:25Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/900144e5fd46a955/a76b7f2e29d8bc69?show_docid=a76b7f2e29d8bc69</id>
  <link href="http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/900144e5fd46a955/a76b7f2e29d8bc69?show_docid=a76b7f2e29d8bc69"/>
  <title type="text">RE: JS Out of memory</title>
  <summary type="html" xml:space="preserve">
  Hi, &lt;br&gt; I have reproduced, with much better scenario. &lt;br&gt; &lt;p&gt;Configuration details: &lt;br&gt; 1. JS context size : 4K (this problem is independent of context size) &lt;br&gt; 2. Run time size : 16K (more the runtime size more time it takes to &lt;br&gt; reproduce) &lt;br&gt; 3. JS version : 1.5 &lt;br&gt; 4: JS Script: &lt;br&gt; function isnull{}() &lt;br&gt; 5. C evaluation:
  </summary>
  </entry>
  <entry>
  <author>
  <name>David Mandelin</name>
  <email>dmande...@mozilla.com</email>
  </author>
  <updated>2009-12-28T19:12:23Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/900144e5fd46a955/8addd42ea92b9fb1?show_docid=8addd42ea92b9fb1</id>
  <link href="http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/900144e5fd46a955/8addd42ea92b9fb1?show_docid=8addd42ea92b9fb1"/>
  <title type="text">Re: JS Out of memory</title>
  <summary type="html" xml:space="preserve">
  I don&#39;t know exactly what&#39;s going on but I have a few ideas that *might* &lt;br&gt; help to get more information. &lt;br&gt; What happens if you vary these parameters? Say 2, 32, and 128MB for the &lt;br&gt; run time size, and similar variations for the context stack size? &lt;br&gt; Exactly what does that mean? 100 threads in parallel? 100 contexts on
  </summary>
  </entry>
  <entry>
  <author>
  <name>Puneet Sharma</name>
  <email>punee...@huawei.com</email>
  </author>
  <updated>2009-12-28T18:15:58Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/7254aa0ad0dfb9eb/54f28b05a92834d5?show_docid=54f28b05a92834d5</id>
  <link href="http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/7254aa0ad0dfb9eb/54f28b05a92834d5?show_docid=54f28b05a92834d5"/>
  <title type="text">RE: out of memory error from spidermonkey 1.7 ( not seen on 1.5 )</title>
  <summary type="html" xml:space="preserve">
  Hi, &lt;br&gt; I am also facing JS OUT OF Memory issue in JS 1.5 and JS 1.8 both on usage &lt;br&gt; of JS functions. Can you share myExposedMethod implementation? &lt;br&gt; Similarity in our script regarding usage of functions, can help to know &lt;br&gt; cause of problem. Thanks. &lt;br&gt; Regards &lt;br&gt; Puneet &lt;br&gt; -----Original Message----- &lt;br&gt; From: &lt;br&gt; dev-tech-js-engine-bounces+eng g.puneetsharma=gmail....@lists .mozilla.org
  </summary>
  </entry>
  <entry>
  <author>
  <name>Puneet Sharma</name>
  <email>punee...@huawei.com</email>
  </author>
  <updated>2009-12-26T06:31:24Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/900144e5fd46a955/7581772efa2fbb19?show_docid=7581772efa2fbb19</id>
  <link href="http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/900144e5fd46a955/7581772efa2fbb19?show_docid=7581772efa2fbb19"/>
  <title type="text">JS Out of memory</title>
  <summary type="html" xml:space="preserve">
  Hi, &lt;br&gt; &lt;p&gt; I am getting JS OUT OF MEMORY error from the spider monkey. In my test, &lt;br&gt; I am using run time size of 8 MB and JS context stack size as 8k. &lt;br&gt; In my stress testing of my browser, where I run parallel sessions about &lt;br&gt; 100 with help automated scripts, I found that after 20 mins, it start &lt;br&gt; reporting out of memory and CPU usage reaches to 100%. Here, increase in CPU
  </summary>
  </entry>
  <entry>
  <author>
  <email>adrian.a...@hotmail.com</email>
  </author>
  <updated>2009-12-23T20:01:53Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/900144e5fd46a955/f9752a57f1506c3b?show_docid=f9752a57f1506c3b</id>
  <link href="http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/900144e5fd46a955/f9752a57f1506c3b?show_docid=f9752a57f1506c3b"/>
  <title type="text">Respuesta automática</title>
  <summary type="html" xml:space="preserve">
  Dear friend,I would like to introduce a really good company that mainly do the electornic products trade.Now the company is doing promotion,all of it&#39;s products are sold nearly as same as their cost.It redeners the best service to customers,it provide you original products which isgood quality,and what&#39;s more,the pricewill give you a big surprise!It is realy a good opportunity for doing shopping.Just grasp the opportunity,or there will be no more than that!The web address: (www.) kanicn.com
  </summary>
  </entry>
</feed>
