{"id":15069488,"url":"https://github.com/sbt/sbt-jcstress","last_synced_at":"2025-04-10T16:52:23.753Z","repository":{"id":45529262,"uuid":"87659472","full_name":"sbt/sbt-jcstress","owner":"sbt","description":"Trust no-one, and especially not memory visibility.","archived":false,"fork":false,"pushed_at":"2021-12-09T22:09:52.000Z","size":248,"stargazers_count":19,"open_issues_count":8,"forks_count":6,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-24T14:44:35.123Z","etag":null,"topics":["concurrency","java","openjdk","sbt","scala","testing"],"latest_commit_sha":null,"homepage":"http://kto.so","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sbt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-08T19:38:18.000Z","updated_at":"2022-03-10T10:43:52.000Z","dependencies_parsed_at":"2022-09-23T02:22:22.192Z","dependency_job_id":null,"html_url":"https://github.com/sbt/sbt-jcstress","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbt%2Fsbt-jcstress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbt%2Fsbt-jcstress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbt%2Fsbt-jcstress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbt%2Fsbt-jcstress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sbt","download_url":"https://codeload.github.com/sbt/sbt-jcstress/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248256253,"owners_count":21073491,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["concurrency","java","openjdk","sbt","scala","testing"],"created_at":"2024-09-25T01:42:50.231Z","updated_at":"2025-04-10T16:52:23.722Z","avatar_url":"https://github.com/sbt.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sbt-jcstress\n\n[ ![Download](https://api.bintray.com/packages/ktosopl/sbt-plugins/sbt-jcstress/images/download.svg) ](https://bintray.com/ktosopl/sbt-plugins/sbt-jcstress/_latestVersion)\n\nThe Java Concurrency Stress tests (jcstress) is an experimental harness and a suite of tests to aid the research in the \ncorrectness of concurrency support in the JVM, class libraries, and hardware. \n\njcstress is part of OpenJDK: https://wiki.openjdk.java.net/display/CodeTools/jcstress\n\n**Sidenote:** jcstress is a *very* specialized tool, and unlike jmh (and sbt-jmh), \nit is rather unlikely you actually need it - unless you're implementing low level concurrency primitives.\n\nThe plugin is available for sbt 1.0.0.\n\n-----\n\nThe purpose of this plugin is to make it trivial to use jcstress with sbt.\n\nGet the latest via:\n\n```\n// project/plugins.sbt\naddSbtPlugin(\"pl.project13.scala\" % \"sbt-jcstress\" % pluginVersionHere)\n```\n\nand enable it:\n\n```\n// build.sbt\nenablePlugins(JCStressPlugin)\n```\n\nTo run all tests you can simply invoke:\n \n```\n \u003e jcstress:run\n```\n\nResults are then available in `results/index.html` and respective pages for each test.\n[Here's an example](http://htmlpreview.github.io/?https://github.com/ktoso/sbt-jcstress/blob/master/example-output/index.html) of how a failed spec would look like (modified example to make it fail):\n\n![failure summary table](example-output.png)\n\n\nContribute!\n-----------\nPlease note that this plugin is mostly developed on a \"on demand\" basis by and for myself, contributions are very (!) welcome \nsince I most likely will not focus much on it unless I need more features (and for now estimates and internal are all I needed).\n \n License\n -------\n \n Apache v2\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbt%2Fsbt-jcstress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbt%2Fsbt-jcstress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbt%2Fsbt-jcstress/lists"}