mark-and-sweep Questions

2

I can't find much documentation on when it's appropriate to declare a VALUE as volatile in Ruby extensions to avoid premature garbage collection of in-use objects. Here's what I've learned so far. ...
Diversiform asked 3/10, 2013 at 21:38

5

Solved

The problem is simple, There is some given 1D lines on a plane. We need to find the total size of space having at least one line. Let me discuss this with an example image- This may a case. Or ...

0

As we all know, the HotSpot JVM uses a concurrent Mark-and-Sweep Garbage Collector to release unused objects on the heap. This is useful in a sense that programmers don't have to take care of...

1

Solved

I'm getting "abort preclean due to time" when running Concurrent Mark & Sweep in Java 6. What does it mean? Is the GC really halting in the middle before it did any real work?
Guenther asked 2/12, 2009 at 17:27

1

Solved

I'm writing a ruby extension that defines a class. If I use Data_Wrap_Struct() to implement my callback for rb_define_alloc_func(), do I need to manually mark and free the instance variables? Or is...
Undercoating asked 9/6, 2009 at 14:52
1

© 2022 - 2024 — McMap. All rights reserved.