In safepoint.cpp, _safepoint_counter should be increased once in safepointSynchronize::end(). But it was increased in EventSafepointWaitBlocked and safepointSynchronize::end(). This results confusing safepoint id in JFR events: synch safepoint id = begin safepoint id +1.
            
- 
        
            
            
    
    Erik Gahlin 
- 
        
            
            
    
    Jenny Zhang (Inactive) 
- Votes:
- 
                                0 Vote for this issue
- Watchers:
- 
                                
                                
                            4 Start watching this issue
- Created:
- Updated:
- Resolved:
 P4
  P4