mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +02:00
8016586: PPC64 (part 3): basic changes for PPC64
Added #includes needed for ppc64 port. Renamed _MODEL_ppc to _MODEL_ppc_32 and renamed corresponding old _ppc files to _ppc_32. Reviewed-by: dholmes, kvn
This commit is contained in:
parent
036382cefd
commit
0522ce7a17
27 changed files with 114 additions and 50 deletions
|
@ -132,7 +132,7 @@ static int clock_tics_per_sec = 100;
|
|||
|
||||
// For diagnostics to print a message once. see run_periodic_checks
|
||||
static sigset_t check_signal_done;
|
||||
static bool check_signals = true;;
|
||||
static bool check_signals = true;
|
||||
|
||||
static pid_t _initial_pid = 0;
|
||||
|
||||
|
@ -249,6 +249,8 @@ static char cpu_arch[] = "amd64";
|
|||
static char cpu_arch[] = "arm";
|
||||
#elif defined(PPC32)
|
||||
static char cpu_arch[] = "ppc";
|
||||
#elif defined(PPC64)
|
||||
static char cpu_arch[] = "ppc64";
|
||||
#elif defined(SPARC)
|
||||
# ifdef _LP64
|
||||
static char cpu_arch[] = "sparcv9";
|
||||
|
@ -4402,7 +4404,7 @@ jint os::init_2(void)
|
|||
// the future if the appropriate cleanup code can be added to the
|
||||
// VM_Exit VMOperation's doit method.
|
||||
if (atexit(perfMemory_exit_helper) != 0) {
|
||||
warning("os::init2 atexit(perfMemory_exit_helper) failed");
|
||||
warning("os::init_2 atexit(perfMemory_exit_helper) failed");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -4413,8 +4415,7 @@ jint os::init_2(void)
|
|||
}
|
||||
|
||||
// this is called at the end of vm_initialization
|
||||
void os::init_3(void)
|
||||
{
|
||||
void os::init_3(void) {
|
||||
#ifdef JAVASE_EMBEDDED
|
||||
// Start the MemNotifyThread
|
||||
if (LowMemoryProtection) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue