Mercurial > hg > truffle
comparison src/share/vm/classfile/javaClasses.cpp @ 242:d95b224e9f17
6721093: -XX:AppendRatio=N not supported
Summary: Add mechanism to ignore unsupported flags for a set period of time
Reviewed-by: acorn, never, coleenp
author | kamg |
---|---|
date | Mon, 28 Jul 2008 14:07:44 -0400 |
parents | d1605aabd0a1 |
children | 2328d1d3f8cf |
comparison
equal
deleted
inserted
replaced
237:1fdb98a17101 | 242:d95b224e9f17 |
---|---|
647 return 0; | 647 return 0; |
648 } | 648 } |
649 } | 649 } |
650 | 650 |
651 oop java_lang_Thread::park_blocker(oop java_thread) { | 651 oop java_lang_Thread::park_blocker(oop java_thread) { |
652 assert(JDK_Version::supports_thread_park_blocker() && _park_blocker_offset != 0, | 652 assert(JDK_Version::current().supports_thread_park_blocker() && |
653 "Must support parkBlocker field"); | 653 _park_blocker_offset != 0, "Must support parkBlocker field"); |
654 | 654 |
655 if (_park_blocker_offset > 0) { | 655 if (_park_blocker_offset > 0) { |
656 return java_thread->obj_field(_park_blocker_offset); | 656 return java_thread->obj_field(_park_blocker_offset); |
657 } | 657 } |
658 | 658 |