-
Type:
Bug
-
Resolution: Not an Issue
-
Priority:
P3
-
Affects Version/s: 11, 17, 19, 20
-
Component/s: hotspot
Found while I worked on JDK-8289633.
JVMCI CodeInstaller strdup's the name before creating the codeblob in CodeInstaller::install(). Note that it uses raw strdup instead of os::strdup, which is why this does not show up in NMT. But ~CodeBlob does not release the name.
AFAICS all other places where code blobs are created are using static strings.
JVMCI CodeInstaller strdup's the name before creating the codeblob in CodeInstaller::install(). Note that it uses raw strdup instead of os::strdup, which is why this does not show up in NMT. But ~CodeBlob does not release the name.
AFAICS all other places where code blobs are created are using static strings.
- relates to
-
JDK-8289633 Forbid raw C-heap allocation functions in hotspot and fix findings
-
- Resolved
-