CFP last date
20 June 2024
Reseach Article

Smart Coding using New Code Optimization Techniques in Java to Reduce Runtime Overhead of Java Compiler

by Prajakta Gotarane, Sumedh Pundkar
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Volume 125 - Number 15
Year of Publication: 2015
Authors: Prajakta Gotarane, Sumedh Pundkar
10.5120/ijca2015906029

Prajakta Gotarane, Sumedh Pundkar . Smart Coding using New Code Optimization Techniques in Java to Reduce Runtime Overhead of Java Compiler. International Journal of Computer Applications. 125, 15 ( September 2015), 11-16. DOI=10.5120/ijca2015906029

@article{ 10.5120/ijca2015906029,
author = { Prajakta Gotarane, Sumedh Pundkar },
title = { Smart Coding using New Code Optimization Techniques in Java to Reduce Runtime Overhead of Java Compiler },
journal = { International Journal of Computer Applications },
issue_date = { September 2015 },
volume = { 125 },
number = { 15 },
month = { September },
year = { 2015 },
issn = { 0975-8887 },
pages = { 11-16 },
numpages = {9},
url = { https://ijcaonline.org/archives/volume125/number15/22507-2015906029/ },
doi = { 10.5120/ijca2015906029 },
publisher = {Foundation of Computer Science (FCS), NY, USA},
address = {New York, USA}
}
%0 Journal Article
%1 2024-02-06T23:16:07.219297+05:30
%A Prajakta Gotarane
%A Sumedh Pundkar
%T Smart Coding using New Code Optimization Techniques in Java to Reduce Runtime Overhead of Java Compiler
%J International Journal of Computer Applications
%@ 0975-8887
%V 125
%N 15
%P 11-16
%D 2015
%I Foundation of Computer Science (FCS), NY, USA
Abstract

Java is a popular object oriented programming language suitable for writing Java programs. Sometimes programmers spend most of the time to increase the execution time of the program, but simultaneously its effect on code size. Therefor the code become more complex and unreliable, so this leads to reduce the efficiency of code. Today so many compilers are exist like c, javac,c++,cobol,etc.we studied the code optimization techniques for java compiler separately and that time we come across some new code optimization strategies which is the smart way to do the coding in java. In this paper we applied some new java code optimization techniques on existing code. We verify the code optimization, performance using our executor. These code optimization strategies indirectly help to reduce the work of garbage collection, data structure and also work on loop optimization. So the results which we found after doing experimentations are quite satisfactory as compare to original results. so these techniques are help to improve the code quality.

References
  1. Michael Dorf, (2012), "5 Easy Java Optimization Tips", http://www.learncomputer.com/java-optimization-tips .
  2. IBM, (2009) , "Optimizing C code atoptimization level 2 ", Copyright International Business Machines Corporation 2009.
  3. Maggie Johnson,(2008) ,"Code Optimization",Handout 20.
  4. Kevin Williams1,Albert Noll2,Andreas Gal3 and David Gregg1 ,(2008) , "Optimization Strategies for a Java Virtual Machine Interpreter on the Cell Broadband Engine"1Trinity College Dublin, Dublin, Ireland,2ETH Zurich, Zurich, Switzerland. 3University of California, Irvine, CA, USA.
  5. Huib van den Brink, (2008), "The current and future optimizations performed by the Java HotSpotCompiler" , Institute of information and Computing Sciences, Utrecht University P.O. Box 80.089, 3508 TB Utrecht, The Netherlands.
  6. Pawan Nagar1,Nitasha Soni2, (2012)," Optimizing Program-States using Exception-Handling Constructerin Java ",1M.Tech.Scholar, CSE Department, Lingaya’s University ,Haryana, India ,2Lecturer, CSE Department, Lingaya’s University, Haryana, India, International Journal of Engineering Science &Advanced Technology.
  7. Hiroshi Inoue and Toshio Nakatani ,(2012) ,"Identifying the Sources of Cache Misses in Java Programs Without Relying on Hardware Counters ",© ACM, 2012. This is the author's version of the work.
  8. Peter Sestoft ,(2010) ,"Numeric performance in C, C# and Java",IT University of CopenhagenDenmark,Version 0.9.1 of 2010-02- 19.
  9. http://www.onjava.com/pub/a/onjava/2002/03/20/optimization.html?page=4http://www.javaperformancetuning.com/tips/rawtips. shtml.
  10. http://www.appperfect.com/support/java-coding-rules/optimization.html.
  11. Tony Sintes , (2002) ,"The String class's strange behavior explained",http://www.javaworld.com/article/2077355/core-java/don-tbe- strung-along.html.
  12. Ont Community ,(2012),"About .class operator ",Oracle.
  13. Technology Specialist, (2012), "One 4 All", http://www.javaperformancetuning.com/tips/rawtips.shtml, ,http://www.glenmccl.com/jperf/.
  14. Felix Hernandez-Campos ,(2002) ,"COMP 144 Programming Language Concepts" ,The University of North Carolina at Chapel Hill.Ben Van Vliet ,(2008),"C++FA 3.1 OPTIMIZING C++", http://www.benvanvliet.net/Downloads/CFA3.1_Optimizing%20CPP.
  15. Guihot, H. (2012). Optimizing Java Code. Pro Android Apps Performance Optimization, Springer: 1-31.
Index Terms

Computer Science
Information Sciences

Keywords

Code optimization code efficiency execution time code quality readability. Garbage Collection Loop optimization Data Structure.