GGC questions

[email protected] Sun, 6 Nov 2016 07:21:10 -0800 (PST)
Newsgroups gmane.comp.mozilla.devel.jseng
Message-ID <[email protected]>
Hey,

I'm currently moving from 38 to 45 and trying to figure out various things.

- Is there a way to move something right away to the tenured zone? (e.g. because I know that the object is long lived and will outlive the first GC anyway).

- Is it safe to assume that an object constructed from a JSClass with a finalizer will be allocated in the tenured zone and so keep a reference in a TenuredHeap<T> directly (instead of a regular Heap<T>)?

- Does an object in the tenured zone can move? (maybe because of the CGC?)

Thanks!

--
Anthony Catel.