RFR: 6685: Parse more fields directly to primitive values

Henrik Dafgård hdafgard at openjdk.java.net
Fri Feb 7 18:34:02 UTC 2020


Currently the parser reads line numbers, byte code indexes, modifiers and java thread ids with a QuantityReader, while as soon as they're used converted into primitive values. This PR changes the parser to read those field values as primitives directly.

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

Commits:
 - e2ab8d2c: Fix formatting
 - f5499c49: Parse more fields directly to primitives instead of going via IQuantity instances

Changes: https://git.openjdk.java.net/jmc/pull/47/files
 Webrev: https://webrevs.openjdk.java.net/jmc/47/webrev.00
  Issue: https://bugs.openjdk.java.net/browse/JMC-6685
  Stats: 34 lines in 3 files changed: 7 ins; 16 del; 11 mod
  Patch: https://git.openjdk.java.net/jmc/pull/47.diff
  Fetch: git fetch https://git.openjdk.java.net/jmc pull/47/head:pull/47

PR: https://git.openjdk.java.net/jmc/pull/47


More information about the jmc-dev mailing list