Skip to content

Commit b311f02

Browse files
committed
Improve reset_profiles_remaining comment
1 parent 5658221 commit b311f02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

zjit/src/payload.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ impl IseqPayload {
3838
}
3939

4040
/// Profile counts are used for compilation policy.
41-
/// When we deoptimize a method that can be recompiled, we need to update the count.
41+
/// When we deoptimize a method that can be recompiled, we need to update the count to collect more profiles.
4242
/// Otherwise, we will generate the same code that was just deoptimized.
4343
pub fn reset_profiles_remaining(&mut self, insn_idx: YarvInsnIdx) {
4444
let num_profiles = get_option!(num_profiles);

0 commit comments

Comments
 (0)