Browse Prior Art Database

Java LeanApp

IP.com Disclosure Number: IPCOM000235837D
Publication Date: 2014-Mar-26
Document File: 1 page(s) / 27K

Publishing Venue

The IP.com Prior Art Database

Abstract

Disclosed is a method to provide more compact Java* code at runtime by implementing a novel application for stripping the unused portions of the code.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 100% of the total text.

Page 01 of 1

Java LeanApp

The Java* object code encompasses all code for the application and maintains references to all the libraries that are specified in the code. At runtime, the Java classloader loads any classes that are referenced in the code. All the methods in

the class are loaded, which can result in loading a lot more code into memory than

may be needed. This may not be desirable for environments where memory is a premium.

The novel contribution is an application that strips the unused portions of the Java object code.

The application modifies the existing Java class loader to exclude any unused methods in the class being loaded. By excluding un-referenced methods, the new class loader reduces the size of the object code. This provides a more compact code at runtime.


*Java is a registered trademark. Oracle and Java are registered trademarks of Oracle and/or its affiliates.

1