[foreign-memaccess+abi] RFR: 8268743: Require a better way for copying data between MemorySegments and on-heap arrays

Giuseppe Barbieri elect86 at gmail.com
Wed Jun 16 09:19:49 UTC 2021


Il giorno mer 16 giu 2021 alle ore 11:08 Maurizio Cimadamore <
maurizio.cimadamore at oracle.com> ha scritto:

> Hey Giuseppe - how hard would it be to set up a build for this branch too:
>
> https://github.com/mcimadamore/panama-foreign/tree/small_copy_benchmark/
>
> I believe that would be the most useful for Uwe to play with. After
> we're done with the experiment we can drop it of course.
>
> Thanks (and sorry for the inconvenience).
>
> Maurizio
>


You should first enable github action on the repo (browse to the github
repo webpage, click on "Actions" and you should see the option to enable
it, if it has not been done yet)

Then, just add something like this

- name: ��️ Create release
  if: strategy.job-index == 0
  uses: ncipollo/release-action at v1
  with:
    artifacts: ~/jdk-linux-x64${{ matrix.artifact }}/jdk-${{
env.JDK_VERSION }}-internal+0_linux-x64_bin${{ matrix.artifact
}}.tar.gz
    token: ${{ secrets.GITHUB_TOKEN }}
    tag: $GITHUB_ACTOR-$GITHUB_SHA
    body: $GITHUB_ACTOR-$GITHUB_SHA
    draft: true

after

name: Check that all tests executed successfully

in the following task

linux_x64_test

It still needs to be polished though (properly retrieving GITHUB_ACTOR and
GITHUB_SHA to say), but for a quick & dirty build should be sufficient

Ps: I still don't have a signed OCA, so I can't do that myself

Giuseppe


More information about the panama-dev mailing list