92 Star 498 Fork 187

GVPopenEuler / bishengjdk-8

 / 详情

objectMonitor.cpp 中的Knob_MoveNotifyee、Knob_QMode参数疑问

待办的
任务
创建于  
2024-04-07 15:13

static int Knob_MoveNotifyee = 2; // notify() - disposition of notifyee
static int Knob_QMode = 0; // EntryList-cxq policy - queue discipline
src/hotspot/share/runtime/objectMonitor.cpp包下的这两参数,这是不同操作系统,编译后设置的值不一样嘛,我看notify和notifyAll中有policy = Knob_MoveNotifyee, policy=1,2、3值,走了不同分支,在执行exit方法Knob_QMode =2,3,4等情况也是走了不同分支,想知道这些值,是根据不同操作系统,编译时候会赋值不一样的嘛

评论 (3)

lords 创建了任务

Hi dong-g, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Compiler, and any of the maintainers: @Noah , @eastb233 , @guoge , @cf-zhao , @jiangfeilong , @编译小伙 , @周磊 , @wangyadong , @stubCode , @jianhai_feng , @kuen

thank you

openeuler-ci-bot 添加了
 
sig/Compiler
标签
lords 修改了描述

已wx回复。建议保持Policy策略选择不变。有其他policy的测试结果,可以将测试结果共享下,谢谢

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936
Java
1
https://gitee.com/openeuler/bishengjdk-8.git
git@gitee.com:openeuler/bishengjdk-8.git
openeuler
bishengjdk-8
bishengjdk-8

搜索帮助