arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Author

Adam Welc

40 papers · 2004–2026

2004: 12005: 22006: 22007: 02008: 92009: 52010: 12011: 32012: 32013: 42014: 32015: 12016: 12017: 12018: 02019: 02020: 02021: 22022: 02023: 12024: 02025: 02026: 1
2004peak 9 in 20082026

Frequent co-authors

Papers

showing 1–25 of 40 RSS

Safe futures for Java

Adam Welc, Suresh Jagannathan, Antony L. Hosking

Computer Networks and Communications · ANU Open Research (Australian National University) · · cited 181× · DOI ↗ · more like this ·

A future is a simple and elegant abstraction that allows concurrency to be expressed often through a relatively small rewrite of a sequential program. In the absence of side-effects, futures serve as benign annotations that mark potentially concurrent regions of code. Unfortunately, when computation relies heavily on mutation as is the case in Java, its meaning is less clear, and much of its intended simplicity lost.This paper explores the definition and implementation of safe futures for Java. One can think of safe futures as truly transparent annotations on method calls, which designate opportunities for concurrency. Serial programs can be made concurrent simply by replacing standard method calls with future invocations. Most significantly, even though some parts of the program are executed concurrently and may indeed operate on shared data, the semblance of serial execution is…

Practical weak-atomicity semantics for java stm

Vijay Menon, Steven Balensiefer, Tatiana Shpeisman +4 more

Computer Networks and Communications · · cited 133× · DOI ↗ · more like this ·

As memory transactions have been proposed as a languagelevel replacement for locks, there is growing need for welldefined semantics. In contrast to database transactions, transaction memory (TM) semantics are complicated by the fact that programs may access the same memory locations both inside and outside transactions. Strongly atomic semantics, where non-transactional accesses are treated as implicit single-operation transactions, remain difficult to provide without specialized hardware support or significant performance overhead. As an alternative, many in the community have informally proposed that a single global lock semantics [18, 10], where transaction semantics are mapped to those of regions protected by a single global lock, provide an intuitive and efficiently implementable model for programmers. In this paper, we explore the implementation and performance implications of…

Irrevocable transactions and their applications

Adam Welc, Bratin Saha, Ali-Reza Adl-Tabatabai

Computer Networks and Communications · · cited 132× · DOI ↗ · more like this ·

Transactional memory (TM) provides a safer, more modular, and more scalable alternative to traditional lock-based synchronization. Implementing high performance TM systems has recently been an active area of research. However, current TM systems provide limited, if any, support for transactions executing irrevocable actions, such as I/O and system calls, whose side effects cannot in general be rolled back. This severely limits the ability of these systems to run commercial workloads.

Design and implementation of transactional constructs for C/C++

Yang Ni, Adam Welc, Ali-Reza Adl-Tabatabai +9 more

Computer Networks and Communications · · cited 127× · DOI ↗ · more like this ·

This paper presents a software transactional memory system that introduces first-class C++ language constructs for transactional programming. We describe new C++ language extensions, a production-quality optimizing C++ compiler that translates and optimizes these extensions, and a high-performance STM runtime library. The transactional language constructs support C++ language features including classes, inheritance, virtual functions, exception handling, and templates. The compiler automatically instruments the program for transactional execution and optimizes TM overheads. The runtime library implements multiple execution modes and implements a novel STM algorithm that supports both optimistic and pessimistic concurrency control. The runtime switches a transaction's execution mode dynamically to improve performance and to handle calls to precompiled functions and I/O libraries. We…

Kicking the tires of software transactional memory

Richard M. Yoo, Yang Ni, Adam Welc +3 more

Computer Networks and Communications · · cited 102× · DOI ↗ · more like this ·

Transactional Memory (TM) promises to simplify concurrent programming, which has been notoriously difficult but crucial in realizing the performance benefit of multi-core processors. Software Transaction Memory (STM), in particular, represents a body of important TM technologies since it provides a mechanism to run transactional programs when hardware TM support is not available, or when hardware TM resources are exhausted. Nonetheless, most previous researches on STMs were constrained to executing trivial, small-scale workloads. The assumption was that the same techniques applied to small-scale workloads could readily be applied to real-life, large-scale workloads. However, by executing several nontrivial workloads such as particle dynamics simulation and game physics engine on a state of the art STM, we noticed that this assumption does not hold. Specifically, we identified four major…

Safe nondeterminism in a deterministic-by-default parallel language

Robert L. Bocchino, Stephen Heumann, Nima Honarmand +4 more

Computer Networks and Communications · ACM SIGPLAN Notices · · cited 73× · DOI ↗ · more like this ·

A number of deterministic parallel programming models with strong safety guarantees are emerging, but similar support for nondeterministic algorithms, such as branch and bound search, remains an open question. We present a language together with a type and effect system that supports nondeterministic computations with a deterministic-by-default guarantee: nondeterminism must be explicitly requested via special parallel constructs (marked nd), and any deterministic construct that does not execute any nd construct has deterministic input-output behavior. Moreover, deterministic parallel constructs are always equivalent to a sequential composition of their constituent tasks, even if they enclose, or are enclosed by, nd constructs. Finally, in the execution of nd constructs, interference may occur only between pairs of accesses guarded by atomic statements, so there are no data races…

Improving virtual machine performance using a cross-run profile repository

Matthew Arnold, Adam Welc, V. T. Rajan

Hardware and Architecture · · cited 51× · DOI ↗ · more like this ·

Virtual machines for languages such as the Java programming language make extensive use of online profiling and dynamic optimization to improve program performance. But despite the important role that profiling plays in achieving high performance, current virtual machines discard a program's profile data at the end of execution, wasting the opportunity to use past knowledge to improve future performance. In this paper, we present a fully automated architecture for exploiting cross-run profile data in virtual machines. Our work addresses a number of challenges that previously limited the practicality of such an approach.We apply this architecture to address the problem of selective optimization, and describe our implementation in IBM's J9 Java virtual machine. Our results demonstrate substantial performance improvements on a broad suite of Java programs, with the average performance…

Single global lock semantics in a weakly atomic STM

Vijay Menon, Steven Balensiefer, Tatiana Shpeisman +4 more

Computer Networks and Communications · ACM SIGPLAN Notices · · cited 48× · DOI ↗ · more like this ·

As memory transactions have been proposed as a language-level replacement for locks, there is growing need for well-defined semantics. In contrast to database transactions, transaction memory (TM) semantics are complicated by the fact that programs may access the same memory locations both inside and outside transactions. Strongly atomic semantics, where non-transactional accesses are treated as implicit single-operation transactions, remain difficult to provide without specialized hardware support and/or significant performance overhead. As an alternative, many in the community have informally proposed that a single global lock semantics [16, 9], where transaction semantics are mapped to those of regions protected by a single global lock, provide an intuitive and efficiently implementable model for programmers. In this paper, we explore the implementation and performance implications…

xCalls

Haris Volos, Andres Jaan Tack, Neelam Goyal +2 more

Computer Networks and Communications · · cited 40× · DOI ↗ · more like this ·

Memory transactions, similar to database transactions, allow a programmer to focus on the logic of their program and let the system ensure that transactions are atomic and isolated. Thus, programs using transactions do not suffer from deadlock. However, when a transaction performs I/O or accesses kernel resources, the atomicity and isolation guarantees from the TM system do not apply to the kernel.

Optimizing R language execution via aggressive speculation

Lukas Stadler, Adam Welc, Christian Humer +1 more

Hardware and Architecture · · cited 31× · DOI ↗ · more like this ·

The R language, from the point of view of language design and implementation, is a unique combination of various programming language concepts. It has functional characteristics like lazy evaluation of arguments, but also allows expressions to have arbitrary side effects. Many runtime data structures, for example variable scopes and functions, are accessible and can be modified while a program executes. Several different object models allow for structured programming, but the object models can interact in surprising ways with each other and with the base operations of R.

Graph analysis

Adam Welc, Raghavan Raman, Zhe Wu +3 more

Computer Vision and Pattern Recognition · · cited 27× · DOI ↗ · more like this ·

The problem of efficiently analyzing graphs of various shapes and sizes has been recently enjoying an increased level of attention both in the academia and in the industry. This trend prompted creation of specialized graph databases that have been rapidly gaining popularity of late. In this paper we argue that there exist alternatives to graph databases, providing competitive or superior performance, that do not require replacement of the entire existing storage infrastructure by the companies wishing to deploy them.

Preemption-based avoidance of priority inversion for Java

Adam Welc, Antony L. Hosking, Suresh Jagannathan

Computer Networks and Communications · Proceedings of the International Conference on Parallel Processing · · cited 20× · DOI ↗ · more like this ·

Priority inversion occurs in concurrent programs when low-priority threads hold shared resources needed by some high-priority thread, causing them to block indefinitely. Shared resources are usually guarded by low-level synchronization primitives such as mutual-exclusion locks, semaphores, or monitors. There are two existing solutions to priority inversion. The first, establishing highlevel scheduling invariants over synchronization primitives to eliminate priority inversion a priori, is difficult in practice and undecidable in general. Alternatively, run-time avoidance mechanisms such as priority inheritance still force high-priority threads to wait until desired resources are released. We describe a novel compiler and run-time solution to the problem of priority inversion, along with experimental evaluation of its effectiveness. Our approach allows preemption of any thread holding a…

NePalTM

Haris Volos, Adam Welc, Ali-Reza Adl-Tabatabai +3 more

Computer Networks and Communications · · cited 18× · DOI ↗ · more like this ·

We present the programming model, design and implementation of NePalTM; a transactional memory system where atomic blocks can be used for concurrency control at an arbitrary level of nested parallelism.

Fast In-Memory Triangle Listing for Large Real-World Graphs

Martin Sevenich, Sungpack Hong, Adam Welc +1 more

Computer Vision and Pattern Recognition · · cited 16× · DOI ↗ · more like this ·

Triangle listing, or identifying all the triangles in an undirected graph, is a very important graph problem that serves as a building block of many other graph algorithms. The compute-intensive nature of the problem, however, necessitates an efficient method to solve this problem, especially for large real-world graphs. In this paper we propose a fast and precise in-memory solution for the triangle listing problem. Our solution includes fast common neighborhoods finding methods that consider power law degree distribution of real-word graphs. We prove how theoretic lower bound can be achieved by sorting the nodes in the graph by their degree and applying pruning. We explain how our techniques can be applied automatically by an optimizing DSL compiler. Our experiments show that hundreds of billions of triangles in a five billion edge graph can be enumerated in about a minute with a…

Reliability Engineering

Xabier Larrucea, Fabien Belmonte, Adam Welc +1 more

Software · IEEE Software · · cited 12× · DOI ↗ · more like this ·

Reliability engineering dates back to reliability studies in the 20th century; since then, various models have been defined and used. Software engineering plays a key role from several viewpoints, but the main concern is that we're moving toward a more connected world, including enterprises and mobile devices. The three articles in this special issue illustrate current trends in this domain.

Generic workers

Adam Welc, Richard L. Hudson, Tatiana Shpeisman +1 more

Computer Networks and Communications · · cited 8× · DOI ↗ · more like this ·

In this paper we introduce generic workers, a programming model for JavaScript unifying parallel and distributed computing paradigms, that allows the same application to run well on a variety of clients while utilizing the available resources in the best possible way. We describe the design and implementation of an infrastructure supporting our programming model and evaluate performance of selected applications running on devices with differing computational capabilities.

Early experiences in using a domain-specific language for large-scale graph analysis

Sungpack Hong, Jan Van Der Lugt, Adam Welc +2 more

Computer Vision and Pattern Recognition · · cited 7× · DOI ↗ · more like this ·

Large-scale graph analysis has recently been drawing lots of attention from both industry and academia. Although there are already several frameworks designed for scalable graph analysis, e.g. Giraph [1], all these frameworks adopt non-traditional programming models and APIs. This can significantly lower the productivity of the framework user. This paper discusses the feasibility of using an intuitive Domain-Specific Language (DSL) for graph analysis. Specifically, we use a compiler to translate Green-Marl [5] programs into an equivalent Giraph application, automatically bridging between very different programming models. We observe that the DSL programs are concise and intuitive, and that the compiler generated Giraph implementations exhibit performance on par with that of hand-written ones. However, the DSL compilation cannot but fail if the algorithm is fundamentally not compatible…

Revocation techniques for Java concurrency

Adam Welc, Suresh Jagannathan, Antony L. Hosking

Computer Networks and Communications · Concurrency and Computation Practice and Experience · · cited 7× · DOI ↗ · more like this ·

This paper proposes two approaches to managing concurrency in Java using a guarded region abstraction. Both approaches use revocation of such regions—the ability to undo their effects automatically and transparently. These new techniques alleviate many of the constraints that inhibit construction of transparently scalable and robust concurrent applications. The first solution, revocable monitors, augments existing mutual exclusion monitors with the ability to dynamically resolve priority inversion and deadlock, by reverting program execution to a consistent state when such situations are detected, while preserving Java semantics. The second technique, transactional monitors, extends the functionality of revocable monitors by implementing guarded regions as lightweight transactions that can be executed concurrently (or in parallel on multiprocessor platforms). The presentation includes…

Adaptive data parallelism for internet clients on heterogeneous platforms

Alessandro Pignotti, Adam Welc, Bernd Mathiske

Hardware and Architecture · Electronic Theses and Dissertations Repository (University of Pisa) · · cited 4× · DOI ↗ · more like this ·

Today's Internet is long past static web pages filled with HTML-formatted text sprinkled with an occasional image or animation. We have entered an era of Rich Internet Applications executed locally on Internet clients such as web browsers: games, physics engines, image rendering, photo editing, etc. Yet today's languages used to program Internet clients have limited ability to tap to the computational capabilities of the underlying, often heterogeneous, platforms. In this paper we present how a Domain Specific Language(DSL) can be integrated into ActionScript, one of the most popular scripting languages used to program Internet clients and a close cousin of JavaScript. We demonstrate how our DSL, called ASDP (ActionScript Data Parallel), can be used to enable data parallelism for existing sequential programs. We also present a prototype of a system where data parallel workloads can be…

Exceptions and transactions in C

Ali-Reza Adl-Tabatabai, Victor Luchangco, Virendra J. Marathe +7 more

Computer Networks and Communications · · cited 4× · OpenAlex ↗ · more like this ·

There has been significant discussion--and significant disagreement--on the issue of how exceptions should interact with atomic blocks implemented using transactions. We present a proposal that offers a significant contribution towards resolving this issue, at least for C++, and we raise remaining areas of disagreement for discussion at the workshop and in the community in general.

Automated code transformation for context propagation in Go

Adam Welc

Information Systems · · cited 3× · DOI ↗ · more like this ·

Microservices architecture, which is increasingly being adopted by large technology companies, can accelerate development and deployment of backend code by partitioning a monolithic infrastructure into independent components. At the same time, microservices often compose into massively distributed systems, where analyzing the behavior of an individual service may not be enough to diagnose a performance regression or find a point of failure. Instead, a more global view of the entire computation may be required, where some form of global context is used to trace relevant information flowing through the system.

Programming Languages

Laurence Tratt, Adam Welc

Computer Networks and Communications · IEEE Software · · cited 1× · DOI ↗ · more like this ·

The guest editors of IEEE Software magazine's September/October issue describe the field of programming languages and why they selected the articles highlighted here. The Web extra at http://youtu.be/SmIc0Chc9Y0 is an audio recording in which author IEEE Software Multimedia Editor Davide Falessi interviews Laurence Tratt and Adam Welc, guest editors of IEEE Software magazine's September/October 2014 issue, about the field of programming languages.

Proceedings of the 1st ACM SIGPLAN international workshop on Programming language and systems technologies for internet clients

Adam Welc, Michael Franz, Krzysztof Palacz

Information Systems · ACM conference on Systems, Programming, Languages and Applications: Software for Humanity · · cited 1× · OpenAlex ↗ · more like this ·

It is our pleasure to welcome you to the 1st ACM SIGPLAN International Workshop on Programming Language and Systems Technologies for Internet Clients (PLASTIC 2011). The focus of the workshop is both on innovative solutions in the area of Internet client software that improve on the current state-of-the-art, as well as on bold, new ideas that break with the current status quo. PLASTIC 2011 accepted 6 regular (long) papers and 2 position (short) papers from a variety of areas related to Internet client technologies, including Internet clients security as well as design, implementation and analysis of programming languages used to program Internet clients.

Last Diff Analyzer: Multi-language Automated Approver for Behavior-Preserving Code Revisions

Yuxin Wang, Adam Welc, Lazaro Clapp +1 more

Information Systems · · cited 0× · DOI ↗ · more like this ·

Code review is a crucial step in ensuring the quality and maintainability of software systems. However, this process can be time-consuming and resource-intensive, especially in large-scale projects where a significant number of code changes are submitted every day. Fortunately, not all code changes require human reviews, as some may only contain syntactic modifications that do not alter the behavior of the system, such as format changes, variable / function renamings, and constant extractions.

Optimistic Concurrency Control for Real-world Go Programs (Extended Version with Appendix)

Zhizhou Zhang, Milind Chabbi, Adam Welc +1 more

cs.DC · · cited 0× · arXiv ↗ · more like this ·

We present a source-to-source transformation framework, GOCC, that consumes lock-based pessimistic concurrency programs in the Go language and transforms them into optimistic concurrency programs that use Hardware Transactional Memory (HTM). The choice of the Go language is motivated by the fact that concurrency is a first-class citizen in Go, and it is widely used in Go programs. GOCC performs rich inter-procedural program analysis to detect and filter lock-protected regions and performs AST-level code transformation of the surrounding locks when profitable. Profitability is driven by both static analyses of critical sections and dynamic analysis via execution profiles. A custom HTM library, using perceptron, learns concurrency behavior and dynamically decides whether to use HTM in the rewritten lock/unlock points. Given the rich history of transactional memory research but its lack of…