From nobody Mon May 16 13:58:59 2022 X-Original-To: java@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7B7231AD0A76 for ; Mon, 16 May 2022 13:59:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L217l5kpNz3L3W for ; Mon, 16 May 2022 13:58:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A19BD21054 for ; Mon, 16 May 2022 13:58:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 24GDwxLt036920 for ; Mon, 16 May 2022 13:58:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24GDwxUR036919 for java@FreeBSD.org; Mon, 16 May 2022 13:58:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 260187] java/bootstrap-openjdk17: broken on aarch64 Date: Mon, 16 May 2022 13:58:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ronald-lists@klop.ws X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Unable to Reproduce X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting Java to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-java List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-java@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652709539; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SXmvt0HYxokKPjwJcqiqQKIo1dTUD0fzd31zEbE1b10=; b=O6DIxGhgDA1jh1BsAW1uAtPCzk90U9TyNzgkQZGKSMNhsenwYfx7dxZ/x9ygsFCh2aq4Y6 1Va9BdCmSoU28VBNGFL5Vcg4Ym+2epCxEp/87qO8FQXZhaoIzJxuRddugwUtsYQDjhAXKS oEO7akBUIMIx+jChiLaAliKNds+fmJSnWDo4Zc1LrAgwbvshiGrx1GBYGyWRKhhQ2eCpFK vOzcXLdjzA46Eatu+WWws6aNq6EZMokxnjuTlmKZwJeeXuW/iSO21rBMc0X/xTlD74mfsg w/+VHIEifcIwpMKLb2llPmLskQ/8lFbt41WfHuoACKX+AMxCKmmxm92CrMrRNA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652709539; a=rsa-sha256; cv=none; b=M4L1L9Gbt9R3WjRUlgKGAMG2twaHAmFHHYB6bTB68oxe4knC8y77l8aZStYVBM1rtI1ONF Wgp2WH1TMjhKWcdg4O718Ayy5quhwiSHPTvNktOw4VMb9I7sbT1GKUa/qpDDM28e9nBm72 i2ewK+ZkG1Rp06E0vVUyRSPkZKGj4j4jxa6o36pmS22gxYWXCNHVF0LM8fl3pCxYXw+fsl aI+aIfm/aihxFbw/3A/gBv+lQa3V94A8qBBKcocH9CkDMMkzDBR+dNp+WeZhiaZ4uNjAMy jkBSeBw7XJ3N8obwT/Wv+I/DGstzA1J32KC4UiURVndZEHwHJ+CTuDAWY/Jh3A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260187 --- Comment #9 from Ronald Klop --- These settings have something to do with it: [root@rpi4 ~]# /usr/local/bootstrap-openjdk17/bin/java -version Error occurred during initialization of VM Could not allocate compressed class space: 1073741824 bytes [root@rpi4 ~]# /usr/local/bootstrap-openjdk17/bin/java -XX:CompressedClassSpaceSize=3D1m -version Error occurred during initialization of VM Could not allocate compressed class space: 4194304 bytes [root@rpi4 ~]# /usr/local/bootstrap-openjdk17/bin/java -XX:CompressedClassSpaceSize=3D10g -version size_t CompressedClassSpaceSize=3D10737418240 is outside the allowed range [ 1048576 ... 3221225472 ] Improperly specified VM option 'CompressedClassSpaceSize=3D10g' Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. No value of CompressedClassSpaceSize works. But disabling CompressedClassPointers does: [root@rpi4 ~]# /usr/local/bootstrap-openjdk17/bin/java -XX:-UseCompressedClassPointers -version openjdk version "17.0.1" 2021-10-19 OpenJDK Runtime Environment (build 17.0.1+12-1) OpenJDK 64-Bit Server VM (build 17.0.1+12-1, mixed mode) --=20 You are receiving this mail because: You are the assignee for the bug.=