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