Improve the performance of your Java code
  Improve the performance of your Java code
2D Graphics
3D Graphics
Web Design & Development
Business Applications
Business Development
Databases
Desktop Programming
Operating Systems
Video Editing
Miscellaneous
Newsletter
User Login
  • Username
  • Password
Stats
  • Tutorials: 38,092
  • Categories: 572

Java Tutorials : Improve the performance of your Java code

Many algorithms are expressed most concisely as tail-recursive methods. Compilers can automatically transform such methods into loops and thereby improve program performance, but this transformation is not required by the Java language specification, so not all JVMs will perform it. This means that tail-recursive methods in the Java language can result in unexpectedly large memory usage. This article demonstrates that dynamic compilation maintains the language's semantics while static compilation often doesn't. Learn why this matters and get a bit of code to help you determine whether your just-in-time (JIT) compiler can transform tail recursion on code while preserving semantics. Improve the performance of your Java code  tutorial
    View Tutorial

Detailed Information

     Tutorial: Improve the performance of your Java code
     Date Listed: 2003-12-31
     Submitted By: macdonaldp
     Total Hits: 1790
     Rating Tutorial Rating 3.08Tutorial Rating 3.08Tutorial Rating 3.08Tutorial Rating 3.08Tutorial Rating 3.08 (392 votes)

    Comment On Tutorial     View Tutorial
    Report Broken Link

 





© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 9 - Follow our Sitemap