[GIT] ppl/ppl(master): Started caching jclass objects using JNI global references.

Module: ppl/ppl Branch: master Commit: 79dac5cc0b03dec162bdcca40e01828a52371765 URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=79dac5cc0b03d...
Author: Enea Zaffanella zaffanella@cs.unipr.it Date: Sat Apr 25 16:34:17 2009 +0200
Started caching jclass objects using JNI global references. Cached other method IDs and optimized helper function build_linear_expression by introducing a new constructor for Linear_Expression_Times.
---
...ppl_interface_generator_java_classes_cc_code.m4 | 21 +- interfaces/Java/jni/ppl_java_common.cc | 305 +++++++++----------- interfaces/Java/jni/ppl_java_common.defs.hh | 69 +++++ interfaces/Java/jni/ppl_java_common.inlines.hh | 81 ++---- interfaces/Java/jni/ppl_java_globals.cc | 127 ++++++--- .../parma_polyhedra_library/Complexity_Class.java | 7 +- .../Degenerate_Element.java | 7 +- .../Linear_Expression_Times.java | 6 + .../Java/parma_polyhedra_library/Makefile.am | 10 +- .../parma_polyhedra_library/Variables_Set.java | 5 + 10 files changed, 359 insertions(+), 279 deletions(-)
Diff: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commitdiff;h=79dac5cc0...
participants (1)
-
Enea Zaffanella