for example, how does java.lang.Object-sharpwait (), locate it in the jvm source code?
for example, how does java.lang.Object-sharpwait (), locate it in the jvm source code?
from the jdk/src/share/native/java/lang/Object.c file, you can find
static JNINativeMethod methods[] = {
{"hashCode", "()I", (void *)&JVM_IHashCode},
{"wait", "(J)V", (void *)&JVM_MonitorWait},
{"notify", "()V", (void *)&JVM_MonitorNotify},
{"notifyAll", "()V", (void *)&JVM_MonitorNotifyAll},
{"clone", "()Ljava/lang/Object;", (void *)&JVM_Clone},
};
so you need to look at JVM_MonitorWait
you can use grep
to search, and a better tool is source insight
Previous: What if the modal component of antdesign cannot access IntlProvider,?
Next: Why the object in data returned by method in vue is this {_ _ ob__: Observer}