6830542: Performance: JVM_DefineClass already verified

Reviewed-by: kamg, phh
This commit is contained in:
Karen Kinnear 2009-09-04 12:53:02 -04:00
parent c04761e799
commit 488e99efd8
19 changed files with 103 additions and 34 deletions

View file

@ -259,7 +259,9 @@ public:
TRAPS);
// Resolve from stream (called by jni_DefineClass and JVM_DefineClass)
static klassOop resolve_from_stream(symbolHandle class_name, Handle class_loader, Handle protection_domain, ClassFileStream* st, TRAPS);
static klassOop resolve_from_stream(symbolHandle class_name, Handle class_loader,
Handle protection_domain,
ClassFileStream* st, bool verify, TRAPS);
// Lookup an already loaded class. If not found NULL is returned.
static klassOop find(symbolHandle class_name, Handle class_loader, Handle protection_domain, TRAPS);