< prev index next >

src/share/vm/runtime/dtraceJSDT.hpp

Print this page
rev 7793 : 8073315: Enable gcc -Wtype-limits and fix upcoming issues.

*** 81,96 **** void set_helper_handle(int handle) { _helper_handle = handle; } int helper_handle() const { return _helper_handle; } nmethod* nmethod_at(size_t i) { ! assert(i >= 0 && i < _count, "bad nmethod index"); return _nmethods[i]; } void nmethod_at_put(size_t i, nmethod* nm) { ! assert(i >= 0 && i < _count, "bad nmethod index"); _nmethods[i] = nm; } }; #endif // SHARE_VM_RUNTIME_DTRACEJSDT_HPP --- 81,96 ---- void set_helper_handle(int handle) { _helper_handle = handle; } int helper_handle() const { return _helper_handle; } nmethod* nmethod_at(size_t i) { ! assert(i < _count, "bad nmethod index"); return _nmethods[i]; } void nmethod_at_put(size_t i, nmethod* nm) { ! assert(i < _count, "bad nmethod index"); _nmethods[i] = nm; } }; #endif // SHARE_VM_RUNTIME_DTRACEJSDT_HPP
< prev index next >