comparison src/share/vm/oops/klass.hpp @ 6988:2cb439954abf

Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author Gilles Duboscq <duboscq@ssw.jku.at>
date Mon, 19 Nov 2012 15:36:13 +0100
parents e522a00b91aa 070d523b96a7
children 8c4b757c2eb9
comparison
equal deleted inserted replaced
6963:dd0dd0321e2a 6988:2cb439954abf
427 427
428 // Check whether reflection/jni/jvm code is allowed to instantiate this class; 428 // Check whether reflection/jni/jvm code is allowed to instantiate this class;
429 // if not, throw either an Error or an Exception. 429 // if not, throw either an Error or an Exception.
430 virtual void check_valid_for_instantiation(bool throwError, TRAPS); 430 virtual void check_valid_for_instantiation(bool throwError, TRAPS);
431 431
432 // Casting
433 static Klass* cast(Klass* k) {
434 assert(k->is_klass(), "cast to Klass");
435 return k;
436 }
437
438 // array copying 432 // array copying
439 virtual void copy_array(arrayOop s, int src_pos, arrayOop d, int dst_pos, int length, TRAPS); 433 virtual void copy_array(arrayOop s, int src_pos, arrayOop d, int dst_pos, int length, TRAPS);
440 434
441 // tells if the class should be initialized 435 // tells if the class should be initialized
442 virtual bool should_be_initialized() const { return false; } 436 virtual bool should_be_initialized() const { return false; }