Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#60612 - [jdk-openjdk] No support for ZGC

Attached to Project: Arch Linux
Opened by Caio (errado) - Saturday, 27 October 2018, 07:44 GMT
Last edited by Levente Polyak (anthraxx) - Saturday, 27 October 2018, 09:05 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Hello! Thanks for maintaining this package.

It looks like the new jdk-openjdk package targeting java version 11 comes without support for ZGC- is this intentional?

The binary at http://jdk.java.net/11/ does support it.

I can't seem to find the PKGBUILD for this package, but I'd guess it's missing `--with-jvm-features=zgc` flag if building from sources: https://wiki.openjdk.java.net/display/zgc/Main#Main-DownloadandBuildfromSource

Additional info:

* package version: jdk-openjdk 11.0.1.u13-1
* config and/or log files etc: nothing relevant


Steps to reproduce:

I expect that this runs nicely:

$ java -XX:+UnlockExperimentalVMOptions -XX:+UseZGC
Error occurred during initialization of VM
Option -XX:+UseZGC not supported
This task depends upon

Closed by  Levente Polyak (anthraxx)
Saturday, 27 October 2018, 09:05 GMT
Reason for closing:  Implemented
Additional comments about closing:  11.0.1.u13-2
Comment by Levente Polyak (anthraxx) - Saturday, 27 October 2018, 09:05 GMT
side note: you will need to specify -Xmx during a runtime

Loading...