8175233: Remove LambdaForm.debugName

Reviewed-by: vlivanov, psandoz, jrose
This commit is contained in:
Claes Redestad 2017-02-22 11:03:33 +01:00
parent 3b50c5f35b
commit 8d5f5b9a6b
11 changed files with 158 additions and 131 deletions

View file

@ -82,9 +82,9 @@ public final class LFGarbageCollectedTest extends LambdaFormTestCase {
throw new Error("Unexpected error: Lambda form of the method handle is null");
}
String debugName = (String)DEBUG_NAME.get(lambdaForm);
if (debugName != null && debugName.startsWith("identity_")) {
// Ignore identity_* LambdaForms.
String kind = KIND_FIELD.get(lambdaForm).toString();
if (kind.equals("IDENTITY")) {
// Ignore identity LambdaForms.
return;
}