RFR: CODETOOLS-7902863: JMH: Cache parsing patterns in profilers

Aleksey Shipilev shade at openjdk.java.net
Wed Mar 24 08:43:00 UTC 2021


Currently, perfasm profilers are compiling patterns on every suspect line. This can be better: compiling patterns before entering the hot loops.

-------------

Commit messages:
 - Cache patterns

Changes: https://git.openjdk.java.net/jmh/pull/32/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jmh&pr=32&range=00
  Issue: https://bugs.openjdk.java.net/browse/CODETOOLS-7902863
  Stats: 66 lines in 3 files changed: 26 ins; 35 del; 5 mod
  Patch: https://git.openjdk.java.net/jmh/pull/32.diff
  Fetch: git fetch https://git.openjdk.java.net/jmh pull/32/head:pull/32

PR: https://git.openjdk.java.net/jmh/pull/32


More information about the jmh-dev mailing list