-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
master
In JDK-8330144, `free_memory` has been renamed and the third arg is dropped.
- static void free_memory(char *addr, size_t bytes, size_t alignment_hint);
+ static void disclaim_memory(char *addr, size_t bytes);
The surrounding comment in the caller `bias_region` is not updated though.
```
// The alignment_hint argument must be less than or equal to the small page
// size if not using large pages or else this function does nothing.
```
It refers to the removed third-arg and can be dropped.
- static void free_memory(char *addr, size_t bytes, size_t alignment_hint);
+ static void disclaim_memory(char *addr, size_t bytes);
The surrounding comment in the caller `bias_region` is not updated though.
```
// The alignment_hint argument must be less than or equal to the small page
// size if not using large pages or else this function does nothing.
```
It refers to the removed third-arg and can be dropped.
- links to
-
Commit(master) openjdk/jdk/5a1301df
-
Review(master) openjdk/jdk/25984