diff -r 46ef27bcacb3 -r d13d7aba8c12 src/share/vm/runtime/signature.hpp --- a/src/share/vm/runtime/signature.hpp Wed Oct 09 11:05:17 2013 -0700 +++ b/src/share/vm/runtime/signature.hpp Wed Oct 09 16:32:21 2013 +0200 @@ -401,6 +401,9 @@ // return same as_symbol except allocation of new symbols is avoided. Symbol* as_symbol_or_null(); + + // count the number of references in the signature + int reference_parameter_count(); }; class SignatureVerifier : public StackObj {