6939019: Source code adjustments for parfait compilation of hotspot

Minor source code adjustments for parfait compilation, since it uses different compiler vs. JDK

Reviewed-by: never, kamg
This commit is contained in:
Zhengyu Gu 2010-06-22 09:46:15 -04:00
parent d64aeff387
commit 360fcdc7bd
2 changed files with 2 additions and 2 deletions

View file

@ -123,7 +123,7 @@
int set_interrupt_callback (Sync_Interrupt_Callback * cb); int set_interrupt_callback (Sync_Interrupt_Callback * cb);
void remove_interrupt_callback(Sync_Interrupt_Callback * cb); void remove_interrupt_callback(Sync_Interrupt_Callback * cb);
void OSThread::do_interrupt_callbacks_at_interrupt(InterruptArguments *args); void do_interrupt_callbacks_at_interrupt(InterruptArguments *args);
// *************************************************************** // ***************************************************************
// java.lang.Thread.interrupt state. // java.lang.Thread.interrupt state.

View file

@ -861,7 +861,7 @@ cmpxchg_func_t* os::atomic_cmpxchg_func = os::atomic_cmpxchg_bootstrap
cmpxchg_long_func_t* os::atomic_cmpxchg_long_func = os::atomic_cmpxchg_long_bootstrap; cmpxchg_long_func_t* os::atomic_cmpxchg_long_func = os::atomic_cmpxchg_long_bootstrap;
add_func_t* os::atomic_add_func = os::atomic_add_bootstrap; add_func_t* os::atomic_add_func = os::atomic_add_bootstrap;
extern "C" _solaris_raw_setup_fpu(address ptr); extern "C" void _solaris_raw_setup_fpu(address ptr);
void os::setup_fpu() { void os::setup_fpu() {
address fpu_cntrl = StubRoutines::addr_fpu_cntrl_wrd_std(); address fpu_cntrl = StubRoutines::addr_fpu_cntrl_wrd_std();
_solaris_raw_setup_fpu(fpu_cntrl); _solaris_raw_setup_fpu(fpu_cntrl);