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