1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00
Commit graph

11 commits

Author SHA1 Message Date
Charles Lowell
d969b1cdb9 add back the basics of memory testing.
This adds back the memory tests which ensure The Ruby Racer's
stability. It also includes the changes needed to make these initial
specs pass.

At this point to disallow calling Dispose() directly on the underlying
Isolate. If you do, then you could have all of the Ruby objects happily
sitting in memory, but trying to use them would result in a segfault for
trying to use a dead isolate. In order to avoid that, we'd have to put
in safeguards everywhere to make sure for any operation on any context
or object, that it's isolate was still alive.

In order to reduce the complexity of memory management, the safest thing
is to let the garbage collection hook dispose of the isolate
itself. That way there is no doubt that the isolate is no longer in use.
2015-07-28 18:02:58 +03:00
Charles Lowell
4a4d254844 don't run memspecs as part of CI build. 2012-06-15 10:22:51 -05:00
Charles Lowell
4a977ac1ee put locking in place when running memspec 2012-06-07 08:35:00 -05:00
Charles Lowell
bcabe39866 make sure that simple evaluation does not leak 2012-06-07 05:19:24 -05:00
Charles Lowell
f0de0e9d59 only skip the memspecs on rubinius 2012-05-17 11:04:17 -05:00
Charles Lowell
1e6afe7484 Make the blunt mem spec pending 2012-05-11 10:45:45 -05:00
Charles Lowell
1873f6d427 1.5 is still a good bar by a blunt measure 2012-05-11 10:42:07 -05:00
Charles Lowell
0800d82988 Create HandleScopes, Externals from Ruby. 2012-05-09 14:46:07 -05:00
Charles Lowell
663d4f35ea Release persistent handles inside v8 GC 2012-05-09 14:46:05 -05:00
Charles Lowell
d80da946e7 support for GC queueing and string thunking. 2012-05-09 14:46:05 -05:00
Charles Lowell
b2e3057c5c Outline reference data structures. 2012-05-09 14:46:04 -05:00