Mercurial > hg > graal-compiler
comparison src/share/vm/prims/jvm.h @ 973:ad6585fd4087
6830542: Performance: JVM_DefineClass already verified.
Reviewed-by: kamg, phh
author | acorn |
---|---|
date | Fri, 04 Sep 2009 12:53:02 -0400 |
parents | abe076e3636f |
children | 7a102acc9f17 |
comparison
equal
deleted
inserted
replaced
967:6918603297f7 | 973:ad6585fd4087 |
---|---|
414 /* Define a class with a source (added in JDK1.5) */ | 414 /* Define a class with a source (added in JDK1.5) */ |
415 JNIEXPORT jclass JNICALL | 415 JNIEXPORT jclass JNICALL |
416 JVM_DefineClassWithSource(JNIEnv *env, const char *name, jobject loader, | 416 JVM_DefineClassWithSource(JNIEnv *env, const char *name, jobject loader, |
417 const jbyte *buf, jsize len, jobject pd, | 417 const jbyte *buf, jsize len, jobject pd, |
418 const char *source); | 418 const char *source); |
419 | |
420 /* Define a class with a source with conditional verification (added HSX 14) | |
421 * -Xverify:all will verify anyway, -Xverify:none will not verify, | |
422 * -Xverify:remote (default) will obey this conditional | |
423 * i.e. true = should_verify_class | |
424 */ | |
425 JNIEXPORT jclass JNICALL | |
426 JVM_DefineClassWithSourceCond(JNIEnv *env, const char *name, | |
427 jobject loader, const jbyte *buf, | |
428 jsize len, jobject pd, const char *source, | |
429 jboolean verify); | |
419 | 430 |
420 /* Define a class with a source (MLVM) */ | 431 /* Define a class with a source (MLVM) */ |
421 JNIEXPORT jclass JNICALL | 432 JNIEXPORT jclass JNICALL |
422 JVM_DefineClassWithCP(JNIEnv *env, const char *name, jobject loader, | 433 JVM_DefineClassWithCP(JNIEnv *env, const char *name, jobject loader, |
423 const jbyte *buf, jsize len, jobject pd, | 434 const jbyte *buf, jsize len, jobject pd, |