--- a/src/hotspot/share/opto/block.hpp Wed Aug 08 15:31:06 2018 +0200
+++ b/src/hotspot/share/opto/block.hpp Wed Aug 08 15:31:06 2018 +0200
@@ -55,7 +55,7 @@
void grow( uint i ); // Grow array node to fit
public:
- Block_Array(Arena *a) : _arena(a), _size(OptoBlockListSize) {
+ Block_Array(Arena *a) : _size(OptoBlockListSize), _arena(a) {
debug_only(_limit=0);
_blocks = NEW_ARENA_ARRAY( a, Block *, OptoBlockListSize );
for( int i = 0; i < OptoBlockListSize; i++ ) {
@@ -752,7 +752,7 @@
CFGEdge(Block *from, Block *to, double freq, int from_pct, int to_pct) :
_from(from), _to(to), _freq(freq),
- _from_pct(from_pct), _to_pct(to_pct), _state(open) {
+ _state(open), _from_pct(from_pct), _to_pct(to_pct) {
_infrequent = from_infrequent() || to_infrequent();
}
@@ -800,11 +800,11 @@
public:
Trace(Block *b, Block **next_list, Block **prev_list) :
- _first(b),
- _last(b),
+ _id(b->_pre_order),
_next_list(next_list),
_prev_list(prev_list),
- _id(b->_pre_order) {
+ _first(b),
+ _last(b) {
set_next(b, NULL);
set_prev(b, NULL);
};