Integrated: 8264538: Rename SystemDictionary::parse_stream
Coleen Phillimore
coleenp at openjdk.java.net
Thu Apr 1 14:58:13 UTC 2021
On Wed, 31 Mar 2021 19:46:24 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> This function is used to call the classfile parser for hidden or anonymous classes, and for use with jvmti RedefineClasses. The latter only calls KlassFactory::create_from_stream and skips the rest of the code in SystemDictionary::parse_stream.
>
> Renamed SystemDictionary::parse_stream -> resolve_hidden_class_from_stream
> resolve_from_stream -> resolve_class_from_stream
> and have SystemDictionary::resolve_from_stream() call the right version depending on ClassLoadInfo flags. Callers of resolve_from_stream now pass protection domain via. ClassLoadInfo.
>
> So the external API is resolve_from_stream.
>
> Tested with tier1 on 4 Oracle supported platforms.
This pull request has now been integrated.
Changeset: 1dc75e9e
Author: Coleen Phillimore <coleenp at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/1dc75e9e
Stats: 138 lines in 7 files changed: 37 ins; 29 del; 72 mod
8264538: Rename SystemDictionary::parse_stream
Reviewed-by: lfoltan, hseigel
-------------
PR: https://git.openjdk.java.net/jdk/pull/3289
More information about the hotspot-dev
mailing list