RFR(S): 8227597: [fastdbg build] Arena::inc_bytes_allocated should get inlined
martin.doerr at sap.com
Thu Jul 11 15:31:50 UTC 2019
the simple function Arena::inc_bytes_allocated can be found as CPU consuming when profiling the fastdbg build. It is located in a cpp file.
It should better get inlined to improve the performance of the fastdbg VM which is important for complex tests.
In addition, atomic 8-Byte load and store functions are available on all platforms, so the "#if defined ..." can get removed.
Here's my proposal:
Feedback is welcome.
More information about the hotspot-runtime-dev