mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
rename release_queue -> rb_release_queue
This commit is contained in:
parent
01033ce76e
commit
0fd81d52d8
1 changed files with 3 additions and 3 deletions
|
@ -69,14 +69,14 @@ namespace rr {
|
|||
}
|
||||
|
||||
inline void scheduleReleaseObject(VALUE object) {
|
||||
data()->release_queue.enqueue(object);
|
||||
data()->rb_release_queue.enqueue(object);
|
||||
}
|
||||
|
||||
static void releaseAndMarkRetainedObjects(v8::Isolate* isolate_) {
|
||||
Isolate isolate(isolate_);
|
||||
IsolateData* data = isolate.data();
|
||||
VALUE object;
|
||||
while (data->release_queue.try_dequeue(object)) {
|
||||
while (data->rb_release_queue.try_dequeue(object)) {
|
||||
isolate.releaseObject(object);
|
||||
}
|
||||
rb_gc_mark(data->retained_objects);
|
||||
|
@ -144,7 +144,7 @@ namespace rr {
|
|||
/**
|
||||
* Queue to hold
|
||||
*/
|
||||
ConcurrentQueue<VALUE> release_queue;
|
||||
ConcurrentQueue<VALUE> rb_release_queue;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue