Lines Matching defs:mask

43   // fills the bit mask for native calls
51 void allocate_bit_mask(); // allocates the bit mask on C heap f necessary
52 void deallocate_bit_mask(); // allocates the bit mask on C heap f necessary
170 // The expection is that the bit mask was allocated
216 uintptr_t mask = 0;
218 for (int i = 0; i < n; i++, mask <<= bits_per_entry) {
220 if (mask == 0) {
222 mask = 1;
225 if ((value & (mask << oop_bit_number)) != 0) oop_closure->offset_do(i);
243 uintptr_t mask = 0;
245 for (int i = 0; i < n; i++, mask <<= bits_per_entry) {
247 if (mask == 0) {
249 mask = 1;
252 if ((value & (mask << dead_bit_number)) != 0) dead_closure->offset_do(i); // call this for all dead values or oops
253 else if ((value & (mask << oop_bit_number)) != 0) oop_closure->offset_do(i); // call this for all live oops
278 uintptr_t * _mask; // the bit mask to be filled
279 int _size; // the mask size in bits
294 MaskFillerForNative(methodHandle method, uintptr_t* mask, int size) : NativeSignatureIterator(method) {
295 _mask = mask;
308 // Check mask includes map
320 assert(v1 == v2, "locals oop mask generation error");
325 assert(v3 == v4, "locals live mask generation error");
334 assert(v1 == v2, "stack oop mask generation error");
339 assert(v3 == v4, "stack live mask generation error");
349 assert(_bit_mask[0] == 0, "bit mask should be new or just flushed");
358 "This bit mask should not be in the resource area");
369 // fill mask for parameters
397 // compute bit mask size
407 uintptr_t mask = 1;
410 for (int entry_index = 0; entry_index < n_entries; entry_index++, mask <<= bits_per_entry, cell++) {
412 if (mask == 0) {
415 mask = 1;
425 value |= (mask << oop_bit_number );
431 value |= (mask << dead_bit_number);
440 // verify bit mask
441 assert(verify_mask(vars, stack, max_locals, stack_top), "mask could not be verified");
474 // Is the bit mask contained in the entry?
481 // If the bit mask has a value, it should be in the
485 "The bit mask should have been allocated from a resource area");
490 assert(_bit_mask[0] != 0, "bit mask was not allocated");