Patents
US 6,910,209 B2#5628402 Most CitedExpiredUnited States (USPTO)Utility

Clean thread termination

16Forward Citations (#5628402 Global)
0.8/yrCitation Velocity (#9774778 Global)
3.89Citation PageRank (#4986163 Global)
3Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

Abstract

Apparatus, methods, and computer program products are disclosed for a process of terminating a thread in a clean, certain, and forcible manner. A thread is forcibly terminated in such a manner that data structures in the system are not left in an inconsistent state and the overall system status is not damaged. The methods and systems described are for terminating a thread in a computer language execution environment. Methods are implemented in an interpretive loop executing in a language that is interpreted and in runtime support libraries in a language that are not interpreted. A method of forcibly terminating a thread in a computer language execution environment is described. A thread receives a terminate thread command. The thread has associated with it a termination flag, a value of the termination flag being immutable once set, and one or more monitors. The termination flag is then set for the thread. An exception is then propagated in the execution environment thereby indicating termination of the thread. The exception handler and the finally clause of the thread is ignored during thread termination. The monitors associated with the thread are then exited.

Interactive Citation Constellation Global Citation Ranking

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

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    A method of forcibly terminating a thread in a computer language execution environment comprising: a first thread receiving a terminate thread command, the first thread having an associated termination flag, a value of the termination flag being immutable once set and having one or more monitors; setting the termination flag for the first thread; propagating an exception in the execution environment thereby indicating termination of the first thread; ignoring at cast one exception handler and a finally clause of the first thread; and existing one or more monitors associated with the first thre

  2. Claim 2Depends on #1

    A method as recited in claim 1 further comprising initiating a termination procedure to cleanly terminate the first thread.

  3. Claim 3Depends on #1

    A method as recited in claim 1 wherein receiving a terminate thread command further comprises a second thread issui

Technical Overview & Description

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

Cited By — Indexed Forward Citations (15 of 16 total)

PatentTitleYearCitations
US 8,302,103 B2System and method for managing resources of applications and threads performed on java virtual machine20121
US 2008244576 A1System and method for managing resources of applications and threads performed on java virtual machine—56
US 7,844,971 B2Method and apparatus for detecting cross-thread stack access in multithreaded programs20103
US 8,079,016 B2Information processing apparatus and application management method20110
US 8,006,246 B2Apparatus for forcibly terminating thread blocked on input/output operation and method for the same201112
US 7,080,374 B2System and method for using native code interpretation to move threads to a safe state in a run-time environment200617
US 2007198980 A1Apparatus for forcibly terminating thread blocked on input/output operation and method for the same—11
US 2008104698 A1Method and apparatus for adopting authorizations—0
US 2007240157 A1Method, apparatus, mobile terminal and computer program product for safe application termination in a virtual machine—21
US 2007074213 A1Method and apparatus for detecting cross-thread stack access in multithreaded programs—20
US 2004133891 A1System and method for using native code interpretation to move threads to a safe state in a run-time environment—15
US 2008127080 A1Information processing apparatus and application management method—0
US 7,810,135 B2Apparatus for adopting authorizations20101
US 8,850,573 B1Computing device with untrusted user execution mode201421
US 7,617,497 B1Method and system for creating and using storage threads20095

Non-Patent Literature (5)

  • Binder, Walter "Design and Implementation of the J-SEAL2 Mobile Agent Kernel", Application and the Internet, 2001.
  • Chan, Patrick, et al. "The Java Class Library, Second Edition, vol. 1 (pp. 1723-1750) 1998".
  • Chris Hawblitzel, Chi-Chao Chang, Grzegorz Czajkowski, Deyu Hu, and Thorsten von Eicken, "Implementing Multiple Protection Domains in Java," Technical Report 97-1660, Department of Computer Science, Cornell University, 15 pp.
  • Czajkowski, Grzegorz, et al., "JRes: A Resource Accounting Interface for Java," In Proceedings of the 1998 ACM OOPSLA Conference, Vancouver, BC, Oct. 1998.
  • Foote, Bill "Description of JavaOS and PersonalJava", Jul. 15, 2002, Release date of PersonalJava 1.0 is Dec. 1997.