equal
deleted
inserted
replaced
230 } |
230 } |
231 static julong available_memory(); |
231 static julong available_memory(); |
232 static julong physical_memory(); |
232 static julong physical_memory(); |
233 static bool has_allocatable_memory_limit(julong* limit); |
233 static bool has_allocatable_memory_limit(julong* limit); |
234 static bool is_server_class_machine(); |
234 static bool is_server_class_machine(); |
|
235 |
|
236 // Returns the id of the processor on which the calling thread is currently executing. |
|
237 // The returned value is guaranteed to be between 0 and (os::processor_count() - 1). |
|
238 static uint processor_id(); |
235 |
239 |
236 // number of CPUs |
240 // number of CPUs |
237 static int processor_count() { |
241 static int processor_count() { |
238 return _processor_count; |
242 return _processor_count; |
239 } |
243 } |