comparison src/share/vm/runtime/javaCalls.hpp @ 465:dc16daa0329d

6739363: Xcheck jni doesn't check native function arguments Summary: Fix adds support for verifying arguments with -Xcheck:jni. Reviewed-by: coleenp
author poonam
date Thu, 04 Dec 2008 17:29:56 -0800
parents a61af66fc99e
children ad8c8ca4ab0f
comparison
equal deleted inserted replaced
414:348be627a148 465:dc16daa0329d
148 // Converts all Handles to oops, and returns a reference to parameter vector 148 // Converts all Handles to oops, and returns a reference to parameter vector
149 intptr_t* parameters() ; 149 intptr_t* parameters() ;
150 int size_of_parameters() const { return _size; } 150 int size_of_parameters() const { return _size; }
151 151
152 // Verify that pushed arguments fits a given method 152 // Verify that pushed arguments fits a given method
153 void verify(methodHandle method, BasicType return_type, Thread *thread) PRODUCT_RETURN; 153 void verify(methodHandle method, BasicType return_type, Thread *thread);
154 }; 154 };
155 155
156 // All calls to Java have to go via JavaCalls. Sets up the stack frame 156 // All calls to Java have to go via JavaCalls. Sets up the stack frame
157 // and makes sure that the last_Java_frame pointers are chained correctly. 157 // and makes sure that the last_Java_frame pointers are chained correctly.
158 // 158 //