Reviewed By: mbouaziz Differential Revision: D8874270 fbshipit-source-id: 1e90754aamaster
							parent
							
								
									c2416defed
								
							
						
					
					
						commit
						34c2899a69
					
				| @ -0,0 +1,23 @@ | ||||
| /* | ||||
|  * Copyright (c) 2018-present, Facebook, Inc. | ||||
|  * | ||||
|  * This source code is licensed under the MIT license found in the | ||||
|  * LICENSE file in the root directory of this source tree. | ||||
|  */ | ||||
| package codetoanalyze.java.performance; | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| public class FieldAccess{ | ||||
| 
 | ||||
|   public class Test{ | ||||
|   int a; | ||||
| } | ||||
| 
 | ||||
|   void iterate_upto_field_size(Test test){ | ||||
|      for (int ci = 0; ci < test.a; ++ci) { | ||||
|     } | ||||
|   } | ||||
| 
 | ||||
| 
 | ||||
| } | ||||
					Loading…
					
					
				
		Reference in new issue