Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8344363

FullGCForwarding::initialize_flags is called after ObjLayout::initialize

XMLWordPrintable

    • b26

      ObjLayout::initialize() is called in Arguments::parse(const JavaVMInitArgs*) which sets ObjLayout::_klass_mode. FullGCForwarding::initialize_flags(size_t) is called in init_globals() which seems to be later in the Threads::create_vm(JavaVMInitArgs*, bool*) routine. The latter, however, can unset the UseCompactObjectHeaders flag, which leads to a potential mismatch with ObjLayout::_klass_mode, firing the asserts in ObjLayout::klass_mode().

            rkennke Roman Kennke
            qamai Quan Anh Mai
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: