8242452: During module definition, move conversion of packages from native to VM

8242290: Pointless verification in get_package_entry_by_name

Reviewed-by: lfoltan, iklam, hseigel
This commit is contained in:
Claes Redestad 2020-04-18 19:45:45 +02:00
parent 4d487927ad
commit d185fe9953
11 changed files with 202 additions and 309 deletions

View file

@ -168,6 +168,8 @@ class java_lang_String : AllStatic {
// String converters
static char* as_utf8_string(oop java_string);
static char* as_utf8_string(oop java_string, int& length);
static char* as_utf8_string_full(oop java_string, char* buf, int buflen, int& length);
static char* as_utf8_string(oop java_string, char* buf, int buflen);
static char* as_utf8_string(oop java_string, int start, int len);
static char* as_utf8_string(oop java_string, typeArrayOop value, char* buf, int buflen);