mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8078644: CDS needs to support JVMTI CFLH
Support posting CLFH for shared classes. Tests are contributed by Misha Seledtsov. Reviewed-by: iklam, coleenp, acorn, dcubed, sspitsyn
This commit is contained in:
parent
38eb4a4f6f
commit
eb52950704
28 changed files with 1256 additions and 68 deletions
|
@ -783,7 +783,7 @@ public:
|
|||
void set_cached_class_file(JvmtiCachedClassFileData *data) {
|
||||
_cached_class_file = data;
|
||||
}
|
||||
JvmtiCachedClassFileData * get_cached_class_file() { return _cached_class_file; }
|
||||
JvmtiCachedClassFileData * get_cached_class_file();
|
||||
jint get_cached_class_file_len();
|
||||
unsigned char * get_cached_class_file_bytes();
|
||||
|
||||
|
@ -795,6 +795,13 @@ public:
|
|||
return _jvmti_cached_class_field_map;
|
||||
}
|
||||
|
||||
#if INCLUDE_CDS
|
||||
void set_archived_class_data(JvmtiCachedClassFileData* data) {
|
||||
_cached_class_file = data;
|
||||
}
|
||||
|
||||
JvmtiCachedClassFileData * get_archived_class_data();
|
||||
#endif // INCLUDE_CDS
|
||||
#else // INCLUDE_JVMTI
|
||||
|
||||
static void purge_previous_versions(InstanceKlass* ik) { return; };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue