< prev index next >

src/hotspot/cpu/x86/stubGenerator_x86_32.cpp

Print this page




3956     generate_safefetch("SafeFetch32", sizeof(int), &StubRoutines::_safefetch32_entry,
3957                                                    &StubRoutines::_safefetch32_fault_pc,
3958                                                    &StubRoutines::_safefetch32_continuation_pc);
3959     StubRoutines::_safefetchN_entry           = StubRoutines::_safefetch32_entry;
3960     StubRoutines::_safefetchN_fault_pc        = StubRoutines::_safefetch32_fault_pc;
3961     StubRoutines::_safefetchN_continuation_pc = StubRoutines::_safefetch32_continuation_pc;
3962   }
3963 
3964 
3965  public:
3966   StubGenerator(CodeBuffer* code, bool all) : StubCodeGenerator(code) {
3967     if (all) {
3968       generate_all();
3969     } else {
3970       generate_initial();
3971     }
3972   }
3973 }; // end class declaration
3974 
3975 #define UCM_TABLE_MAX_ENTRIES 8
3976 void StubGenerator_generate(CodeBuffer* code, bool all) {
3977   if (UnsafeCopyMemory::_table == NULL) {
3978     UnsafeCopyMemory::create_table(UCM_TABLE_MAX_ENTRIES);
3979   }
3980   StubGenerator g(code, all);
3981 }


3956     generate_safefetch("SafeFetch32", sizeof(int), &StubRoutines::_safefetch32_entry,
3957                                                    &StubRoutines::_safefetch32_fault_pc,
3958                                                    &StubRoutines::_safefetch32_continuation_pc);
3959     StubRoutines::_safefetchN_entry           = StubRoutines::_safefetch32_entry;
3960     StubRoutines::_safefetchN_fault_pc        = StubRoutines::_safefetch32_fault_pc;
3961     StubRoutines::_safefetchN_continuation_pc = StubRoutines::_safefetch32_continuation_pc;
3962   }
3963 
3964 
3965  public:
3966   StubGenerator(CodeBuffer* code, bool all) : StubCodeGenerator(code) {
3967     if (all) {
3968       generate_all();
3969     } else {
3970       generate_initial();
3971     }
3972   }
3973 }; // end class declaration
3974 
3975 #define UCM_TABLE_MAX_ENTRIES 8
3976 void StubGenerator_generate(CodeBuffer* code, int phase) {
3977   if (UnsafeCopyMemory::_table == NULL) {
3978     UnsafeCopyMemory::create_table(UCM_TABLE_MAX_ENTRIES);
3979   }
3980   StubGenerator g(code, phase);
3981 }
< prev index next >