Patents
US 6,934,946 B2#28884982 Most CitedExpiredUnited States (USPTO)Utility

Lightweight native method invocation interface for java computing environments

3Forward Citations (#28884982 Global)
0.1/yrCitation Velocity (#39376822 Global)
1.40Citation PageRank (#25506928 Global)
11Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Improved techniques for invocations of native methods in Java computing environments are disclosed. The techniques can be implemented in Java computing environments to facilitate efficient use of methods (functions or subroutines) written in programming languages other than Java (e.g., C, C++, etc.). As such, the techniques are highly suitable for use by virtual machines operating with relatively less memory and/or computing power (e.g., embedded systems). A lightweight native method invocation interface can be implemented to provide direct access to Java parameters on the execution stack. In addition, the lightweight native method invocation can include macro instructions that operate efficiently to convert the Java parameters into native parameters. Thus, the lightweight native method invocation can significantly reduce the overhead associated with conventional Java native method invocation techniques. As a result, performance of virtual machines, especially those operating with relatively less memory and/or computing power, can be improved.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 3.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    In a Java computing environment, a method of invoking a native method written in a native programming language without calling a Java Native Interface (JNI), said method comprising: providing a set of macro instructions which are written in said native programming language with a direct reference to one or more Java parameters stored on a Java execution stack, wherein said one or more Java parameters are associated with said native method; converting, by said set of macro instructions, said one or more Java parameters into at least one native parameter suitable for invocation of said native me

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (4)

  • Beazley et al., "Perl Extension Building with SWIG" Aug. 20, 1998, pp. 1-29, Internet: URL: .swig.org/papers/per198/swigperl.html>.
  • Horstmann et al, "Core Java(TM)<SUP>2 </SUP>Vol. II-Advanced Features", (2000), Sun Microsystems, Inc., Chapter 11, pp. 843-899.
  • Lindholm et al, "The Java(TM) Virtual Machine Specification", (Sep., 1996), Sun Microsystems, Inc., Chapters 1-10 (173 pp.).
  • Steven McDougall, "XS Mechanics", Feb. 10, 2000, pp. 1-29 Internet:URL:world.std.com/{swmcd/steven/perl/pm/xs/concepts.html>.