// Static information about the operating system. Initialized exactly once // at VM start-up and never changes again. class OSInfo : AllStatic { staticint _vm_page_size; staticint _vm_allocation_granularity;
public: // Returns the byte size of a virtual memory page staticint vm_page_size() { return _vm_page_size; }
// Returns the size, in bytes, of the granularity with which memory can be reserved using os::reserve_memory(). staticint vm_allocation_granularity() { return _vm_allocation_granularity; }
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.