8291558: unify print_jni_name_prefix_on and print_jni_name_suffix_on on posix platforms

Reviewed-by: dholmes, stuefe
This commit is contained in:
Matthias Baesken 2022-08-01 13:24:31 +00:00
parent f5d1b5bda2
commit 464085ed90
4 changed files with 8 additions and 24 deletions

View File

@ -1394,14 +1394,6 @@ void os::jvm_path(char *buf, jint buflen) {
saved_jvm_path[sizeof(saved_jvm_path) - 1] = '\0';
}
void os::print_jni_name_prefix_on(outputStream* st, int args_size) {
// no prefix required, not even "_"
}
void os::print_jni_name_suffix_on(outputStream* st, int args_size) {
// no suffix required
}
////////////////////////////////////////////////////////////////////////////////
// Virtual Memory

View File

@ -1474,14 +1474,6 @@ void os::jvm_path(char *buf, jint buflen) {
saved_jvm_path[MAXPATHLEN - 1] = '\0';
}
void os::print_jni_name_prefix_on(outputStream* st, int args_size) {
// no prefix required, not even "_"
}
void os::print_jni_name_suffix_on(outputStream* st, int args_size) {
// no suffix required
}
////////////////////////////////////////////////////////////////////////////////
// Virtual Memory

View File

@ -2591,14 +2591,6 @@ void os::jvm_path(char *buf, jint buflen) {
saved_jvm_path[MAXPATHLEN - 1] = '\0';
}
void os::print_jni_name_prefix_on(outputStream* st, int args_size) {
// no prefix required, not even "_"
}
void os::print_jni_name_suffix_on(outputStream* st, int args_size) {
// no suffix required
}
////////////////////////////////////////////////////////////////////////////////
// Virtual Memory

View File

@ -601,6 +601,14 @@ void os::Posix::print_active_locale(outputStream* st) {
}
}
void os::print_jni_name_prefix_on(outputStream* st, int args_size) {
// no prefix required
}
void os::print_jni_name_suffix_on(outputStream* st, int args_size) {
// no suffix required
}
bool os::get_host_name(char* buf, size_t buflen) {
struct utsname name;
uname(&name);