comparison src/share/vm/runtime/os.hpp @ 4006:436b4a3231bf

7098194: integrate macosx-port changes Summary: Integrate bsd-port/hotspot and macosx-port/hotspot changes as of 2011.09.29. Reviewed-by: kvn, dholmes, never, phh Contributed-by: Christos Zoulas <christos@zoulas.com>, Greg Lewis <glewis@eyesbeyond.com>, Kurt Miller <kurt@intricatesoftware.com>, Alexander Strange <astrange@apple.com>, Mike Swingler <swingler@apple.com>, Roger Hoover <rhoover@apple.com>, Victor Hernandez <vhernandez@apple.com>, Pratik Solanki <psolanki@apple.com>
author dcubed
date Thu, 13 Oct 2011 09:35:42 -0700
parents f08d439fab8c
children 11c26bfcf8c7
comparison
equal deleted inserted replaced
4005:2ef3386478e6 4006:436b4a3231bf
182 static bool distribute_processes(uint length, uint* distribution); 182 static bool distribute_processes(uint length, uint* distribution);
183 // Binds the current process to a processor. 183 // Binds the current process to a processor.
184 // Returns true if it worked, false if it didn't. 184 // Returns true if it worked, false if it didn't.
185 static bool bind_to_processor(uint processor_id); 185 static bool bind_to_processor(uint processor_id);
186 186
187 // Give a name to the current thread.
188 static void set_native_thread_name(const char *name);
189
187 // Interface for stack banging (predetect possible stack overflow for 190 // Interface for stack banging (predetect possible stack overflow for
188 // exception processing) There are guard pages, and above that shadow 191 // exception processing) There are guard pages, and above that shadow
189 // pages for stack overflow checking. 192 // pages for stack overflow checking.
190 static bool uses_stack_guard_pages(); 193 static bool uses_stack_guard_pages();
191 static bool allocate_stack_guard_pages(); 194 static bool allocate_stack_guard_pages();