Print this page
rev 6875 : 8056240: Investigate increased GC remark time after class unloading changes in CRM Fuse
Reviewed-by: mgerdin, coleenp, bdelsart

Split Split Close
Expand all
Collapse all
          --- old/src/share/vm/runtime/thread.cpp
          +++ new/src/share/vm/runtime/thread.cpp
↓ open down ↓ 226 lines elided ↑ open up ↑
 227  227    DEBUG_ONLY(_current_resource_mark = NULL;)
 228  228    set_handle_area(new (mtThread) HandleArea(NULL));
 229  229    set_metadata_handles(new (ResourceObj::C_HEAP, mtClass) GrowableArray<Metadata*>(30, true));
 230  230    set_active_handles(NULL);
 231  231    set_free_handle_block(NULL);
 232  232    set_last_handle_mark(NULL);
 233  233  
 234  234    // This initial value ==> never claimed.
 235  235    _oops_do_parity = 0;
 236  236  
      237 +  _metadata_on_stack_buffer = NULL;
      238 +
 237  239    // the handle mark links itself to last_handle_mark
 238  240    new HandleMark(this);
 239  241  
 240  242    // plain initialization
 241  243    debug_only(_owned_locks = NULL;)
 242  244    debug_only(_allow_allocation_count = 0;)
 243  245    NOT_PRODUCT(_allow_safepoint_count = 0;)
 244  246    NOT_PRODUCT(_skip_gcalot = false;)
 245  247    _jvmti_env_iteration_count = 0;
 246  248    set_allocated_bytes(0);
↓ open down ↓ 4429 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX