Назад: Старое поколение Выше: Содержание Вперед: Подсистемы

Большие объекты

This page was machine translated. Please help us improve it.

See How-To - Translate Documentation

This topic has missing or partial documentation. Please help us improve it.

See How-To - Write Documentation

Large objects are born in a birthing tank rather than in the nursery.

Any object that exceedes the defined byte size for a large object upon allocation is allocated directly into the large objects space. This is done to avoid copying since copying large objects is an expensive operation.

Note that you can tune the number of bytes that constitute a large object which by default is 2700 (such a good baud rate eh?) bytes.

rbx ... -Xgc.large_object=<number of bytes> ...

For more information on configuration variables available read the vm configuration source file

Назад: Старое поколение Выше: Содержание Вперед: Подсистемы

Tweet at @rubinius on Twitter or email community@rubini.us. Please report Rubinius issues to our issue tracker.