src/share/vm/prims/jvmtiImpl.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/prims/jvmtiImpl.cpp Thu Apr 16 13:30:56 2015
--- new/src/share/vm/prims/jvmtiImpl.cpp Thu Apr 16 13:30:55 2015
*** 297,308 ****
--- 297,308 ----
for (int i = methods->length() - 1; i >= 0; i--) {
Method* method = methods->at(i);
// Only set breakpoints in running EMCP methods.
if (method->is_running_emcp() &&
! method->name() == m_name &&
! method->signature() == m_signature) {
! method->name()->equals(m_name) &&
! method->signature()->equals(m_signature)) {
RC_TRACE(0x00000800, ("%sing breakpoint in %s(%s)",
meth_act == &Method::set_breakpoint ? "sett" : "clear",
method->name()->as_C_string(),
method->signature()->as_C_string()));
*** 603,627 ****
--- 603,627 ----
if (ty_sign[0] == 'L' && ty_sign[len-1] == ';') { // Need pure class/interface name
ty_sign++;
len -= 2;
}
TempNewSymbol ty_sym = SymbolTable::new_symbol(ty_sign, len, thread);
! if (klass->name() == ty_sym) {
! if (klass->name()->equals(ty_sym)) {
return true;
}
// Compare primary supers
int super_depth = klass->super_depth();
int idx;
for (idx = 0; idx < super_depth; idx++) {
! if (klass->primary_super_of_depth(idx)->name() == ty_sym) {
! if (klass->primary_super_of_depth(idx)->name()->equals(ty_sym)) {
return true;
}
}
// Compare secondary supers
Array<Klass*>* sec_supers = klass->secondary_supers();
for (idx = 0; idx < sec_supers->length(); idx++) {
! if (((Klass*) sec_supers->at(idx))->name() == ty_sym) {
! if (((Klass*) sec_supers->at(idx))->name()->equals(ty_sym)) {
return true;
}
}
return false;
}
src/share/vm/prims/jvmtiImpl.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File