We need functionality to create nmethods from existing nmethods to support the use cases:
- Save C1 nmethods when they are replaced by C2 nmethods having speculative code.
- Separate hot nmethods from cold nmethods, for example recreating them in a special code heap.
- Preserve nmethods being removed as cold.
Without this functionality, we need to use recompilation which is expensive for big methods.
- Save C1 nmethods when they are replaced by C2 nmethods having speculative code.
- Separate hot nmethods from cold nmethods, for example recreating them in a special code heap.
- Preserve nmethods being removed as cold.
Without this functionality, we need to use recompilation which is expensive for big methods.
- relates to
-
JDK-8314661 Implement code heap for methods known to be hot/used
- In Progress