equal
deleted
inserted
replaced
26 |
26 |
27 #include <new> |
27 #include <new> |
28 |
28 |
29 #include "classfile/classLoaderData.hpp" |
29 #include "classfile/classLoaderData.hpp" |
30 #include "classfile/modules.hpp" |
30 #include "classfile/modules.hpp" |
|
31 #include "classfile/protectionDomainCache.hpp" |
31 #include "classfile/stringTable.hpp" |
32 #include "classfile/stringTable.hpp" |
32 #include "code/codeCache.hpp" |
33 #include "code/codeCache.hpp" |
33 #include "compiler/methodMatcher.hpp" |
34 #include "compiler/methodMatcher.hpp" |
34 #include "compiler/directivesParser.hpp" |
35 #include "compiler/directivesParser.hpp" |
35 #include "gc/shared/gcConfig.hpp" |
36 #include "gc/shared/gcConfig.hpp" |
1973 #endif |
1974 #endif |
1974 WB_END |
1975 WB_END |
1975 |
1976 |
1976 WB_ENTRY(jint, WB_ResolvedMethodRemovedCount(JNIEnv* env, jobject o)) |
1977 WB_ENTRY(jint, WB_ResolvedMethodRemovedCount(JNIEnv* env, jobject o)) |
1977 return (jint) ResolvedMethodTable::removed_entries_count(); |
1978 return (jint) ResolvedMethodTable::removed_entries_count(); |
|
1979 WB_END |
|
1980 |
|
1981 WB_ENTRY(jint, WB_ProtectionDomainRemovedCount(JNIEnv* env, jobject o)) |
|
1982 return (jint) SystemDictionary::pd_cache_table()->removed_entries_count(); |
1978 WB_END |
1983 WB_END |
1979 |
1984 |
1980 |
1985 |
1981 #define CC (char*) |
1986 #define CC (char*) |
1982 |
1987 |
2197 (void*)&WB_CheckLibSpecifiesNoexecstack}, |
2202 (void*)&WB_CheckLibSpecifiesNoexecstack}, |
2198 {CC"isContainerized", CC"()Z", (void*)&WB_IsContainerized }, |
2203 {CC"isContainerized", CC"()Z", (void*)&WB_IsContainerized }, |
2199 {CC"printOsInfo", CC"()V", (void*)&WB_PrintOsInfo }, |
2204 {CC"printOsInfo", CC"()V", (void*)&WB_PrintOsInfo }, |
2200 {CC"disableElfSectionCache", CC"()V", (void*)&WB_DisableElfSectionCache }, |
2205 {CC"disableElfSectionCache", CC"()V", (void*)&WB_DisableElfSectionCache }, |
2201 {CC"resolvedMethodRemovedCount", CC"()I", (void*)&WB_ResolvedMethodRemovedCount }, |
2206 {CC"resolvedMethodRemovedCount", CC"()I", (void*)&WB_ResolvedMethodRemovedCount }, |
|
2207 {CC"protectionDomainRemovedCount", CC"()I", (void*)&WB_ProtectionDomainRemovedCount }, |
2202 }; |
2208 }; |
2203 |
2209 |
2204 |
2210 |
2205 #undef CC |
2211 #undef CC |
2206 |
2212 |