Interprocedural analysis and optimization of an object oriented program in the presence of dynamic class loading

   
   

A method is provided for analyzing an object oriented program that supports dynamic class loading. A set A of classes in the program is identified, wherein each class within set A is capable of, during execution of the program, causing the loading of a class outside of set A. A first set of method calls belonging to the classes in set A are identified that, during execution of the program, are capable of calling only methods belonging to a class within set A. A second set of method calls belonging to the classes in set A are identified that, during execution of the program, are capable of calling methods belonging to a class outside set A. Data that identifies the first and the second set of method calls is stored for subsequent use.

Μια μέθοδος παρέχεται για την ανάλυση ενός προσανατολισμένου προς το αντικείμενο προγράμματος που υποστηρίζει τη δυναμική φόρτωση κατηγορίας. Ένα σύνολο Α κατηγοριών στο πρόγραμμα προσδιορίζεται, όπου κάθε κατηγορία μέσα στο σύνολο Α είναι ικανή, κατά τη διάρκεια της εκτέλεσης του προγράμματος, που προκαλεί τη φόρτωση μιας κατηγορίας έξω από το σύνολο Α. Ένα πρώτο σύνολο κλήσεων μεθόδου που ανήκουν στις κατηγορίες στο σύνολο Α προσδιορίζεται που, κατά τη διάρκεια της εκτέλεσης του προγράμματος, είναι σε θέση μόνο τις μεθόδους που ανήκουν σε μια κατηγορία μέσα στο σύνολο Α. Ένα δεύτερο σύνολο κλήσεων μεθόδου που ανήκουν στις κατηγορίες στο σύνολο Α προσδιορίζεται που, κατά τη διάρκεια της εκτέλεσης του προγράμματος, είναι σε θέση τις μεθόδους που ανήκουν σε ένα εξωτερικό καθορισμένο Α. στοιχεία κατηγορίας που προσδιορίζει το πρώτο και το δεύτερο σύνολο κλήσεων μεθόδου αποθηκεύεται για την επόμενη χρήση.

 
Web www.patentalert.com

< Method of automating chip power consumption estimation calculation

< Object oriented framework mechanism for discovery of computer systems in a network

> Method and computer program product for testing application program software

> Providing an embedded application specific web server

~ 00165