< prev index next >

src/hotspot/share/interpreter/templateInterpreter.cpp

Print this page

 60   { ResourceMark rm;
 61     TraceTime timer("Interpreter generation", TRACETIME_LOG(Info, startuptime));
 62     TemplateInterpreterGenerator g(_code);
 63     // Free the unused memory not occupied by the interpreter and the stubs
 64     _code->deallocate_unused_tail();
 65   }
 66 
 67   if (PrintInterpreter) {
 68     ResourceMark rm;
 69     print();
 70   }
 71 
 72   // initialize dispatch table
 73   _active_table = _normal_table;
 74 }
 75 
 76 //------------------------------------------------------------------------------------------------------------------------
 77 // Implementation of EntryPoint
 78 
 79 EntryPoint::EntryPoint() {
 80   assert(number_of_states == 10, "check the code below");
 81   _entry[btos] = NULL;
 82   _entry[ztos] = NULL;
 83   _entry[ctos] = NULL;
 84   _entry[stos] = NULL;
 85   _entry[atos] = NULL;
 86   _entry[itos] = NULL;
 87   _entry[ltos] = NULL;
 88   _entry[ftos] = NULL;
 89   _entry[dtos] = NULL;
 90   _entry[vtos] = NULL;
 91 }
 92 
 93 
 94 EntryPoint::EntryPoint(address bentry, address zentry, address centry, address sentry, address aentry, address ientry, address lentry, address fentry, address dentry, address ventry) {
 95   assert(number_of_states == 10, "check the code below");
 96   _entry[btos] = bentry;
 97   _entry[ztos] = zentry;
 98   _entry[ctos] = centry;
 99   _entry[stos] = sentry;
100   _entry[atos] = aentry;

 60   { ResourceMark rm;
 61     TraceTime timer("Interpreter generation", TRACETIME_LOG(Info, startuptime));
 62     TemplateInterpreterGenerator g(_code);
 63     // Free the unused memory not occupied by the interpreter and the stubs
 64     _code->deallocate_unused_tail();
 65   }
 66 
 67   if (PrintInterpreter) {
 68     ResourceMark rm;
 69     print();
 70   }
 71 
 72   // initialize dispatch table
 73   _active_table = _normal_table;
 74 }
 75 
 76 //------------------------------------------------------------------------------------------------------------------------
 77 // Implementation of EntryPoint
 78 
 79 EntryPoint::EntryPoint() {
 80   assert(number_of_states == 10 , "check the code below");
 81   _entry[btos] = NULL;
 82   _entry[ztos] = NULL;
 83   _entry[ctos] = NULL;
 84   _entry[stos] = NULL;
 85   _entry[atos] = NULL;
 86   _entry[itos] = NULL;
 87   _entry[ltos] = NULL;
 88   _entry[ftos] = NULL;
 89   _entry[dtos] = NULL;
 90   _entry[vtos] = NULL;
 91 }
 92 
 93 
 94 EntryPoint::EntryPoint(address bentry, address zentry, address centry, address sentry, address aentry, address ientry, address lentry, address fentry, address dentry, address ventry) {
 95   assert(number_of_states == 10, "check the code below");
 96   _entry[btos] = bentry;
 97   _entry[ztos] = zentry;
 98   _entry[ctos] = centry;
 99   _entry[stos] = sentry;
100   _entry[atos] = aentry;
< prev index next >