Beispiel #1
0
void InstanceClass::bootstrap_initialize(JVM_SINGLE_ARG_TRAPS) {
  UsingFastOops fast_oops;
#ifndef PRODUCT
  Method::Fast init = find_local_method(Symbols::class_initializer_name(),
                                        Symbols::void_signature());
  GUARANTEE(init.is_null(), "cannot have class initializer");
  AZZERT_ONLY_VAR(init);
#endif
  set_initialized();
#if USE_EMBEDDED_VTABLE_BITMAP
  update_vtable_bitmaps(JVM_SINGLE_ARG_CHECK);
#endif
  verify(JVM_SINGLE_ARG_NO_CHECK_AT_BOTTOM);
}
Beispiel #2
0
boolean dispatch_static_initializer (ClassRecord *aRec, byte *retAddr)
{
  if (is_initialized (aRec))
    return false;
  set_initialized (aRec);
  if (!has_clinit (aRec))
    return false;
  #if DEBUG_METHODS
  printf ("dispatch_static_initializer: has clinit: %d, %d\n",
          (int) aRec, (int) retAddr);
  #endif
  dispatch_special (find_method (aRec, _6clinit_7_4_5V), retAddr);
  return true;
}
TOpUnaryFuncPtr<Scalar>::TOpUnaryFuncPtr()
  :RTOpT<Scalar>("TOpUnaryFuncPtr")
{
  set_initialized();
}
Beispiel #4
0
 void set(boost::detail::thread_move_t<ACT> other) {
     ptr_->act_=other;
     set_initialized();
     ptr_->cv_.notify_all();
 }
Beispiel #5
0
 void set(ACT& other) {
     ptr_->act_=boost::move(other);
     set_initialized();
     ptr_->cv_.notify_all();
 }