Giter Club home page Giter Club logo

Comments (5)

dreamlike-ocean avatar dreamlike-ocean commented on July 30, 2024

目前无法做出来static final的效果 请实现

from panamauring.

zhengziyi0117 avatar zhengziyi0117 commented on July 30, 2024

1

from panamauring.

dreamlike-ocean avatar dreamlike-ocean commented on July 30, 2024

当前问题汇总
1,native call generator的static final methodhandle字段已经上线,对于生成出来的方法调用的正是其methohandle::invokeArguments方法,尝试探索使用bytebuddy 的HandleInovaction类搓出来对应的invokeExact调用,以接近编译期生成的性能
2,Struct proxy generator varhandle static final字段已经上线,但是仍未调整对应的setter和getter逻辑到varhandle上,是否继续使用varhandle存疑,或许使用offset统一取值会更好

from panamauring.

dreamlike-ocean avatar dreamlike-ocean commented on July 30, 2024

当前进度更新
1,native call生成全量切入methodinvoke::invokeexact方案
2,structproxy 完成varhandle::get方案的字节码生成部分,等待迁移
3,考虑是否以上部分需要realmemory时直接获取对应字段值而非使用mark接口带进来的realmemory方法

from panamauring.

dreamlike-ocean avatar dreamlike-ocean commented on July 30, 2024

当前进度更新
1,native call生成全量切入methodinvoke::invokeexact方案
2,structproxy 完成varhandle::get方案的字节码生成部分,全量切入
3, 支持native call返回一个指针然后自动映射为java对象

todo
StructProxy的rebind功能 @zhengziyi0117 看看能不能做

from panamauring.

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.