Back to Search Start Over

Software Refactoring for Java Threads.

Authors :
ZHANG Yang
LIU Chen-guang
ZHANG Dong-wen
ZHENG Kun
ZHENG Ya-jie
Source :
Transactions of Beijing Institute of Technology; Nov2018, Vol. 38 Issue 11, p1149-1155, 7p
Publication Year :
2018

Abstract

Java thread mechanisms, such as Thread and Executor, are different in the thread management pattern, code and the performance. To implement the automated refactoring between different thread mechanism and help programmers to choose the right thread mechanism, an automated refactoring method was proposed for Java thread mechanism able refactoring between Thread and Executor. To test the validity of the method, an automated refactoring tool named Rethreader was developed in Eclipse JDT. In the experimentation, several programs in the Java Grande Form (JGF) were tested, including Series, Crypt, Lufact, Sparsematmult and montecarlo. The experimental results show that the Rethreader can successfully implement the automatic refactoring from Thread to Executor within 1 s. INSET: 1. [ABSTRACT FROM AUTHOR]

Details

Language :
Chinese
ISSN :
10010645
Volume :
38
Issue :
11
Database :
Supplemental Index
Journal :
Transactions of Beijing Institute of Technology
Publication Type :
Academic Journal
Accession number :
134230241
Full Text :
https://doi.org/10.15918/j.tbit1001-0645.2018.11.008