--- old/src/share/vm/runtime/signature.hpp 2013-10-08 14:00:28.684650619 +0200 +++ new/src/share/vm/runtime/signature.hpp 2013-10-08 14:00:28.454156167 +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 {