- 
    Type:
Enhancement
 - 
    Resolution: Fixed
 - 
    Priority:
  P4                     
     - 
    Affects Version/s: 22
 - 
    Component/s: hotspot
 
- 
        b19
 
The main use case is to group hot nmethods in a separate code heap. Without this functionality, we need to use recompilation which is expensive for big methods.
Other uses cases:
- Save C1 nmethods when they are replaced by C2 nmethods having speculative code.
- Save C2 nmethods being removed as cold.
We might not need to support relocation of OSR nmethods.
- blocks
 - 
                    
JDK-8357926 Allow relocation of JVMCI nmethods
-         
     - Open
 
 -         
 
- causes
 - 
                    
JDK-8369150 serviceability/jvmti/NMethodRelocation/NMethodRelocationTest.java failed with COH
-         
     - Open
 
 -         
 - 
                    
JDK-8371121 compiler/whitebox/DeoptimizeRelocatedNMethod.java fails with C1
-         
     - Open
 
 -         
 - 
                    
JDK-8369147 Various issues with new tests added by JDK-8316694
-         
     - Resolved
 
 -         
 - 
                    
JDK-8370527 Memory leak after 8316694: Implement relocation of nmethod within CodeCache
-         
     - Resolved
 
 -         
 - 
                    
JDK-8369642 [ubsan] nmethod::nmethod null pointer passed as argument 2 to memcpy
-         
     - Resolved
 
 -         
 - 
                    
JDK-8369257 PPC: compiler/whitebox/RelocateNMethodMultiplePaths.java fails with assertion
-         
     - Resolved
 
 -         
 - 
                    
JDK-8369148 compiler/whitebox/StressNMethodRelocation.java test timed out
-         
     - Closed
 
 -         
 - 
                    
JDK-8369149 compiler/whitebox/StressNMethodRelocation.java fails when running only with C1
-         
     - Closed
 
 -         
 - 
                    
JDK-8369151 serviceability/jvmti/NMethodRelocation/NMethodRelocationTest.java failed when run with different GC
-         
     - Closed
 
 -         
 
- relates to
 - 
                    
JDK-8370571 [lworld] Complete JDK-8316694 implementation for Valhalla
-         
     - Open
 
 -         
 - 
                    
JDK-8326205 Grouping frequently called C2 nmethods in CodeCache
-         
     - Open
 
 -         
 - 
                    
JDK-8358213 Move nmethod immutable data to seperate class
-         
     - Open
 
 -         
 
- links to
 - 
                    
        
        Commit(master)
        openjdk/jdk/f740cd2a
    
 - 
                    
        
        Review(master)
        openjdk/jdk/23573