[macruby-changes] [3325] MacRuby/trunk/HACKING.rdoc

source_changes at macosforge.org source_changes at macosforge.org
Fri Jan 22 18:58:12 PST 2010


Revision: 3325
          http://trac.macosforge.org/projects/ruby/changeset/3325
Author:   lsansonetti at apple.com
Date:     2010-01-22 18:58:12 -0800 (Fri, 22 Jan 2010)
Log Message:
-----------
adding some tips about the thread local collector

Modified Paths:
--------------
    MacRuby/trunk/HACKING.rdoc

Modified: MacRuby/trunk/HACKING.rdoc
===================================================================
--- MacRuby/trunk/HACKING.rdoc	2010-01-23 02:57:47 UTC (rev 3324)
+++ MacRuby/trunk/HACKING.rdoc	2010-01-23 02:58:12 UTC (rev 3325)
@@ -111,6 +111,8 @@
   variable to "." before starting gdb, and you won't have to re-install MacRuby
   every time you re-compile it.
 
+* AUTO_USE_TLC: set this variable to 0 to disable the thread local collector.
+
 ==== GDB tricks
 
 * Break on rb_exc_raise to intercept pure Ruby exceptions. You can use a
@@ -128,3 +130,6 @@
 
 * To print the list of current active exceptions:
   (gdb) p (char *)RoxorVM::current->debug_exceptions()
+
+* To determine if a given object is thread-local:
+  (gdb) p (int)gdb_is_local(<address>);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100122/f584b8ce/attachment.html>


More information about the macruby-changes mailing list