RFR: 8317542: Specjvm::xml have scalability issue for high vCPU numbers
Alan Bateman
alanb at openjdk.org
Mon Nov 4 08:09:28 UTC 2024
On Thu, 31 Oct 2024 21:33:11 GMT, Vladimir Ivanov <vaivanov at openjdk.org> wrote:
> The synchronization block may be substituted by the 'volatile' variable smaller synchronization block.
> It reduce the total blocking time for the specjvm2008::xml.validation workload and improve the reported score.
> Scores for the 112vCPU on the with 28GB heap increased from 17915.83 to 22943.2.
> Unit tests was not affected:
> Test summary
> ==============================
> TEST TOTAL PASS FAIL ERROR
> jtreg:test/jaxp 516 516 0 0
> jtreg:test/jdk/javax/xml 70 70 0 0
> ==============================
> TEST SUCCESS
>
> The tier1 is OK too.
Could this code be converted to use a j.u.c.Semaphore with a single permit? It has the tryAcquire/release that appears to be needed here.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21815#issuecomment-2454046752
More information about the core-libs-dev
mailing list