hotspot/src/share/vm/code/exceptionHandlerTable.cpp
changeset 7397 5b173b4ca846
parent 6418 6671edbd230e
child 24424 2658d7834c6e
equal deleted inserted replaced
7396:518b01b064ff 7397:5b173b4ca846
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  *
    22  *
    23  */
    23  */
    24 
    24 
    25 #include "incls/_precompiled.incl"
    25 #include "precompiled.hpp"
    26 #include "incls/_exceptionHandlerTable.cpp.incl"
    26 #include "code/exceptionHandlerTable.hpp"
       
    27 #include "code/nmethod.hpp"
       
    28 #include "memory/allocation.inline.hpp"
    27 
    29 
    28 void ExceptionHandlerTable::add_entry(HandlerTableEntry entry) {
    30 void ExceptionHandlerTable::add_entry(HandlerTableEntry entry) {
    29   _nesting.check();
    31   _nesting.check();
    30   if (_length >= _size) {
    32   if (_length >= _size) {
    31     // not enough space => grow the table (amortized growth, double its size)
    33     // not enough space => grow the table (amortized growth, double its size)