< prev index next >
src/hotspot/os/aix/os_aix.cpp
Print this page
@@ -397,11 +397,11 @@
// Before querying the stack page size, make sure we are not running as primordial
// thread (because primordial thread's stack may have different page size than
// pthread thread stacks). Running a VM on the primordial thread won't work for a
// number of reasons so we may just as well guarantee it here.
- guarantee0(!os::Aix::is_primordial_thread());
+ guarantee0(!os::is_primordial_thread());
// Query pthread stack page size. Should be the same as data page size because
// pthread stacks are allocated from C-Heap.
{
int dummy = 0;
@@ -3985,11 +3985,11 @@
} else {
trcVerbose("Could not open pause file '%s', continuing immediately.", filename);
}
}
-bool os::Aix::is_primordial_thread() {
+bool os::is_primordial_thread(void) {
if (pthread_self() == (pthread_t)1) {
return true;
} else {
return false;
}
< prev index next >