< prev index next >

src/share/vm/code/exceptionHandlerTable.hpp

Print this page

        

*** 87,101 **** HandlerTableEntry* _table; // the table int _length; // the current length of the table int _size; // the number of allocated entries ReallocMark _nesting; // assertion check for reallocations // add the entry & grow the table if needed void add_entry(HandlerTableEntry entry); HandlerTableEntry* subtable_for(int catch_pco) const; - public: // (compile-time) construction within compiler ExceptionHandlerTable(int initial_size = 8); // (run-time) construction from nmethod ExceptionHandlerTable(const nmethod* nm); --- 87,101 ---- HandlerTableEntry* _table; // the table int _length; // the current length of the table int _size; // the number of allocated entries ReallocMark _nesting; // assertion check for reallocations + public: // add the entry & grow the table if needed void add_entry(HandlerTableEntry entry); HandlerTableEntry* subtable_for(int catch_pco) const; // (compile-time) construction within compiler ExceptionHandlerTable(int initial_size = 8); // (run-time) construction from nmethod ExceptionHandlerTable(const nmethod* nm);
*** 114,123 **** --- 114,124 ---- ); // nmethod support int size_in_bytes() const { return round_to(_length * sizeof(HandlerTableEntry), oopSize); } void copy_to(nmethod* nm); + void copy_bytes_to(address addr); // lookup HandlerTableEntry* entry_for(int catch_pco, int handler_bci, int scope_depth) const; // debugging
< prev index next >