8208671: Runtime, JFR, Serviceability changes to allow enabling -Wreorder

Reviewed-by: dholmes, hseigel
This commit is contained in:
Thomas Schatzl 2018-08-08 15:31:07 +02:00
parent e98c176026
commit 9c0720b156
61 changed files with 129 additions and 129 deletions

View file

@ -2051,7 +2051,7 @@ class JNIMethodBlock : public CHeapObj<mtClass> {
// Something that can't be mistaken for an address or a markOop
Method* const JNIMethodBlock::_free_method = (Method*)55;
JNIMethodBlockNode::JNIMethodBlockNode(int num_methods) : _next(NULL), _top(0) {
JNIMethodBlockNode::JNIMethodBlockNode(int num_methods) : _top(0), _next(NULL) {
_number_of_methods = MAX2(num_methods, min_block_size);
_methods = NEW_C_HEAP_ARRAY(Method*, _number_of_methods, mtInternal);
for (int i = 0; i < _number_of_methods; i++) {