equal
deleted
inserted
replaced
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) |