8204194: Lazily create MethodHandleImpl$AsVarargsCollector.asCollectorCache

Reviewed-by: psandoz
This commit is contained in:
Claes Redestad 2018-06-01 11:34:13 +02:00
parent c2f454bb57
commit f4b24c3473

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2008, 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -499,7 +499,6 @@ import static jdk.internal.org.objectweb.asm.Opcodes.*;
super(type, target);
this.target = target;
this.arrayType = arrayType;
this.asCollectorCache = target.asCollector(arrayType, 0);
}
@Override