Print this page


Split Split Close
Expand all
Collapse all
          --- old/src/share/vm/memory/universe.cpp
          +++ new/src/share/vm/memory/universe.cpp
↓ open down ↓ 1025 lines elided ↑ open up ↑
1026 1026      return ZeroBasedNarrowOop;
1027 1027    }
1028 1028  
1029 1029    return UnscaledNarrowOop;
1030 1030  }
1031 1031  
1032 1032  
1033 1033  void universe2_init() {
1034 1034    EXCEPTION_MARK;
1035 1035    Universe::genesis(CATCH);
1036      -  // Although we'd like to verify here that the state of the heap
1037      -  // is good, we can't because the main thread has not yet added
1038      -  // itself to the threads list (so, using current interfaces
1039      -  // we can't "fill" its TLAB), unless TLABs are disabled.
1040      -  if (VerifyBeforeGC && !UseTLAB &&
1041      -      Universe::heap()->total_collections() >= VerifyGCStartAt) {
1042      -     Universe::heap()->prepare_for_verify();
1043      -     Universe::verify();   // make sure we're starting with a clean slate
1044      -  }
1045 1036  }
1046 1037  
1047 1038  
1048 1039  // This function is defined in JVM.cpp
1049 1040  extern void initialize_converter_functions();
1050 1041  
1051 1042  bool universe_post_init() {
1052 1043    assert(!is_init_completed(), "Error: initialization not yet completed!");
1053 1044    Universe::_fully_initialized = true;
1054 1045    EXCEPTION_MARK;
↓ open down ↓ 626 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX