8208670: Compiler changes to allow enabling -Wreorder

Reviewed-by: kvn
This commit is contained in:
Thomas Schatzl 2018-08-08 15:31:06 +02:00
parent d702d5f8d2
commit e98c176026
66 changed files with 374 additions and 361 deletions

View file

@ -39,13 +39,13 @@
CompiledMethod::CompiledMethod(Method* method, const char* name, CompilerType type, const CodeBlobLayout& layout, int frame_complete_offset, int frame_size, ImmutableOopMapSet* oop_maps, bool caller_must_gc_arguments)
: CodeBlob(name, type, layout, frame_complete_offset, frame_size, oop_maps, caller_must_gc_arguments),
_method(method), _mark_for_deoptimization_status(not_marked) {
_mark_for_deoptimization_status(not_marked), _method(method) {
init_defaults();
}
CompiledMethod::CompiledMethod(Method* method, const char* name, CompilerType type, int size, int header_size, CodeBuffer* cb, int frame_complete_offset, int frame_size, OopMapSet* oop_maps, bool caller_must_gc_arguments)
: CodeBlob(name, type, CodeBlobLayout((address) this, size, header_size, cb), cb, frame_complete_offset, frame_size, oop_maps, caller_must_gc_arguments),
_method(method), _mark_for_deoptimization_status(not_marked) {
_mark_for_deoptimization_status(not_marked), _method(method) {
init_defaults();
}