File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed 
test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -67,10 +67,11 @@ private Boolean initNmethodEntryBarrierConcurrentPatch(Architecture arch) {
6767                // There currently only 2 variants in use that differ only by the presence of a 
6868                // dmb instruction 
6969                int  stw  = getConstant ("NMethodPatchingType::stw_instruction_and_data_patch" , Integer .class );
70-                 int  conc  = getConstant ("NMethodPatchingType::conc_data_patch" , Integer .class );
70+                 int  conc1  = getConstant ("NMethodPatchingType::conc_data_patch" , Integer .class );
71+                 int  conc2  = getConstant ("NMethodPatchingType::conc_instruction_and_data_patch" , Integer .class );
7172                if  (patchingType  == stw ) {
7273                    patchConcurrent  = false ;
73-                 } else  if  (patchingType  == conc ) {
74+                 } else  if  (patchingType  == conc1  ||  patchingType  ==  conc2 ) {
7475                    patchConcurrent  = true ;
7576                } else  {
7677                    throw  new  IllegalArgumentException ("unsupported barrier sequence "  + patchingType );
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments