Giter VIP home page Giter VIP logo

Comments (15)

yujincheng08 avatar yujincheng08 commented on July 28, 2024

看起来像是 jit 的问题。

from pine.

panzhi1 avatar panzhi1 commented on July 28, 2024

只有在release下才会发生这种情况,debug下没有发生。日志里在突变失败的时候,没有任何信息变化

from pine.

yujincheng08 avatar yujincheng08 commented on July 28, 2024

看起来像是 jit 的问题。

from pine.

panzhi1 avatar panzhi1 commented on July 28, 2024

看起来像是 jit 的问题。
麻烦说下嘛?

看起来像是 jit 的问题。

麻烦能说具体点吗?

from pine.

yujincheng08 avatar yujincheng08 commented on July 28, 2024

jit 把热点方法编译之后覆盖了啊

from pine.

panzhi1 avatar panzhi1 commented on July 28, 2024

jit 把热点方法编译之后覆盖了啊

谢谢! 但为啥只在release出现,debug下不会出现?在hook不到之后,我又主动调用了这个方法,还是不会被hook到?

请问有没有办法解决呢?

from pine.

yujincheng08 avatar yujincheng08 commented on July 28, 2024

debug 因为要给 debugger 加断点所以不会启用 jit。

解决方法就是 Pine.disableJitInline();

from pine.

panzhi1 avatar panzhi1 commented on July 28, 2024

debug 因为要给 debugger 加断点所以不会启用 jit。

解决方法就是 Pine.disableJitInline();

感谢! 请问disableJitInline这个方法调用时机有要求吗?我调用返回false了

from pine.

panzhi1 avatar panzhi1 commented on July 28, 2024

debug 因为要给 debugger 加断点所以不会启用 jit。
解决方法就是 Pine.disableJitInline();

感谢! 请问disableJitInline这个方法调用时机有要求吗?我调用返回false了

Unexpected inline_max_code_units value 4064260840 (offset 48). 看注释是因为设备厂商修改了偏移量导致失败了

from pine.

yujincheng08 avatar yujincheng08 commented on July 28, 2024

那只能等修复了。

或者可以试试 LSPlant

from pine.

panzhi1 avatar panzhi1 commented on July 28, 2024

那只能等修复了。

谢谢了

from pine.

panzhi1 avatar panzhi1 commented on July 28, 2024

那只能等修复了。

大佬 没有办法指定对应函数不被Jit优化吗?

from pine.

yujincheng08 avatar yujincheng08 commented on July 28, 2024

@panzhi1 应该已经处理过才对。

你要不还是试试 LSPlant

from pine.

panzhi1 avatar panzhi1 commented on July 28, 2024

LSPlant

好的 我试下

from pine.

panzhi1 avatar panzhi1 commented on July 28, 2024

在hook方法调用前加上try-catch就可以了

from pine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.