Mercurial > hg > truffle
comparison src/share/vm/prims/jvmtiRedefineClasses.hpp @ 7963:9bf5f643d1cf
8006542: JSR 292: the VM_RedefineClasses::append_entry() must support invokedynamic entry kinds
Summary: Need a support for invokedynamic entry kinds when new and old constant pools are merged.
Reviewed-by: coleenp, twisti
Contributed-by: serguei.spitsyn@oracle.com
author | sspitsyn |
---|---|
date | Thu, 31 Jan 2013 20:07:18 -0800 |
parents | 5daaddd917a1 |
children | 8d9fc28831cc |
comparison
equal
deleted
inserted
replaced
7959:7885e162c30f | 7963:9bf5f643d1cf |
---|---|
419 | 419 |
420 // Increment the classRedefinedCount field in the specific InstanceKlass | 420 // Increment the classRedefinedCount field in the specific InstanceKlass |
421 // and in all direct and indirect subclasses. | 421 // and in all direct and indirect subclasses. |
422 void increment_class_counter(InstanceKlass *ik, TRAPS); | 422 void increment_class_counter(InstanceKlass *ik, TRAPS); |
423 | 423 |
424 // Support for constant pool merging (these routines are in alpha | 424 // Support for constant pool merging (these routines are in alpha order): |
425 // order): | |
426 void append_entry(constantPoolHandle scratch_cp, int scratch_i, | 425 void append_entry(constantPoolHandle scratch_cp, int scratch_i, |
426 constantPoolHandle *merge_cp_p, int *merge_cp_length_p, TRAPS); | |
427 int find_or_append_indirect_entry(constantPoolHandle scratch_cp, int scratch_i, | |
427 constantPoolHandle *merge_cp_p, int *merge_cp_length_p, TRAPS); | 428 constantPoolHandle *merge_cp_p, int *merge_cp_length_p, TRAPS); |
428 int find_new_index(int old_index); | 429 int find_new_index(int old_index); |
429 bool is_unresolved_class_mismatch(constantPoolHandle cp1, int index1, | 430 bool is_unresolved_class_mismatch(constantPoolHandle cp1, int index1, |
430 constantPoolHandle cp2, int index2); | 431 constantPoolHandle cp2, int index2); |
431 void map_index(constantPoolHandle scratch_cp, int old_index, int new_index); | 432 void map_index(constantPoolHandle scratch_cp, int old_index, int new_index); |