Guido van Rossum
060a96f1a9
gh-116968: Reimplement Tier 2 counters ( #117144 )
...
Introduce a unified 16-bit backoff counter type (``_Py_BackoffCounter``),
shared between the Tier 1 adaptive specializer and the Tier 2 optimizer. The
API used for adaptive specialization counters is changed but the behavior is
(supposed to be) identical.
The behavior of the Tier 2 counters is changed:
- There are no longer dynamic thresholds (we never varied these).
- All counters now use the same exponential backoff.
- The counter for ``JUMP_BACKWARD`` starts counting down from 16.
- The ``temperature`` in side exits starts counting down from 64.
2024-04-04 15:03:27 +00:00
..
2024-02-12 09:04:36 +00:00
2022-10-17 12:01:00 +02:00
2024-03-29 21:23:28 +01:00
2022-11-09 10:50:09 -08:00
2021-03-23 20:47:40 +01:00
2022-10-25 23:34:22 +01:00
2024-04-02 10:34:49 +00:00
2024-01-16 09:32:01 +00:00
2023-02-28 14:16:39 -07:00
2024-01-16 09:32:01 +00:00
2024-03-07 11:21:08 +02:00
2023-09-30 22:21:20 +00:00
2024-03-28 09:28:39 -04:00
2024-04-04 15:03:27 +00:00
2024-03-21 11:21:02 -07:00
2024-04-04 15:03:27 +00:00
2024-04-04 15:03:27 +00:00
2023-11-30 11:12:49 +01:00
2024-04-02 10:34:49 +00:00
2024-02-02 13:50:51 +00:00
2024-04-02 20:35:52 +00:00
2024-02-16 01:01:36 +00:00
2023-11-08 15:39:29 -07:00
2024-02-13 14:56:49 -07:00
2024-04-03 10:58:39 -06:00
2024-04-03 10:58:39 -06:00
2024-04-01 13:02:07 +00:00
2023-09-02 16:50:18 +02:00
2023-10-04 22:50:29 +00:00
2023-10-04 22:50:29 +00:00
2023-10-04 22:50:29 +00:00
2023-10-04 22:50:29 +00:00
2023-09-08 17:54:45 +01:00
2023-09-15 15:04:21 -07:00
2023-12-21 01:46:41 +00:00
2024-04-04 15:03:27 +00:00
2023-12-12 11:25:27 +01:00
2024-04-02 10:34:49 +00:00
2023-06-02 01:33:17 +02:00
2024-03-12 23:35:28 +00:00
2024-03-18 11:13:11 -07:00
2024-03-21 18:20:20 -06:00
2024-04-02 10:34:49 +00:00
2024-04-02 11:59:21 +01:00
2024-02-14 00:32:51 +00:00
2024-04-02 11:59:21 +01:00
2024-04-04 15:03:27 +00:00
2024-03-08 13:49:52 +03:00
2021-02-25 20:24:21 -08:00
2024-01-16 21:54:05 +01:00
2023-09-29 10:56:49 +02:00
2022-11-15 09:45:11 -07:00
2023-08-24 18:53:50 +02:00
2023-12-06 15:09:22 +01:00
2024-03-20 08:54:42 +00:00
2023-10-04 22:50:29 +00:00
2024-04-02 20:35:52 +00:00
2024-04-04 15:03:27 +00:00
2024-04-03 01:10:26 +00:00
2023-11-14 00:31:02 +00:00
2024-03-26 09:35:11 +00:00
2023-11-03 16:39:50 +00:00
2024-03-16 13:56:30 +01:00
2024-03-28 03:59:33 -04:00
2023-10-11 14:44:06 +03:00
2022-10-07 11:49:53 -07:00
2023-09-03 18:54:27 +02:00
2024-02-16 01:01:36 +00:00
2024-03-08 00:21:21 +08:00
2024-04-03 17:14:18 +00:00
2024-03-24 20:34:55 +02:00
2024-04-03 17:14:18 +00:00
2024-03-05 15:06:00 +00:00
2024-04-04 15:03:27 +00:00
2024-03-08 15:26:36 -05:00
2023-09-29 10:56:49 +02:00
2023-12-21 19:28:55 +00:00
2023-07-04 09:41:43 +00:00
2021-03-24 02:23:01 +01:00
2022-01-13 09:46:04 +01:00
2024-03-22 20:19:10 +02:00
2024-03-21 11:21:02 -07:00
2021-10-15 19:45:34 +02:00
2024-04-03 10:58:39 -06:00
2023-09-01 18:36:53 +02:00
2023-09-02 23:15:54 +02:00
2023-09-06 15:56:08 +02:00
2024-03-28 11:30:31 +01:00
2023-12-11 11:44:22 +00:00
2024-03-07 11:21:08 +02:00
2024-03-18 17:13:01 +01:00
2024-03-08 12:39:53 -05:00
2024-04-04 15:03:27 +00:00
2024-03-28 03:59:33 -04:00
2024-02-11 12:45:58 +02:00
2024-01-11 20:31:24 +02:00
2024-04-02 10:34:49 +00:00
2024-03-11 11:02:58 -04:00
2024-02-28 13:58:25 +00:00
2023-11-04 13:59:24 +00:00
2024-03-16 11:10:37 +01:00
2024-02-21 11:46:00 +01:00
2024-03-13 23:53:32 +01:00
2024-04-02 10:34:49 +00:00
2023-09-06 15:56:08 +02:00
2023-11-01 22:55:10 +00:00