Method and equipment for effective calling Java method from local code


Application Number: 00108160
Application Date: 2000.05.08
Publication Number: 1273390
Publication Date: 2000.11.15
Priority Information: 1999/5/6 US 09/306193
International: G06F9/45
Applicant(s) Name: International Business Machine Corp.
Address:
Inventor(s) Name: G. O. Blanty;B. J. Hagref
Patent Agency Code: 72001
Patent Agent: wu limeng
Abstract A method and apparatus in a data processing system for executing a Java method from native code. A method is examined prior to first execution of the method to identify a presence of selected parameters from a set of parameters for the method. A bitmask is created to describe the selected parameters. The set of parameters is copied to a frame using the mask. Further, a new return bytecode is used to handle a return to a native calling method. Method block location is handled using identifying information about the method.