Font Size: a A A

Transplantation Of OpenJFX Based On Domestic Platform

Posted on:2021-04-10Degree:MasterType:Thesis
Country:ChinaCandidate:Y H DongFull Text:PDF
GTID:2518306107450444Subject:Computer technology
Abstract/Summary:PDF Full Text Request
Rich Internet application is a web application with the characteristics and functions of traditional desktop applications.It not only inherits traditional web applications' characteristics of spreading easily,but also can send and receive data on the client.OpenJFX is a modern and efficient solution for rich Internet applications,which provides good streaming media support and smooth animation support,richer components and a more friendly operation interface.At present,OpenJFX only supports the x86 architecture and the ARM architecture.Porting OpenJFX to the domestic platform is beneficial to enrich the software ecosystem of domestic processors.Firstly,compile OpenJFX on domestic platform.Since the domestic platform does not yet support Gradle,this article summarizes the module compilation tasks and compilation sequence,then wirtes the compilation script of OpenJFX on the domestic platform by analyzing OpenJFX's Gradle build source code and Gradle plugin principle.Then,OpenJFX's transplantation plan is given by analysising of OpenJFX's architecture and source code.OpenJFX's transplantation work on domestic platforms mainly focuses on its media modules and Web modules.the function of dynamically calling and defining functions of Lib FFI on the domestic platform is realized through coding,and the transplantation of the media module is completed.Then,the Web module of OpenJFX is transformed from Web Kit,so first this article summarize the front-end and back-end working processes of Java Script Core,and compare the different modes of backend interpretation and execution,and the LLint interpreter is implemented on the domestic platform by classifying the instruction translation during the execution of intermediate bytecode and performing exception handling for floating-point operations.Finally,test the completed work.Verify the correctness of the code transplantation implementation by using the test cases provided with Lib FFI.Use Web Kit's own automated tests to verify the correctness of the transplanted LLInt interpreter.After that,write test cases to test the availability of the transplanted OpenJFX media module and Web module on the domestic platform.
Keywords/Search Tags:Domestic Processors, RIA, Foreign Function Interface library, JavaScript Interpreter
PDF Full Text Request
Related items