Java Performance Improvements in RBD 126.96.36.199 and 188.8.131.52
mheitz 2700002Y0N Visits (4247)
Every new version of Rational Business Developer includes some performance enhancements. In the most recent fix packs for Rational Business Developer, 184.108.40.206 and 220.127.116.11, we've included even more performance improvements. In this blog entry, I'll describe some of the Java performance enhancements.
We make enhancements in the Java runtime whenever possible. There's no need for you to re-generate anything. You'll see improved performance simply by switching to a new runtime JAR file. In other cases, we make the generator create more efficient code. Sometimes you must turn on a build descriptor option in order for that to happen, but not always.
RBD 18.104.22.168 includes a new linkType value, LIBRARY, which can be used in localCall linkage. When you use it, your call statement will be generated similar to the generated code for invoking a function of a library. Parameters are passed more efficiently, and if you call the program more than once, the called program object will be reused. That will be a big speedup if the program is called many times. (In 22.214.171.124 linkType=LIBRARY is only supported when you generate Java, but you can also use it when generating COBOL with version 8.0.
Another build descriptor option introduced in 126.96.36.199 is sqlA
File I/O is improved in the 188.8.131.52 runtime. System functions in LobLib (loadBlobFromFile, loadClobFromFile, updateBlobToFile, updateClobToFile) and serial records make better use of buffers than before.
developer, EGL Java generator and runtime